On Sun, 27 Jun 2004 13:54:33 +0100
Chris Wilkinson <[EMAIL PROTECTED]> wrote:

> Hi there,
> 
> Nick Rout wrote:
> > On Sun, 2004-06-27 at 20:00, Chris Wilkinson wrote:
> > 
> >>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:
> > 
> > locate gimp|grep rpm 
> > 
> > should find it for you (if it is there).
> 
> Nothing there. /var/cache/urpmi/partial had part of an rpm that I had
> to cancel the install on due to having to free the phone line, but it
> hasn't cached any complete rpms...

if you run urpmi with --noclean it will keeop the rpms, which can take
up a lot of room. i am a hoarder and tend to keep stuff lying around,
then ditch it when my hard drive starts to fill up. you might want to
start doing this if you want top update the new box.


> 
> >>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
> 
> I might just have to lump it and do a manual copy across...there are
> hundreds of files in the package but thankfully only a few directories
> that they are all stored in! :-)

think laterally. use the output you already have from rpm -ql to build a
tar file

tar -cvzf qimp.tgz $(rpm -ql gimp)

gives you a nicely zipped tar file called gimp.tgz in your current
directory. copy that and untar it to the root directory on the other box.

> 
> > tell me where it is and I could download it for you.
> 
> I have yet to buy an old hard disk to put in the machine, but once
> I do I'll try the manual copy...I'll let you know how it goes...
> 
> Cheers.
> 

another point, i mentioned that you would not preserve run the scripts
that rpm would have executed on install, but you can find out what they
were by running the following on the old box (the one with gimp properly
installed via rpm)

rpm -q --scripts gimp

this will list any automatic scripts that rpm would run on before and
after any install (or uninstall) of gimp.

I still think this is a recipe for disaster as you will not have gimp
recorded in the rpm database, so it will never be automatically upgraded.

in fact you could have downloaded the rpm by now ;-)





> -- 
> Kind regards,
> 
> Chris Wilkinson, Christchurch, New Zealand.
> Canterbury Horse Taxis. http://www.horsetaxis.co.nz/
> 

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to