Category: Arch Linux

Replacement for 'yaourt' in Arch and derivatives
article #1281, updated 48 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.

https://itsfoss.com/best-aur-helpers/

Categories:      

==============

Fix Package Signing Key Issue in Arch Linux
article #517, updated 1801 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://keyserver.kjsl.com:80

Then update pacman:

pacman -Sy pacman

and resume what you were doing!

Categories:      

==============

rc.local in Arch Linux (systemd)
article #680, updated 1866 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 :-)

/etc/systemd/system/rc-local.service

[Unit]
Description=/etc/rc.local Compatibility

[Service]
Type=oneshot
ExecStart=/etc/rc.local
TimeoutSec=0
StandardInput=tty
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Categories: