Artix Linux Forum

Artix Linux => Package management => Topic started by: denilsod on 02 September 2022, 20:17:00

Title: [SOLVED] Invalid or corrupted package (PGP signature)
Post by: denilsod on 02 September 2022, 20:17:00
Hi Artix team,

I tried to update/upgrade the system but i am getting the following "Corrupted error".

Attached, please see detail picture.


Can someone please help me to fix this issue?

Thanks in advance !


Dee
Title: Re: Invalid or corrupted package (PGP signature)
Post by: rayburn on 02 September 2022, 20:58:40
Have you the universe repository enabled in your /etc/pacman.conf?

If not, refer to this:
https://wiki.artixlinux.org/Main/Repositories
Title: Re: Invalid or corrupted package (PGP signature)
Post by: denilsod on 02 September 2022, 21:44:59
Hi Rayburn,

I am still having the same issue after adding the repository mentioned to "pacman.conf" :

 [universe]
  Server = https://universe.artixlinux.org/$arch
  Server = https://mirror1.artixlinux.org/universe/$arch
  Server = https://mirror.pascalpuffke.de/artix-universe/$arch
  Server = https://artixlinux.qontinuum.space/artixlinux/universe/os/$arch
  Server = https://mirror1.cl.netactuate.com/artix/universe/$arch
  Server = https://ftp.crifo.org/artix-universe/


Any other possible solution available?




Title: Re: Invalid or corrupted package (PGP signature)
Post by: rayburn on 02 September 2022, 22:48:03
Possibly try:

pacman-key --refresh-keys
Title: Re: Invalid or corrupted package (PGP signature)
Post by: denilsod on 03 September 2022, 04:43:14
i also tried that...unfortunately is not working :'(

That was a lot of errors when refreshing the keys like the one below:

"gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key CF18A351C0705F: "Oscar Campos (Artix Master-Key) <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1"


Any other suggestions?

Title: Re: Invalid or corrupted package (PGP signature)
Post by: denilsod on 04 September 2022, 01:50:58
@Rayburn

The follow comand below worked for me  ;D

"pacman -Sy archlinux-keyring artix-keyring"
Title: Re: Invalid or corrupted package (PGP signature)
Post by: sotis on 04 September 2022, 15:50:18
@Rayburn

The follow comand below worked for me  ;D

"pacman -Sy archlinux-keyring artix-keyring"

Thanks for posting your fix. This also worked for me.
Title: Re: Invalid or corrupted package (PGP signature)
Post by: capezotte on 04 September 2022, 17:49:10
Remember to fully upgrade your systems (pacman -Syu) after performing these commands as partial upgrades are a common source of bugs/breakage (https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported).
Title: Re: Invalid or corrupted package (PGP signature)
Post by: rayburn on 05 September 2022, 08:47:58
@Rayburn

The follow comand below worked for me  ;D

"pacman -Sy archlinux-keyring artix-keyring"

Thanks! Glad you discovered the solution  :)