Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to install winswitch on CentOs 6. It requires 'nxagent'. But in centos, the package name is 'nx'. Is there a way to tell yum to skip checking the 'nxagent' dependency (i installed 'nx' already)? Specifying --skip-broken skips the whole thing

share|improve this question

3 Answers 3

up vote 5 down vote accepted

Generally yum dont have option to ignore single package from dep. Option --skip-broken ignore all unresolved dependences. You can try "yum --exclude=packagename" but it exclude a specific package by name or glob from updates on all repositories not from deps.

share|improve this answer
yum --exclude doesn't work on dependencies – DrStrangepork Feb 18 at 0:14
@DrStrangepork yes I know I wrote that in my answer – B14D3 Feb 18 at 6:38
Sorry, I can't undo my downvote. :( – DrStrangepork Feb 18 at 17:20
You can always upvote ;) @DrStrangepork – B14D3 Feb 19 at 10:01
I tried. "You last voted on this answer yesterday. Your vote is now locked in unless this answer is edited." Edit it and I will. – DrStrangepork Feb 19 at 13:56

This will install the package ignoring dependencies but automatically looking up the download URL from your repositories.

rpm -Uvh --nodeps `repoquery --location winswitch`

When updating, you can do the same command before doing a "yum update" so that winswitch will be properly updated.

share|improve this answer

Fire this command line then go to ZzZz

yum install -y *python* --exclude=samba --exclude=python-functest --exclude=python-libturpial --exclude=python-rest-client --exclude=python-twitter --skip-broken

share|improve this answer

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.