On Thu, 2006-08-31 at 13:03 -0300, Rodrigo Barbosa wrote: > -----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 ? > There is a "New Thing"(tm) in this update set :) (don't you just love new things :) If you install the new centos-release rpm, you should have a /etc/yum.repos.d/CentOS-Media.repo file If you then stick in a CentOS DVD (the CD's won't work as there is no mechanism to change them out), it will normally automount into either: /media/cdrom or /media/cdrecorder If it automounted, you can do this: yum --disablerepo=\* --enablerepo=c4-media update (if it did not automount, then do this first (based on which one you are using): mount /media/cdrom or mount /media/cdrecorder -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060831/0b253f5a/attachment-0005.sig>