SPECS: rollback - added note

Elan Ruusamäe glen at delfi.ee
Sun Apr 10 14:31:03 CEST 2005


On Sunday 10 April 2005 14:28, Bartosz Taudul wrote:
> On Sun, Apr 10, 2005 at 10:45:23AM +0200, glen wrote:
> > +# NOTE:
> > +# isn't this the same as:
> > +# $ sudo rpm --repackage -e PACKAGE
> > +# this uninstalls PACKAGE and puts backup in /var/spool/repackage
>
> It is, but as always, nobody listens.
actually, the rpm it produces has invalid md5 for package, and therefore it's
useless. rpm broken?

i guess it copies package md5 from rpmdatabase to resulting rpm, but as the
rpm is recreated that md5 is invalid and should be recalculated.

repackage # rpm -qpi nagios-2.0-0.b2.74.i686.rpm 
error: nagios-2.0-0.b2.74.i686.rpm: MD5 digest: BAD Expected(4ea8f72378562a780ff27d01a8911df5) != (2409bab9e465a029b51ee66aa2bbf73d)

-- 
glen




More information about the pld-devel-en mailing list