Bug#416127: apt-get download error during a network installation
Package: installation-reports
Boot method: network
Image version:
http://debian.cn99.com/debian/dists/etch/main/installer-i386/current/images/
netboot/mini.iso
Date: 2007-03-24
Machine: VMWare Workstation 5.5.3
Processor: Pentium M 1.7G
Memory: host:1280M guest:256M
Partitions:
Output of lspci -nn and lspci -vnn:
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [O]
Detect network card: [O]
Configure network: [O]
Detect CD: [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives: [O]
Install base system: [E]
Clock/timezone setup: [ ]
User/password setup: [ ]
Install tasks: [ ]
Install boot loader: [ ]
Overall install: [ ]
Comments/Problems:
My English is pool :)
When I use the mirror <http://debian.cn99.com/debian> (It's the fastest
mirror for me),
the apt-get always failed after successful downloaded a file, just like
this:
1: success
2: Server close connection
3: success
4: Server close connection
.....
So if I use this mirror to deal a network installation, it always
failed.
It seems that: apt-get try to get the next file immediately after the
previous file was
received. So if the http server closes TCP connections after transform a
file, apt-get will
receive a TCP FIN after sending out a HTTP/GET of the next file.
I think there are two schemes:
1. We can set a "retry" option for apt-get during installation.
2. Close TCP connection and reconnect for every file.
Reply to: