You are not logged in.
I am updating a machine I haven't used in months. over 1,500 packages. I was using aria2 as my Xfer command. all went well, until pacman told me an error had occurred. the error was do to the "external downloader" (I can't recall specific error).
I changed my pacman.conf to use the default method. I ran
pacman -Syu
again. I was then asked to import new keys. I did this, and pacman proceeded to fetch the remaining packages.
before the changes were committed, I was told a number of packages in the cache were corrupted, and would I like to remove them. I said, yes, to all.
at the end, I still get this error:
:: File /var/cache/pacman/pkg/wavemon-0.9.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
Last edited by shoelesshunter (2022-01-15 03:18:07)
Offline
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I deleted all .part files with find. I also ran
pacman -Scc
I still get
error: runc: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/runc-1.0.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
Offline
Do you want to delete it? [Y/n]
And?
Offline
I set
Siglevel = Never
in my pacman.conf
then I successfully updated. I did this when updating the 151 keys in the keyring hanged.
this is not ideal, but it works enough for now.
Offline
shoelesshunter wrote:Do you want to delete it? [Y/n]
And?
Yes, I deleted them, then it failed.
Offline
Did you try going into live-iso and reinstalling or updating the keyring?
Offline
right now thats not an option. I am in a rehab (tbh), and just got the laptop shipped here. I have no idea how long before I can buy a USB drive to make installation media.
Offline
Unfortunately I have very similar problem:
# pacman -Syyu
(...)
Packages (2) cups-filters-1.28.11-1 jack2-1.9.20-2
Total Installed Size: 4,79 MiB
Net Upgrade Size: -0,03 MiB
:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring [########################################################] 100%
downloading required keys...
:: Import PGP key 94657AB20F2A092B, "Andreas Radke <andyrtr@archlinux.org>"? [Y/n] y
:: Import PGP key 7258734B41C31549, "David Runge <dvzrv@archlinux.org>"? [Y/n] y
(2/2) checking package integrity [########################################################] 100%
error: cups-filters: signature from "Andreas Radke <andyrtr@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/cups-filters-1.28.11-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: jack2: signature from "David Runge <dvzrv@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/jack2-1.9.20-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
I've already installed archlinux-keyring 20220114-1.
I also did:
# pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: agent_genkey failed: No such file or directory
gpg: key generation failed: No such file or directory
gpg: Done
==> Updating trust database...
gpg: no need for a trustdb check
but I cannot identify the reason of the problems here: "No such file or directory".
What can I do in such a situation to solve the problem with keys?
Offline