Hi, I have a problem with my Os. When I try to update it with the commad
sudo pacman -Syu
I encounter this problem:
errore: ostree: la firma di “David Runge firstname.lastname@example.org” ha un’affidabilità marginale
:: Il file /var/cache/pacman/pkg/ostree-2022.5-1-x86_64.pkg.tar.zst è corrotto (il pacchetto non è valido oppure è corrotto (firma PGP)).
Vuoi eliminarlo? [S/n]
That translate in English could be:
error: ostree: the signature of “David Runge email@example.com” has a marginal reliability :: the file /var/cache/pacman/pkg/ostree-2022.5-1-x86_64.pkg.tar.zst could be corrupt (the package is not valid or it is corrupt (signature PGP)) Do you want to delete it?
I tried to answer yes and no to the same question but nothing change, How can I fix it?
in simple words, the PGP key was updated, but the key on your system was old, so the key comparison failed. the command from earlier updated the keys, so everything worked then.
the problem can be avoided or solved in different ways. if the keyring problem occurs, then use the above command or update with the welcome app, because it(welcome App) updates the keys before the packages are updated.