Re: deltarpm with old RPM packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2011-01-31 at 11:04 -0600, Paul B Schroeder wrote:
> 
> On 01/30/2011 02:35 PM, Jonathan Dieter wrote:
> > On Sun, 2011-01-30 at 12:21 -0600, Paul B Schroeder wrote:
> >> Hello all..
> >>
> >> We have some RPM packages which have been built on a system with RPM
> >> version 4.4.2.3 and are being installed on F14 based systems with
> >> 4.8.1..  We are creating the delta RPM packages on the F14 system with
> >> makedeltarpm 3.6.
> >>
> >> So package foo version 1 installs on the F14 systems just fine.  But
> >> when running applydeltarpm with the drpm created against foo version 2,
> >> we get "md5 mismatch of result" errors.
> >>
> >> I'm guessing this is an issue with the fact that the RPM packages are
> >> being built with an older version of RPM?  If that's the case, is there
> >> any way around this problem?
> >
> > Can you please provide a sample drpm, original rpm and target rpm
> Sure can..  Here they are: http://www.haywired.net/vbridges/
> 
> > (please put them on the web somewhere and provide links)?  What OS is
> > the system that you're using to build the RPMS?
> They are being built on Ubuntu 9.04..
> 
> Thanks for taking a look..Paul...

Ok, Just to explain what happens here.

User has foo-1.0.rpm
User downloads foo-1.0-1.1.drpm
When the user applies foo-1.0-1.1.drpm to foo-1.0.rpm, applydeltrpm
uncompressed foo-1.0, applies the deltarpm, and then recompresses the
new payload into a byte-for-byte copy of the original foo-1.1.rpm.

The problem you're running into is that the recompressed rpm doesn't
match original rpm because whatever compression format you're using has
changed slightly between Ubuntu 9.04 and Fedora 14.  We ran into the
same problem when we changed some of the xz settings when Fedora 13 was
in development, which meant we had to throw away all of our old
deltarpms.

In your case, deltarpms will only work as long as the original rpms are
generated on a similar enough system to the target to guarantee that the
compression format (xz, gzip, bzip2) hasn't changed.

For Fedora, we are currently using RHEL 5.5 builders with an updated
version of rpm and xz-libs to make sure this stays true.

I don't blame you for wanting to stick with deltarpms, though.  A 40kb
deltarpm is quite impressive when compared with a 15mb download. :)

Jonathan

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux