Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Yum question

I need to run a yum update, but I don't want to update everything.  There is one package I don't want to update.  Everything else I do.  How can I run the yum update command and skip that one program?  Thanks!
0
bran0923
Asked:
bran0923
  • 2
1 Solution
 
fosiul01Commented:
you will have to use exclude command with yum

like this

yum update --exclude=gnome-panel --exclude=evolution*
0
 
fosiul01Commented:
check this one here


http://www.cyberciti.biz/faq/redhat-centos-linux-yum-update-exclude-packages/

suppose if you want to update everything excpet kernel then type as folllows


yum --exclude=kernel* update

if you want to exclude php

yum --exclude=php* update
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now