Project

General

Profile

Feature #903

Ignore Specific Packages During Update on Arch Linux

Added by Daniel Curtis almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Workstation
Target version:
Start date:
07/02/2017
Due date:
% Done:

100%

Estimated time:
0.10 h
Spent time:

Description

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
    

Resources

Also available in: Atom PDF