Disable a yum repository while running yum update

Posted on Mon 09 January 2012 in misc

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

yum