Category: Arch Linux

Replacement for 'yaourt' in Arch and derivatives
article #1281, updated 109 days ago

The long default, yaourt, is no longer very available, and is not listed at all in the Arch software list of similar apps. yay appears very worthwhile.



Fix Package Signing Key Issue in Arch Linux
article #517, updated 1862 days ago

If you get that error in Arch Linux, pacman, saying that a package key is not verifiable, do this:

pacman -Sy archlinux-keyring

If it asks you to update pacman first, say no, then let it fail. Then, as root, saying Yes to every prompt:

cd /var/cache/pacman/pkg
pacman -U archlinux-keyring*
pacman-key --refresh-keys
pacman-key --populate archlinux

If you get a keyserver timeout, edit /etc/pacman.d/gnupg/gpg.conf and change the keyserver line to:

keyserver hkp://

Then update pacman:

pacman -Sy pacman

and resume what you were doing!



rc.local in Arch Linux (systemd)
article #680, updated 1926 days ago

/etc/rc.local no longer automatically exists in many Linuxes. This was a script run at boot before any user logins, after setup. If your Linux distro uses ‘systemd’, a relatively new boot system, this may be your situation; but the functionality is still useful in many special circumstances. If it’s yours, create a file named /etc/systemd/system/rc-local.service containing the below, and a new bash script called /etc/rc.local will run just as desired! Do be sure to set your new /etc/rc.local as executable, or you will regret it :-)


Description=/etc/rc.local Compatibility