You are not logged in.

#1 2024-08-08 20:02:20

buhtz
Member
Registered: 2022-08-24
Posts: 25
Website

Upgrade: untrusted keys and

Sorry, for also asking. I can find a lot of messages about this in the internet but none of the solutions (I tried and understood) worked for me. Beside of that I am not a regular Arch user but coming from Debian. I am just an upstream maintainer needing Arch doing tests.

Are run Arch on a VM only every couple of months. So the state of the system is often out of date.
The error message I do get is


$ sudo pacman -Sy archlinux-keyring && sudo pacman -Su
...
(602/602) checking package integrity               [#################] 100%
error: bash: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/bash-5.2.026-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
...
error: xiccd: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/xiccd-0.3.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

There are several "unknown trust" and "corrupted" messages like this.
Seems to doesn't matter if I answer Y or n.

I also know this commands, not sure what they are doing but also tried them.

$ sudo pacman-key --refresh-keys
$ sudo rm -R /etc/pacman.d/gnupg
$ sudo pacman-key --init
$ sudo pacman-key --populate archlinux

Member of upstream maintenance Teams of Back In Time

Offline

#2 2024-08-08 20:43:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,349

Re: Upgrade: untrusted keys and

It's much worse! I don't have mark@manjaro in my pacman keyring at all!!!

https://bbs.archlinux.org/misc.php?action=rules
Manjaro probably has an additional keyring package you need to pre-update.

Offline

#3 2024-08-09 05:50:42

buhtz
Member
Registered: 2022-08-24
Posts: 25
Website

Re: Upgrade: untrusted keys and

The same problem occurse when I try to install "manjaro-keyring".


Member of upstream maintenance Teams of Back In Time

Offline

#4 2024-08-09 07:46:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,349

Re: Upgrade: untrusted keys and

You got the part of the rules that says "manjaro isn't supported here"?

I've no idea what's wrong w/ that key, "pacman-key -l mark@manjaro" but if this is a matter of update frequency and you cannot update manjaro-keyring directly, update it gradually and since you reset the keyring for whatever reason, “sudo pacman-key –populate manjaro” might be required as well.

Offline

Board footer

Powered by FluxBB