Yum upgrade centos question

I'm going to upgrade cent06.2 to 6.3, but I have a question. IF I do yum upgrade, would it go on update everything from repository or can I just use one repository to update  rather than   yum  update,  can I use yum update and provide the repository name?
mokkanAsked:
Who is Participating?
 
farzanjCommented:
If for any reason --disablerepo=\* doesn't work, you can try "*" instead of \*
0
 
farzanjCommented:
To specify repository you can mention
--disablerepo=\* and --enablerepo=name_of_repo

OR

You can go to /etc/yum.repos.d folder and for each repo file, you can mention enable=0 except the one you want.
0
 
mokkanAuthor Commented:
Thank you very much guys.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
farzanjCommented:
Glad to help :)
0
 
mokkanAuthor Commented:
I created the profile and put it in /etc/yum.repos.d  , but when I do yum repolist all, it is not showing. Do I need to do anything?
0
 
mokkanAuthor Commented:
got it, my mistake
0
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.