Package: libcupt-perl
Version: 1.2.1
Severity: normal
I recently added non-free to my sources.list, and cupt bombs out when it
attempts to update non-free from security.debian.org. Limited test-case
shown below. I've tested with 1.3.0 and seen similar results.
$ cat /etc/apt/sources.list
deb http://security.debian.org/ squeeze/updates non-free
deb-src http://security.debian.org/ squeeze/updates non-free
$ sudo cupt update -o debug::downloader=1
D: download worker process started
D: accepted new connection
D: download request: 'http://security.debian.org/dists/squeeze/updates/Release'
D: processing download
'http://security.debian.org/dists/squeeze/updates/Release'
D: starting download 'http://security.debian.org/dists/squeeze/updates/Release'
Get:1 http://security.debian.org squeeze/updates Release
0% [1 squeeze/updates Release 0B]
| 0B/s | ETA: 0sD: accepted new connection
D: download request: 'http://security.debian.org/dists/squeeze/updates/Release'
D: processing download
'http://security.debian.org/dists/squeeze/updates/Release'
D: pushed 'http://security.debian.org/dists/squeeze/updates/Release'
to pending queue
100% [1 squeeze/updates Release 36.8KiB/36.8KiB 100%]
|
9431B/s | ETA: 0sD: preliminary download result:
'http://security.debian.org/dists/squeeze/updates/Release':
D: accepted new connection
D: final download result:
'http://security.debian.org/dists/squeeze/updates/Release':
D: started checking pending queue
D: final download result for duplicated request:
'http://security.debian.org/dists/squeeze/updates/Release':
D: finished checking pending queue
100%
|
9501B/s | ETA: 0sD: eof has been reported
D: download request:
'http://security.debian.org/dists/squeeze/updates/Release.gpg'
D: processing download
'http://security.debian.org/dists/squeeze/updates/Release.gpg'
D: starting download
'http://security.debian.org/dists/squeeze/updates/Release.gpg'
D: accepted new connection
Get:2 http://security.debian.org squeeze/updates Release.gpg
100% [2 squeeze/updates Release.gpg 0B]
|
9609B/s | ETA: 0sD: download request:
'http://security.debian.org/dists/squeeze/updates/Release.gpg'
D: processing download
'http://security.debian.org/dists/squeeze/updates/Release.gpg'
D: pushed 'http://security.debian.org/dists/squeeze/updates/Release.gpg'
to pending queue
98% [2 squeeze/updates Release.gpg 0B/835B 0%]
|
9536B/s | ETA: 0sD: preliminary download result:
'http://security.debian.org/dists/squeeze/updates/Release.gpg':
D: accepted new connection
D: final download result:
'http://security.debian.org/dists/squeeze/updates/Release.gpg':
D: started checking pending queue
D: final download result for duplicated request:
'http://security.debian.org/dists/squeeze/updates/Release.gpg':
D: finished checking pending queue
100%
|
9760B/s | ETA: 0sD: eof has been reported
D: download request:
'http://security.debian.org/dists/squeeze/updates/non-free/binary-i386/Packages'
D: processing download
'http://security.debian.org/dists/squeeze/updates/non-free/binary-i386/Packages'
D: starting download
'http://security.debian.org/dists/squeeze/updates/non-free/binary-i386/Packages'
D: accepted new connection
Get:3 http://security.debian.org squeeze/updates/non-free Packages
[0B]
E: read from socket failed: Connection reset by peer
Illegal division by zero at
/usr/share/perl5/Cupt/Download/Progresses/Console.pm line 132.
at /usr/share/perl5/Cupt/Download/Progresses/Console.pm line 130
Cupt::Download::Progresses::Console::hook('Cupt::Download::Progresses::Console=HASH(0x84b03e0)',
'ping', 1) called at /usr/share/perl5/Cupt/Download/Progress.pm line
227
Cupt::Download::Progress::progress('Cupt::Download::Progresses::Console=HASH(0x84b03e0)',
'http://security.debian.org/dists/squeeze/updates/non-free/bin...',
'start', 0) called at /usr/share/perl5/Cupt/Download/Manager.pm line
292
Cupt::Download::Manager::_worker('Cupt::Download::Manager=ARRAY(0x8a91ab8)')
called at /usr/share/perl5/Cupt/Download/Manager.pm line 127
Cupt::Download::Manager::new('Cupt::Download::Manager',
'Cupt::Config=ARRAY(0x81f6968)',
'Cupt::Download::Progresses::Console=HASH(0x84b03e0)') called at
/usr/share/perl5/Cupt/System/Worker.pm line 1782
Cupt::System::Worker::update_release_and_index_data('Cupt::System::Worker=ARRAY(0x8a84a88)',
'Cupt::Download::Progresses::Console=HASH(0x84b03e0)') called at
/usr/bin/cupt line 1708
main::update_release_data() called at /usr/bin/cupt line 143
eval {...} called at /usr/bin/cupt line 142
main::main() called at /usr/bin/cupt line 157
(in cleanup) Filehandle GEN1 opened only for input at
/usr/share/per