debmirror's rsync method does not download all available updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debmirror (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debmirror
After the recent upgrade to debmirror 1:2.4.4ubuntu1, apt-get dist-upgrades off of my local mirror were failing due to packages being unavailable (i.e. 404 errors). Looking over my debmirror cronjob output, the "want ..." output lines added by the patch drop-redundant-
want pool/main/
want pool/main/
want pool/main/
want pool/main/
want pool/main/
[...]
this also would cause it to run past the maximum number of wanted packages if the number of wanted packages was even:
[...]
want pool/main/
want pool/main/
want pool/main/
want pool/main/
want pool/main/
[...]
The problem is the patch adds an $i++ but $i is already getting incremented in the test against $max_batch. Converting the latter test to not increment appears to fix both the odd output and the missing package downloads.
This bug was fixed in the package debmirror - 1:2.4.4ubuntu2
---------------
debmirror (1:2.4.4ubuntu2) lucid; urgency=low
* drop-redundant- rsync.patch: fix index double-increment (LP: #560826)
-- Steve Beattie <email address hidden> Sun, 11 Apr 2010 10:02:11 -0700