Take the 2-minute tour ×
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

1 Answer 1

up vote 3 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

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.