-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wesley J Landaker wrote:
> On Monday 17 March 2003 5:35 pm, Pascal wrote:
>
>># urpmsave --dir ~/rpmsavedir  myrpmname
>>(before updating glibc and crashing all the system :)  )
>>creates a tgz of all files installed by the rpm in the specify
>>directory so that u can restore them in case of emergency
>
>
> This would be handy if it would have options for restoring backed up
> rpms made in this fashion and handled doing smart things with the urpm
> database.
>
> A simple implementation isn't too hard, though:
>
> #!/bin/sh
> rpm -ql myrpmname | xargs tar cvfj ~/rpmsavedir/myrpmname.tar.bz2
>

No need.

'rpm --repackage' works on upgrade, erase and (apparently) intall.

Having urpmi support this would be cool ...

Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+dvTyrJK6UGDSBKcRAq43AJ0S2JD+T3KluUoHoKwn9H2Mo3DDewCggWb4
lqGbpGRDd4FsFdkCmR3Bqhg=
=zyv3
-----END PGP SIGNATURE-----


Reply via email to