upgrading RH 9 system->Fedora with iso files and apt only

Didier Casse didierbe at sps.nus.edu.sg
Mon Nov 24 06:59:51 UTC 2003


On 21/11/03, at  14:51 +0200, Panu Matilainen <pmatilai at welho.com>  babbled:

> On Fri, 21 Nov 2003, bishop wrote:
> 
> > Klaasjan,
> > 
> > Do you have the time to write out a mini-howto on that?  I have a 
> > feeling that your instruction can help a few people following in your 
> > footsteps, and who may not have the opportunity to figure out a working 
> > solution by themselves.
> > 
> > Me, I need one that can reliably do it from 5000km away.  It'll be 
> > loop-mounted ISOs, apt-get and similar craziness, I think.  Or I need to 
> > book a flight.  8-)  Either way, I'm not the target audience, but I'm 
> > close.  ACME at cl says that CL can do it with just apt-get, and that's 
> > incredibly interesting.
> 
> Ok, since you need a remote upgrade then apt/yum/up2date is needed. For
> apt you basically need to create a local repository of the RPMS. Suppose
> you have the iso's mounted in /mnt/yarrow1, /mnt/yarrow2 and /mnt/yarrow3, 
> I'd probably do it somewhat like this (watch out for typos and thinkos, I 
> wrote this from top of my head so not tested.. ):
> mkdir -p /var/tmp/fedora/RPMS.core
> cd /var/tmp/fedora/RPMS.core
> ln -s /mnt/yarrow1/Fedora/RPMS/* .
> ln -s /mnt/yarrow2/Fedora/RPMS/* .
> ln -s /mnt/yarrow3/Fedora/RPMS/* .
> genbasedir --bloat /var/tmp/fedora
> 
> The add that to your sources.list: "file://var/tmp fedora core"
Must be a typo error from you. I think that the correct expression is:

-----------------------------
rpm file:/var/tmp fedora core 
-----------------------------



With kind regards,

Didier

---
PhD student

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: slsbdfc at nus dot edu dot sg \or\ 
didierbe at sps dot nus dot edu dot sg
Website: http://ssls.nus.edu.sg








More information about the devel mailing list