1

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?

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

1 Answer 1

1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .