Yum-presto (deltarpms) ready for testing.

Jonathan Dieter jdieter at gmail.com
Mon Mar 26 18:51:44 UTC 2007


On Mon, 2007-03-26 at 19:59 +0200, Leszek Matok wrote:
> Dnia 26-03-2007, pon o godzinie 20:43 +0300, Jonathan Dieter napisał(a):
> > The second time your ran it,
> > it realized there was a problem and downloaded the full rpm.
> Can't it restart the process or simply download the full rpm at the same
> time it sees an unusable drpm, then proceed with the update as planned?
> 
> > I would really love to know if you've done anything with lucidlife,
> > changed any files before upgrading to the latest version?  It would help
> > me work out why we hit this error in the first place.
> No, I haven't even run it for half a year or so. Also, rpm -V doesn't
> report anything.
> 
> Could it be that the drpm was being uploaded/generated that very moment
> I was trying to download it? Of course that would mean the metadata was
> uploaded/generated earlier than actual drpms, but who knows?
> 
> Lam
Okay, I've finally tracked down where it all went wrong.  When Presto
wasn't running applydeltarpm with on-disk MD5 checking.  It was only
checking file sizes.  So if a file got one byte changed, it wouldn't
catch that the patch wouldn't apply any more.  I've fixed this so it
does a full (slow) MD5 check when it finds an applicable DRPM in 0.2.9.

Please, please let me know if anyone hits the "Error rebuilding at least
one deltarpm." error.  It shouldn't happen anymore, but I'd like to know
if it does.

Jonathan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070326/8c30b1dc/attachment.sig>


More information about the fedora-devel-list mailing list