Monday 9 January 2012

Disable a yum repository while running yum update

I wanted to run all updates from the RHEL repositories, but not the rpmforge and WAN Disco ones. Easy.

sudo yum check-update --disablerepo=rpmforge --disablerepo=WANdisco-dev

No comments:

Post a Comment