[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum functions



On Sun, 2006-10-22 at 22:33 -0500, Mike Chambers wrote:
> On Mon, 2006-10-23 at 01:12 +0200, Thomas Springer wrote:
> 
> > Ahem, this didn't worked for you ???
> > 
> > $ yum --version
> > 2.6.1 
> > $ sudo yum --disablerepo=\* \
> >            --enablerepo=development,extras-development \
> >            list fedora-release
> 
> Well, that might work with disable/enable repo, but what about exclude?
> I had tried with both one,two and one, two and neither worked, only
> could have one.
> 
As someone else noted, and I have tested.
'yum --disablerepo={repo1,repo2,...} --exclude={package1,package2,...}
list'
works for me.
Note the braces that cause bash to expand the list.  What is above
without the braces will only use the first listed repo or package.

> -- 
> Mike Chambers
> Madisonville, KY
> 
> "Sex is like air, it's not important unless your not getting any!"
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]