Skip to content

Commit

Permalink
fix: populate pacman-keys to fix this error
Browse files Browse the repository at this point in the history
File /var/cache/pacman/pkg/tldr-3.3.0-1-any.pkg.tar.zst is corrupted
(invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] error: tldr: signature from "Brett Cornwall <brett@i--b.com>" is unknown trust
error: wl-clipboard: signature from "Brett Cornwall <brett@i--b.com>" is unknown trust
error: failed to commit transaction (invalid or corrupted package)

:: File /var/cache/pacman/pkg/wl-clipboard-1:2.2.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
  • Loading branch information
renner0e committed Jul 16, 2024
1 parent 5b4e675 commit 07aff0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FROM quay.io/toolbx/arch-toolbox AS arch-distrobox
RUN sed -i 's/#Color/Color/g' /etc/pacman.conf && \
printf "[multilib]\nInclude = /etc/pacman.d/mirrorlist\n" | tee -a /etc/pacman.conf && \
sed -i 's/#MAKEFLAGS="-j2"/MAKEFLAGS="-j$(nproc)"/g' /etc/makepkg.conf && \
pacman-key --init && pacman-key --populate && \
pacman -Syu --noconfirm && \
pacman -S \
wget \
Expand Down

0 comments on commit 07aff0e

Please sign in to comment.