How not to update a package in Arch Linux

This section is for our team to post helpful articles. Let us know if you'd like to contribute!
arifur
Site Admin
Posts: 108
Joined: Tue Nov 15, 2011 5:12 pm

How not to update a package in Arch Linux

Post by arifur » Thu May 24, 2018 5:22 am

To ignore a package from being upgraded, you need to add it to IgnorePkg or members of IgnoreGroup in the pacman.conf file

Edit pacman.conf

Code: Select all

sudo nano /etc/pacman.conf
Now uncomment the #IgnorePkg = by removing the # from the start of the line. Now add the names of the packages you do not want to update.

Code: Select all

IgnorePkg = firefox thunderbird vlc gedit
You can add multiple package names one after the another like shown above.

Ignore Group Update
To ignore a group of packages from updating, you need to add the group name in the IgnoreGroup line
Example:

Code: Select all

IgnoreGroup = plasma-desktop
The above example will ignore the whole plasma group from updates.

Return to “Linux Howtos”

Who is online

Users browsing this forum: No registered users and 1 guest