Solved

Yum upgrade centos question

Posted on 2013-01-22
6
452 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 62
Linux "time" command output redirection 16 114
Error installing extension Linux 4 58
VirtualBox in Fedora 25 Linux:  Unable to Install OS 11 138
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 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

21 Experts available now in Live!

Get 1:1 Help Now