Nick Rout wrote:
> On Sun, 2004-06-27 at 20:00, Chris Wilkinson wrote:
> > Hi there,
> >
> > I'm setting up my old computer (Duron 1100) with Mandrake 10.0
> > official, so that I can sell it. I also wish to go to town on
> > setting it up, with the best software so that the new owner is
> > gonna get the best intro to linux! I hope to LAN all those apps
> > across from my new computer, since most apps I've downloaded the
> > rpm or source manually. Gimp 2.0 however came from contrib using
> > rpmdrake, so there is no single rpm file to transfer...
>
> does rpmdrake not keep the rpm's on the computer? so checj that it has
> not been cached in some obscure directory. something like:

It may have been kept not sure what the default is for MDK 10. If it was it'll 
be in /var/cache/urpmi/ in either the rpms or partial sub-directory.

> > My question is this...can I build an rpm from an already-installed
> > software package?
>
> not really, not in any easy way anyway. binary rpm's are built from
> source rpms
>
> > If I could I would be able to just copy Gimp 2.0
> > across the LAN to the old PC,

Another option is to do a min install on the machine your intending to sell, 
just samba and command line and then on the other machine mount the drive for 
the one your going to sell and do.

cp 
-rf /root* /usr/* /bin/* /sbin/* /var/* /etc/* /opt/* /lib/* /mnt/networkdrive

Then reboot the machine your selling or do init 1 followed by init 5.
Your'd probably want to run lilo again before rebooting. On reboot harddrake 
would run and deal with the hardware changes.

I'm not sure how well this would work but think it could be done sucessfully 
giving you pretty much a clone of your other system. Your'd have to fiddle 
with a few thing to finish the system. Removing any software you don't want 
installed adding some new user deleting any old ones that copied over etc.


Chad

Reply via email to