DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Disable Certain Package Updates Using YUM in CentOS


Get the Exclusion List

# yum update

yum list all updates, choose which you don't want update.

Update without some packages

In command line

# yum --exclude=firefox\* --exclude=thunderbird\* update

or:

# yum -x 'firefox*' -x 'thunderbird*' update

Disable them permanently

Add the following line into /etc/yum.conf:

exclude=firefox* thunderbird*

Ref:

  1. Disable Certain Package Updates using YUM in RHEL / CentOS / Fedora

  2. RHEL/CentOS: yum Update All Packages Except the Linux Kernel

  3. Force yum update Command To Exclude Certain Packages



Published

Apr 10, 2014

Last Updated

Apr 10, 2014

Category

Tech

Tags

  • CentOS 25
  • update 4
  • yum 2

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor