-----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-----
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-0002.sig>
On Aug 31, 2006, at 12:19, Johnny Hughes wrote:> 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),Couldn't you copy the contents of all 4 CDs to a local drive and then edit the config file to point to that location?> it will normally automount into either: > > /media/cdrom > > or > > /media/cdrecorder > > If it automounted, you can do this:And if it's not automounted, how do you go about fixing things so that CDs/DVDs do get automounted? I have that problem currently on my CentOS 4.3 (soon to be updated to 4.4) system. Alfred