Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.