Incompatiblity with Compress::Zlib

Bug #157362 reported by vroetman
2
Affects Status Importance Assigned to Milestone
debmirror (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: debmirror

On upgrade to Gutsy, it broke debmirror. In fact, on execution it deletes everything in the destination repository when using --cleanup

The problem is line on 793 of the Parse Packages and Sources files section:
local $/="\n\n";
which seems to be in conflict with Compress::Zlib's gzreadline()
The current version of gzreadline does not ignore $/ but the previous version did.
Thus gzreadline reads in a whole block at a time rather than a line at a time, but the code is written to deal with a line at a time.

Deleting this line solves the problem.

Here is the debmirror command I was using:

debmirror --host="server" --user="anonymous" --root="/ubuntu" --method="ftp" --dist="gutsy,gutsy-updates,gutsy-backports,gutsy-security" --section="main,restricted,universe,multiverse" --arch="i386" --nosource --cleanup --verbose --ignore-release-gpg ubuntu

Related branches

vroetman (vroetman)
description: updated
Revision history for this message
Kees Cook (kees) wrote :

debmirror (20070123ubuntu1) hardy; urgency=low

  * Patched to handle changes to Compress::Zlib gzreadline symantics
    (LP: #157362).
  * Update documentation to detail the correct keyring to use (LP: #90546).

 -- Kees Cook <email address hidden> Mon, 12 Nov 2007 14:10:57 -0800

Changed in debmirror:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.