Centos: How to update only one repo via yum

Hi all,

I have a few repos installed, but need to update only one repository, because other return some dependency errors.

what is a syntax to run yum only for a selected repo?

Who is Participating?
matt_cConnect With a Mentor Commented:
To enable a specific repo use:
 yum --disablerepo=* --enablerepo=$RepoNameHere install $Package

where $RepoNameHere is your repo name
and $Package is your package to install

You can temp remove the .repo file from your yum.repos.d directory or edit the the repo file(s) in question and disable it.

Try yumex if you need GUI.
andy7789Author Commented:
i have never seen yumex for centos 5 64 bits- only for centos 4
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.