yum functions
Jeff Vian
jvian10 at charter.net
Tue Oct 24 00:51:20 UTC 2006
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!"
>
More information about the fedora-test-list
mailing list