[CentOS] more than one repo with --disablerepo

Rodrigo Barbosa rodrigob at suespammers.org
Thu Apr 13 00:01:52 UTC 2006


-----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 at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEPZTwpdyWzQ5b5ckRAvb3AJ4sgyK7XvndwCu7hljUODs3JYWpdQCfUdgZ
pGP13Nl5WRYJYIpcEZZi2WI=
=geJJ
-----END PGP SIGNATURE-----



More information about the CentOS mailing list