2007-10-26 08:55:36 |
vroetman |
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 conflicts with Compress::Zlib's gzreadline()
The current version of gzreadline does not ignore $/ but the previous version did.
Thus debmirror reads in a while block at a time rather than 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 |
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 |
|