debmirror counts to >100% when downloading Contents-$ARCH.gz files

Bug #249698 reported by KarlGoetz
2
Affects Status Importance Assigned to Milestone
debmirror (Debian)
New
Unknown
debmirror (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: debmirror

When using debmirror with the contents downloads enabled, counting of the Contents files starts at 100% and goes up (i have had > 130%).
Perhaps when that option is in use, the counts should be done differently, so counts always max at 100%

Get Release files.
[0%] Getting: dists/hardy/Release... ok
[0%] Getting: dists/hardy/Release.gpg... ok
[0%] Getting: dists/hardy-updates/Release... ok
[0%] Getting: dists/hardy-updates/Release.gpg... ok
[0%] Getting: dists/hardy-security/Release... ok
[0%] Getting: dists/hardy-security/Release.gpg... ok
[0%] Getting: dists/hardy-backports/Release... ok
[0%] Getting: dists/hardy-backports/Release.gpg... ok
Get Packages and Sources files and other miscellany.
Get Contents files.
[100%] Getting: dists/hardy/Contents-i386.gz... ok
[114%] Getting: dists/hardy/Contents-amd64.gz... ok
[127%] Getting: dists/hardy-updates/Contents-i386.gz... ok
[128%] Getting: dists/hardy-updates/Contents-amd64.gz... ok
[130%] Getting: dists/hardy-security/Contents-i386.gz... ok
[131%] Getting: dists/hardy-security/Contents-amd64.gz... ok
[132%] Getting: dists/hardy-backports/Contents-i386.gz... ok
[132%] Getting: dists/hardy-backports/Contents-amd64.gz... ok
Parse Packages and Sources files and add to the file list everything therein.

Revision history for this message
KarlGoetz (kgoetz) wrote :

Although i dont have a paste handy (i'll do one later) i've also noticed packages counting to > 100% as well, when Contents-$ARCH.gz is enabled.

Revision history for this message
KarlGoetz (kgoetz) wrote :
Download full text (9.9 KiB)

If i may be so rude as to confirm this, Here is output with *packages* being counted to > 100% as well as Contents-$ARCH.gz files.

kgoetz@wesnoth:/home/hardydcd/srv/ubuntu-cd$ ./ubuntuMirror.sh
Mirroring to ubuntu-mirror from http://mirror.internode.on.net/pub/ubuntu/ubuntu/
Arches: i386,amd64
Dists: hardy,hardy-updates,hardy-security,hardy-backports
Sections: main,main/debian-installer,universe,restricted,multiverse
Including source.
Pdiff mode: use.
Attempting to get lock, this might take 2 minutes before it fails.
Get Release files.
[0%] Getting: dists/hardy/Release... ok
[0%] Getting: dists/hardy/Release.gpg... ok
[0%] Getting: dists/hardy-updates/Release... ok
[0%] Getting: dists/hardy-updates/Release.gpg... ok
[0%] Getting: dists/hardy-security/Release... ok
[0%] Getting: dists/hardy-security/Release.gpg... ok
[0%] Getting: dists/hardy-backports/Release... ok
[0%] Getting: dists/hardy-backports/Release.gpg... ok
Get Packages and Sources files and other miscellany.
dists/hardy-updates/multiverse/binary-i386/Packages.gz needs fetch
[ 97%] Getting: dists/hardy-updates/multiverse/binary-i386/Packages.gz... ok
dists/hardy-updates/multiverse/binary-amd64/Packages.gz needs fetch
[ 97%] Getting: dists/hardy-updates/multiverse/binary-amd64/Packages.gz... ok
dists/hardy-updates/multiverse/source/Sources.gz needs fetch
[ 98%] Getting: dists/hardy-updates/multiverse/source/Sources.gz... ok
Get Contents files.
[100%] Getting: dists/hardy/Contents-i386.gz... ok
[114%] Getting: dists/hardy/Contents-amd64.gz... ok
[127%] Getting: dists/hardy-updates/Contents-i386.gz... ok
[128%] Getting: dists/hardy-updates/Contents-amd64.gz... ok
[130%] Getting: dists/hardy-security/Contents-i386.gz... ok
[131%] Getting: dists/hardy-security/Contents-amd64.gz... ok
[132%] Getting: dists/hardy-backports/Contents-i386.gz... ok
[132%] Getting: dists/hardy-backports/Contents-amd64.gz... ok
Parse Packages and Sources files and add to the file list everything therein.
Cleanup mirror.
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/nvidia-glx-legacy-dev-envy_71.86.04+2.6.24.501-501.30_amd64.deb
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/nvidia-glx-dev-envy_96.43.05+2.6.24.501-501.30_i386.deb
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/fglrx-control-envy_8-4+2.6.24.501-501.30_amd64.deb
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/fglrx-amdcccle-envy_2.6.24.501-501.30_i386.deb
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/fglrx-control-envy_8-4+2.6.24.501-501.30_i386.deb
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/linux-restricted-modules-envy-2.6.24_2.6.24.501.orig.tar.gz
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/nvidia-glx-new-envy_173.14.05+2.6.24.501-501.30_i386.deb
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/nvidia-legacy-kernel-source-envy_71.86.04+2.6.24.501-501.30_amd64.deb
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/fglrx-kernel-source-envy_8-4+2.6.24.501-501.30_i386.deb
deleting pool/multiverse/l/linux-restricted-modules-envy-2.6.24/xorg-driver-fgl...

Changed in debmirror:
status: New → Confirmed
Revision history for this message
KarlGoetz (kgoetz) wrote :

Adding an upstream watch. its not directly related to this ticket, but the problem is mentioned in that report.

"The current output with -v gives a "percent done" kind of progress
report after each file. There is no indication if that is based on
number of files or amount of data or something else. I don't know if
it still happens, but it also used to go over 100%. Because of all
this uncertainty, and because there is no way to see how long it
has been running already, the user has no way to estimate how long
things are still going to go on."

thanks,
kk

Changed in debmirror (Debian):
status: Unknown → New
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.