Contents files are not listed with checksums
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson | ||
debmirror (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debmirror
debmirror 1:2.4.4ubuntu2 from lucid lynx appears to ignore --getcontents.
debmirror's --getcontents option appears to do nothing. --diff=
I did some troubleshooting, and found that even forcing add_bytes in the if ($getcontents) block appears to be ignored.
---snip including my added debug output--
Get Packages and Sources files and other miscellany.
dists/dapper/
dists/dapper/
dists/dapper-
dists/dapper-
dists/dapper-
dists/dapper-
dists/dapper-
dists/dapper-
dists/dapper-
dists/dapper-
dists/hardy/
dists/hardy/
dists/hardy-
dists/hardy-
dists/hardy-
dists/hardy-
dists/hardy-
dists/hardy-
dists/hardy-
dists/hardy-
dists/lucid/
dists/lucid/
dists/lucid-
dists/lucid-
dists/lucid-
dists/lucid-
dists/lucid-
dists/lucid-
dists/lucid-
dists/lucid-
Parse Packages and Sources files and add to the file list everything therein.
Download all files that we need to get (0 B).
--snip--
Related branches
- William Grant (community): Approve (code)
-
Diff: 292 lines (+98/-25)6 files modifiedlib/lp/archivepublisher/publishing.py (+8/-2)
lib/lp/archivepublisher/scripts/publish_ftpmaster.py (+24/-12)
lib/lp/archivepublisher/scripts/publishdistro.py (+19/-6)
lib/lp/archivepublisher/tests/test_generate_contents_files.py (+17/-3)
lib/lp/archivepublisher/tests/test_publish_ftpmaster.py (+2/-1)
lib/lp/archivepublisher/tests/test_publisher.py (+28/-1)
Changed in debmirror (Ubuntu): | |
status: | New → Confirmed |
Changed in debmirror (Ubuntu): | |
status: | Confirmed → New |
summary: |
- debmirror ignores --getcontents + Contents files are not listed with checksums |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in launchpad: | |
importance: | Critical → Low |
tags: | added: soyuz-publish |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
I can confirm that this bug is still present in 11.10.
After running debmirror with --getcontents I get:
sudo apt-file update files/packages/ ubuntu/ dists/oneiric/ Contents- amd64.gz' : No such file or directory files/packages/ ubuntu/ dists/oneiric- updates/ Contents- amd64.gz' : No such file or directory files/packages/ ubuntu/ dists/oneiric- security/ Contents- amd64.gz' : No such file or directory
cp: cannot stat `//home/
cp: cannot stat `//home/
cp: cannot stat `//home/