Solved

Yum upgrade centos question

Posted on 2013-01-22
6
455 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

773 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