Solved

Centos: How to update only one repo via yum

Posted on 2008-10-16
3
693 Views
Last Modified: 2008-10-17
Hi all,

I have a few repos installed, but need to update only one repository, because other return some dependency errors.

what is a syntax to run yum only for a selected repo?

Thanks
0
Comment
Question by:andy7789
3 Comments
 
LVL 6

Expert Comment

by:dathho
Comment Utility
You can temp remove the .repo file from your yum.repos.d directory or edit the the repo file(s) in question and disable it.


Try yumex if you need GUI.
0
 

Author Comment

by:andy7789
Comment Utility
i have never seen yumex for centos 5 64 bits- only for centos 4
0
 
LVL 1

Accepted Solution

by:
matt_c earned 500 total points
Comment Utility
To enable a specific repo use:
 yum --disablerepo=* --enablerepo=$RepoNameHere install $Package

where $RepoNameHere is your repo name
and $Package is your package to install

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

762 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

15 Experts available now in Live!

Get 1:1 Help Now