Can't do a full system upgrade
When I run the command for a system upgrade, it gives me this error
error: cabextract: key "Alad Wenter <alad@archlinux.org>" is disabled
:: File /var/cache/pacman/pkg/cabextract-1.9-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
It doesn't matter if i choose yes or no, it just gives me the "failed to commit transaction" error
What can I do?
About this post
- Posted
- Archived
- Score
- 17 · 100% up
- Kind
- Text
- ID
- adn1rn
23 comments
Kind of tired of 'see sticky'. It requires going through 3 pages to find the relevant info, why not post the damn solution for people?
Solution:
Kind of late to the show, but for me it says "Key not changed so no update needed." after the save command. It also says before the gpg prompt: "expired: 2019-03-29". Is this a different issue?
Sorry if I'm late too, but I found the solution in case you or anyone needs it.
Remove or rename the
/etc/pacman.d/gnupgfolder to reset all the keys, then runpacman-key --initas indicated in https://wiki.archlinux.org/index.php/Pacman/Package_signing#Resetting_all_the_keys.
After that run
pacman-key --populate archlinuxand finallypacman-key --refresh-keys
This of course, like I stated previously, remove all your keys so be aware of that.
Perfect! I thought there was something wrong with the package.
Because this is the arch way and you must suffer. /s
Thanks for posting here :)
Thank you!
Update
pacman-keyringfirst, thenpacman -SyuEdit: FYI:
And see sticky
Finally back to breaking some installs
also fyi the comon man was sarcasm. i know people get stick about this stuff lol. im just looking for a work around to get my system upgraded and came across your comment lol
I've been having the same issue since this morning, deleting the package from /var/cache/pacman/pkg results in the same error, and I've made sure my keyring is up to date. It's only happening with "cabextract-1.9-1-x86_64.pkg.tar.xz", I have also tried different mirrors. Perhaps there's something obvious I'm missing. Edit: I checked via sha256sum as /u/moviuro did, and my checksum matches theirs, now I'm really confused.
See sticky
Ah, thanks.
Delete the file and try again. It seems to be corrupted and that's why this isn't working.
See sticky
Solution: https://bbs.archlinux.org/viewtopic.php?pid=1825212#p1825212
Thank you so much.
Thank you man, I was having this exact same problem, but it's working now! Should've come here sooner hahaha
archlinux-keyring must be updated first:
sudo pacman -Sysudo pacman -S archlinux-keyringsudo pacman -Su