# 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

and/or better what we use on IBM AIX 'installp' package manager:

# urpmi --apply myrpm
(which will save replaced files to some urpmi specific save directory and 
apply the new myrpm version to the system)

# urpmi --commit myrpm
(which will commit the apply, ie remove the saved files from the apply, once 
the new version is sufficiently tested)

# urpmi --reject myrpm_qualified_name_and_version
(which will uninstall files from the version applied specified and restore 
files from the previous version saved from the corresponding apply)

I wonder if this enh is really for urpmi or just rpm ...

-- 
Pascal 
__________________________________________________________________
Running  1:06,  4 users,  load average: 0.27, 0.23, 0.27
(gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk))
Kernel Linux version 2.4.21-0.13mdkenterprise

Attachment: pgp00000.pgp
Description: signature

Reply via email to