Ignore Specific Packages During Update on Arch Linux
While performing upgrades on one of my Arch boxes, I found it rather annoying I couldn't exclude a single package (eagle) from the list while upgrading using yaourt, since I like using the --noconfirm option to automate the ugrades. Luckily pacman has the ability to ignore packages an groups during its upgrading process.
- Edit the pacman config file:
sudo nano /etc/pacman.conf
- Look for the line beginning with "
#IgnorePkg =". Uncomment it and add the name of the packages to ignore:
IgnorePkg = eagle
- Now update the packages:
PKGEXT=".pkg.tar" yaourt -Syua --noconfirm