Project

General

Profile

Update fails due to iceweasel and your-freedom

Avron - about 2 years ago -

I have the following errors when trying to update:

(117/117) checking package integrity                                                  [##################################################] 100%
error: iceweasel: signature from "bill-auger <bill-auger@peers.community>" is unknown trust
:: File /var/cache/pacman/pkg/iceweasel-1:98.0-1.parabola7-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: your-freedom: signature from "bill-auger <bill-auger@peers.community>" is unknown trust
:: File /var/cache/pacman/pkg/your-freedom-20220404-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Not sure whether it is a problem on my computer.

I am not familiar with gpg, I notice that "gpg --list-keys" gives empty output. I haven't tried that ever before so not sure whether it is a problem or not.


Replies (5)

RE: Update fails due to iceweasel and your-freedom - ryry - about 2 years ago -

Hi Avron

I find this happens to from time to time.
If you do sudo pacman -Syy ,

then sudo pacaman -S parabola-kerying and yes to the install,

Even though you have installed it, it should install the latest updated version before you start the full system upgrade again by doing sudo pacman -Syu. This should prevent you from seeing the error you mentioned. Sometimes using sudo pacman-key --refresh-keys can solve the issue, but sometimes it is to do with the new update to the parabola-kerying package happening at the same time as the upgrades that I presume are dependent on some signature or part of it etc I think.

Hope this helps

Ryan

RE: Update fails due to iceweasel and your-freedom - bill-auger - about 2 years ago -

the packaging keys are not handled by GPG directly - the `pacman-key` command wraps GPG for pacman's purposes - it accepts many of the same command line options as `gpg` - in this case, the command you wanted is:

to list all trusted packaging keys:

$ pacman-key --list-keys

or to list keys of all parabola team members:
$ pacman-key --list-keys parabola

or to list one person's key:
$ pacman-key --list-keys bill-auger

RE: Update fails due to iceweasel and your-freedom - gap - about 2 years ago -

If you have signature-related issues preventing an upgrade, try this first:
sudo pacman -Syy archlinux-keyring archlinux32-keyring archlinuxarm-keyring parabola-keyring
pacman-key --refresh-keys

If this fails, try this, although it will delete your local cache so you will have to redownload all updates again:
sudo pacman -Scc
sudo pacman -Syy archlinux-keyring archlinux32-keyring archlinuxarm-keyring parabola-keyring
sudo pacman-key --init
sudo pacman-key --populate archlinux archlinux32 archlinuxarm parabola
sudo pacman-key --refresh-keys

I recently had an issue where I had to temporarily switch pacman over to the i686 repos, and install the archlinux32-keyring-transition package.
After installing it, I switched back to the x86_64 repos, and pacman offered to replace the package with the usual x86_64/archlinux32-keyring package.

RE: Update fails due to iceweasel and your-freedom - Avron - about 2 years ago -

Thanks, to you and to all for the explanations.

I ran as root:
pacman -Syy archlinux-keyring archlinux32-keyring archlinuxarm-keyring parabola-keyring
pacman-key --refresh-keys

Afterwards, the update worked.

The refresh key resulted in a lot of error messages but I haven't recorded them. Next time, I'll do so and try to learn about these messages.

RE: Update fails due to iceweasel and your-freedom - bill-auger - almost 2 years ago -

those were probably not error messages - refreshing keys is always noisy/verbose

    (1-5/5)