What's the correct syntax for something like the following: yum check-update --disablerepo=dag ivazquez Extras Misc this runs "dead" and doesn't do a check-update. Use kommas? Something else? man just tells to use glob exp, but what about multiple repo's? Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com
Ignacio Vazquez-Abrams
2006-Apr-12 17:39 UTC
[CentOS] more than one repo with --disablerepo
On Wed, 2006-04-12 at 19:31 +0200, Kai Schaetzl wrote:> What's the correct syntax for something like the following: > > yum check-update --disablerepo=dag ivazquez Extras Misc > > this runs "dead" and doesn't do a check-update. Use kommas? Something > else? man just tells to use glob exp, but what about multiple repo's?yum --disablerepo=dag --disablerepo=ivazquez ... check-update There's a patch in newer versions of yum that lets you comma-separate them, but I don't believe it's in CentOS yet. -- Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> http://centos.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060412/f409b437/attachment-0001.sig>
--- Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> wrote:> On Wed, 2006-04-12 at 19:31 +0200, Kai Schaetzl > wrote: > > What's the correct syntax for something like the > following: > > > > yum check-update --disablerepo=dag ivazquez Extras > Misc > > > > this runs "dead" and doesn't do a check-update. > Use kommas? Something > > else? man just tells to use glob exp, but what > about multiple repo's? > > yum --disablerepo=dag --disablerepo=ivazquez ... > check-update > > There's a patch in newer versions of yum that lets > you comma-separate > them, but I don't believe it's in CentOS yet. > > -- > Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> > http://centos.ivazquez.net/ > > gpg --keyserver hkp://subkeys.pgp.net --recv-key > 38028b72 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >What about the yum protect base plugins? See http://lists.centos.org/pipermail/centos/2006-April/063282.html __________________________________________________ Improve the mailing list by performing a simple search before posting and reading the FAQ/etiquette. Protect the integrity of your installation with the yum plugins. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Ignacio Vazquez-Abrams wrote on Wed, 12 Apr 2006 13:39:56 -0400:> yum --disablerepo=dag --disablerepo=ivazquez ... check-updateAh, ok, thanks! Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com
Rodrigo Barbosa wrote:> > Another interesting trick I use all the time: > > yum --disablerepo=* --enablerepo=dag install XXXX > > That way, all repos will be disabled, and only the one explicitily > listed will be used.What I would love to find a way to do is this: yum --disablerepo=* --enablerepo=csgfs update ...and still allow yum to use the base and update repos to satisfy dependencies. What I did instead was this: yum --disablerepo=* --enablerepo=csgfs check-update I then grabbed the list, extracted the package names and fed them back to "yum update". The idea was that I wanted to update the csgfs packages and the required kernel (and other) packages, but I wanted to hold off on the rest of the 4.3 updates. -- Bowie
Johnny Hughes wrote:> On Thu, 2006-04-13 at 11:04 -0400, Bowie Bailey wrote: > > > > What I would love to find a way to do is this: > > > > yum --disablerepo=* --enablerepo=csgfs update > > ...and still allow yum to use the base and update repos to satisfy > > dependencies. > > > > What I did instead was this: > > > > yum --disablerepo=* --enablerepo=csgfs check-update > > > > I then grabbed the list, extracted the package names and fed them back > > to "yum update". > > > > The idea was that I wanted to update the csgfs packages and the > > required kernel (and other) packages, but I wanted to hold off on the > > rest of the 4.3 updates. > > yum --disablerepo=* --enablerepo=csgfs --enablerepo=base--enablerepo=updates update I don't think that does what I want. The only packages I want to update are the ones from the csgfs repo and whatever else is needed to fill the requirements of those packages. I don't want to update all the packages from base and updates, just the ones that are needed to update csgfs. -- Bowie