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
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@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@ivazquez.net http://centos.ivazquez.net/
gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
CentOS mailing list CentOS@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-update
Ah, ok, thanks!
Kai
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, Apr 13, 2006 at 12:31:18AM +0200, Kai Schaetzl wrote:
Ignacio Vazquez-Abrams wrote on Wed, 12 Apr 2006 13:39:56 -0400:
yum --disablerepo=dag --disablerepo=ivazquez ... check-update
Ah, ok, thanks!
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.
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
Rodrigo Barbosa wrote on Wed, 12 Apr 2006 21:01:52 -0300:
yum --disablerepo=* --enablerepo=dag install XXXX
That way, all repos will be disabled, and only the one explicitily listed will be used.
another good trick, that's good for getting a new install from a certain repo, thanks! Nevertheless, to be safe with updating I better install those plugins and follow the instructions for enabling "protect base", I know I have stored them somewhere ...
Kai