Solved

Centos: How to update only one repo via yum

Posted on 2008-10-16
3
721 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Expert Comment

by:dathho
ID: 22735852
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
ID: 22736069
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
ID: 22738541
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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.:
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.

710 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