hatLe mar 18/03/2003 � 11:29, Buchan Milne a �crit : > -----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 ...
Great feature I wasn't aware of :-) Yes, it can be done that way. Fran�ois.
