Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When using yum and executing yum upgrade, the shell will automatically upgrade all packages that are eligible for upgrade. If I come across a particular package that I do not need or want upgraded, is it possible to tell yum to skip that package and continue to the next?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The manpage of Yum has this option listed -

-x, --exclude=package

Exclude a specific package by name or glob from updates on all repositories. Configuration Option: exclude

Use it with update or upgrade. That should work.

share|improve this answer
    
I'm more referring to after the upgrade is in progress. for example, if I need discover that the command is upgrading openoffice, but I decide I want to skip it without cancelling all of the upgrades. and starting over. –  ewok Feb 17 '12 at 13:57
    
I think that's not possible. You can update selective package with wildcard(*) or skip the packages you want before starting the process with the -x option. –  Bibhas Feb 17 '12 at 14:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.