Incompatiblity with Compress::Zlib
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=
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