0

Is there a way to run

yum update --skip-broken

Such that only missing packages from one repository are skipped? As a third party that distributes RPM packages we would like our broken packages to not hold back a yum update, but we don't want to adversely affect mainline CentOS's yum behavior?

  • Couldn't you just use ... disablerepo=<that one repo> ... ? – Jeff Schaller Jul 14 at 16:14
0

One solution, is to run the third party repo out of cycle.

  1. Mark the third party repo as disabled. Then it won't run in yum update.
  2. Update that repo with yum update --skip-broken --disablerepo="*" --enablerepo="myRepo".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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