Disable Yum Repository during update

Sometimes you may find error about yum not able to find the repository for some packages during updates. To prevent yum from reading that repository, you can give following command when you want to update. Yum will bypass those repositories that you disable using the –disablerepo switch. A repository can also give this error, if it is not available on the internet.

# yum –disablerepo=rpmfusion-nonfree-updates update