Pourquoi ce logiciel
J'en ai eu besoin, je n'ai rien trouvé sur la toile, alors je l'ai écrit ...
en fait la commande rpm fournit un embryon d'outils, mais remarquablement peu verbeux :
vérification
la commande rpm est rpm -V
, mais elle ne montre pas les différences :
rpm -V rpm
.....UG. c /var/lib/rpm/Basenames
.....UG. c /var/lib/rpm/Conflictname
.....UG. c /var/lib/rpm/Dirnames
.....UG. c /var/lib/rpm/Filemd5s
.....UG. c /var/lib/rpm/Group
.....UG. c /var/lib/rpm/Installtid
.....UG. c /var/lib/rpm/Name
.....UG. c /var/lib/rpm/Packages
.....UG. c /var/lib/rpm/Providename
.....UG. c /var/lib/rpm/Provideversion
.....UG. c /var/lib/rpm/Requirename
.....UG. c /var/lib/rpm/Requireversion
.....UG. c /var/lib/rpm/Sha1header
.....UG. c /var/lib/rpm/Sigmd5
.....UG. c /var/lib/rpm/Triggername
rpmrestore.pl -u -n -p rpm
/var/lib/rpm/Basenames user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Conflictname user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Dirnames user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Filemd5s user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Group user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Installtid user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Name user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Packages user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Providename user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Provideversion user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Requirename user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Requireversion user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Sha1header user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Sigmd5 user orig 37 (rpm) current 0 (root)
/var/lib/rpm/Triggername user orig 37 (rpm) current 0 (root)
modification
la commande rpm est
rpm --setugids/--setperms
: tout où rien !
rpmrestore a un mode interactif, un système de log/rollback. Example :
rpmrestore -u -p rpm -l log
retour à la page principale