I know how to do it on Red Hat based systems.
yum –disablerepo=* --enablerepo=epel update
The above command will temporarily disable all repos and enable epel and update only epel packages.
This will also disable two repos while updating all other enable repos.
What is the equivalent of the above on ubuntu for instance ?
I know we can comment out the repo in the
But this will permanently disable the repo right?
Is there a way that I can run
apt-get update while temporarily disable one repo for instance?