[CentOS] Yum choosing remote repositories first

Thu Aug 31 16:03:49 UTC 2006
Rodrigo Barbosa <rodrigob at darkover.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Okey, here is something interesting.

So I finished downloading all CentOS 4.4 images (CDs and DVD) before
anything else. Now I have the dvd iso mounted (-o loop), and changed
CentOS-Base.repo so the [base] repo will point to it.

# yum update

Boom! Yum tries to use the [update] repository (not local) to upgrade
to 4.4.

What I ended up doing is:

# yum --disablerepo=* --enablerepo=base update

Which, of course, works fine and uses my local (file://) repository.

Is this the only way to do it, or did I miss something ?

[]s

- -- 
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

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

iD8DBQFE9whlpdyWzQ5b5ckRAu7XAJ9Xn6q0D2P4oOTBw+hwPZLrx4CV8QCghcUH
on6Yc6YILDprCWVX5tZ3Vs4=
=ynf5
-----END PGP SIGNATURE-----