Artix Linux Forum

General Category => Discussion about Artix => Topic started by: notaninja on 15 January 2020, 02:30:37

Title: error:failed to commit transaction (invalid or corrupted package (PGP signature)
Post by: notaninja on 15 January 2020, 02:30:37
" error: failed to commit transaction (invalid or corrupted package (PGP signature)) "

Total newb here, arrived at Artix after looking for a lightweight Windows alternative with no systemd.

Getting above error  when trying to update or upgrade ... anything. Not finding anything in the forums of this nature, so making a new post.

Started by trying to install a GUI for Pacman e.g. Pamac but yaourt deprecated and yay gets same error. I tried searching for a solution elsewhere, but the ArchLinux wiki just doesn't make sense to me *gasp* and other solutions lead me in an error loop with the same result, quoted above ^

If you want to see an example of my clumsy attempts, please see attached text file.
Title: Re: error:failed to commit transaction (invalid or corrupted package (PGP signature)
Post by: nous on 15 January 2020, 12:28:39
This is a fairly common error in pacman-based distributions and easily fixable too.

https://wiki.artixlinux.org/Main/Troubleshooting#Invalid_or_corrupted_packages_.28PGP_signature.29

The --force pacman option has been deprecated recently, remove it or replace it with --overwrite (if needed).
Title: Re: error:failed to commit transaction (invalid or corrupted package (PGP signature)
Post by: picokan on 09 February 2020, 16:28:18
I'll add to this and say the steps in that troubleshooting guide fixed this problem for me.