06-21-2023, 05:52 PM
Hey all, I'm more of a Debian/BSD kid so the software update process was a little arcane to me. I'm sure most people here don't need to know this, but I thought I'd write it down to save anyone else like me the trouble of looking it up.
Arch based distros use a package manager called pacman. It's both capable and flexible, but like many such tools, it's requires a bit of setup. If you get the error:
for every package, your system needs to have its PGP keyring populated. You can do that with the following commands:
You should be able to update normally after that.
Arch based distros use a package manager called pacman. It's both capable and flexible, but like many such tools, it's requires a bit of setup. If you get the error:
Code:
:: File /var/cache/pacman/pkg/somepackage.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
for every package, your system needs to have its PGP keyring populated. You can do that with the following commands:
Code:
sudo pacman-key --populate
sudo pacman-key --refresh-keys
You should be able to update normally after that.