Solved

Yum upgrade centos question

Posted on 2013-01-22
6
450 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
Comment Utility
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
Comment Utility
If for any reason --disablerepo=\* doesn't work, you can try "*" instead of \*
0
 

Author Closing Comment

by:mokkan
Comment Utility
Thank you very much guys.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 31

Expert Comment

by:farzanj
Comment Utility
Glad to help :)
0
 

Author Comment

by:mokkan
Comment Utility
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
Comment Utility
got it, my mistake
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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" …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now