Duplicate sources.list entries can result in corrupted downloads
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Low
|
Michael Vogt |
Bug Description
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:1 http://
Hit http://
Get:2 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:3 http://
Hit http://
Get:4 http://
Hit http://
Hit http://
Hit http://
99% [Working]
gzip: stdin: not in gzip format
Err http://
Sub-process gzip returned an error code (1)
99% [4 Sources gzip 0]
gzip: stdin: not in gzip format
Err http://
Sub-process gzip returned an error code (1)
Fetched 172kB in 1s (104kB/s)
Failed to fetch
http://
gzip returned an error code (1)
Failed to fetch
http://
Sub-process gzip returned an error code (1)
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old ones used
instead.
Will attach strace output.
The most interesting thing is that when stracing using this line:
sudo strace -f -o /tmp/update.trace -s 2048 apt-get update
If I strace enough times, and then remove from partial whatever list fails and
then update again (but only when using strace) it eventually downloads the lists
correctly and no longer errors out.
Changed in apt: | |
assignee: | mdz → mvo |
Created an attachment (id=107)
strace output