Artix Linux Forum

Artix Linux => Package management => Topic started by: kenny_w on 21 July 2022, 01:00:01

Title: Failed to commit transaction
Post by: kenny_w on 21 July 2022, 01:00:01
Hey guys, what do I do about this? I forget. I've tried sudo pacman -Syyu a few times but its not working. I tried sudo pacman-key --refresh-keys too, libtg_owt won't update either, same error.

Code: [Select]
error: telegram-desktop: signature from "Jiachen YANG (Arch Linux Packager Signing Key) <[email protected]>" is marginal trust
:: File /var/cache/pacman/pkg/telegram-desktop-4.0.2-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
Title: Re: Failed to commit transaction
Post by: kenny_w on 21 July 2022, 01:17:49
Wheres the archlinux-keyring package? Its gone...
Title: Re: Failed to commit transaction
Post by: cat herders of linux on 21 July 2022, 03:17:12
artix keyring was just updated  archlinux requires artix-archlinux-support
Title: Re: Failed to commit transaction
Post by: Lancia on 21 July 2022, 08:27:18
Ok so I fixed the problem.

For those of you who have installed archlinux-keyring before it was moved to universe, you have to enable the universe repos (https://wiki.artixlinux.org/Main/Repositories#Universe) and update archlinux-keyring from there for the problem to be fixed.
Title: Re: Failed to commit transaction
Post by: kenny_w on 21 July 2022, 17:49:33
artix keyring was just updated  archlinux requires artix-archlinux-support
I'm not seeing that package.
Title: Re: Failed to commit transaction
Post by: kenny_w on 21 July 2022, 17:52:03
Ok so I fixed the problem.

For those of you who have installed archlinux-keyring before it was moved to universe, you have to enable the universe repos (https://wiki.artixlinux.org/Main/Repositories#Universe) and update archlinux-keyring from there for the problem to be fixed.
can you please break down what I have to do command by command? I'm a little intimidated by that link. I'm a novice still...

edit: I figured it out, I had to add [universe] and Server = to the pacman.conf