[CentOS] Yum choosing remote repositories first

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----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-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux