Nov 24, 2024
Archlinux Ignore a package
How to tell the system to not upgrade a package on Archlinux
119 Words
2024-11-24 12:09 +0100
If like me you need to tell the system to not upgrade a package in any case. Here is what to do, edit the /etc/pacman.conf and add your package to the ignore package list.
sudo nano /etc/pacman.conf
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = intel-compute-runtime
#IgnoreGroup =
For multiple packages use space as a separator and multiple lines if needed.
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = intel-compute-runtime linux-lts
IgnorePkg = libpng
#IgnoreGroup =
It is also possible to ignore a group of packages using IgnoreGroup.
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
# IgnorePkg =
IgnoreGroup = gnome libreoffice-still