Solved

Yum upgrade centos question

Posted on 2013-01-22
6
461 Views
Last Modified: 2013-01-22
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?
0
Comment
Question by:mokkan
  • 3
  • 3
6 Comments
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 500 total points
ID: 38806686
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
 
LVL 31

Accepted Solution

by:
farzanj earned 500 total points
ID: 38806715
If for any reason --disablerepo=\* doesn't work, you can try "*" instead of \*
0
 

Author Closing Comment

by:mokkan
ID: 38806763
Thank you very much guys.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 31

Expert Comment

by:farzanj
ID: 38806778
Glad to help :)
0
 

Author Comment

by:mokkan
ID: 38806862
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
 

Author Comment

by:mokkan
ID: 38806865
got it, my mistake
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question