yum functions

Jeff Vian jvian10 at charter.net
Tue Oct 24 00:55:45 UTC 2006


On Mon, 2006-10-23 at 11:42 +0200, Tim Lauridsen wrote:
> 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 you already have found out the ',' only works with --enablerepo and
> --disablerepo.
> 
Within yum you are correct, however using the {} syntax with bash causes
it to be expanded before yum sees it so that problem is overcome.

> Tim
> -- 
> fedora-test-list mailing list
> fedora-test-list at redhat.com
> To unsubscribe: 
> https://www.redhat.com/mailman/listinfo/fedora-test-list




More information about the fedora-test-list mailing list