yum update/install from a specific repo

Ed Greshko Ed.Greshko at greshko.com
Thu Jul 17 14:37:25 UTC 2008


PK wrote:

> hmm close enough. But still not what I was hoping for. the above 
> approach sure works but I would have to know all the repo names. It 
> might be easy for jus a couple of repos, But what if I have 10 other 
> custom repos . I do not want to specify each of them with disablerepo 
> jus to get updates from a specific one. Was hoping for something simple 
> like "yum --repo=blah update" and this gets the updates only from repo 
> blah and ignores the rest.

I'm sure you've discovered that, upon reading the yum manpage, that your 
hoped for option doesn't exist.  You do, however, have access to the source 
code for yum so you could make it do as you please...  :-)




More information about the users mailing list