Not only does apt fetch packages with the same source package twice, it
seems to fetch every package from every source that has the latest
version!

<snip>
Reading Package Lists... Done
Building Dependency Tree... Done
19 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 17.1MB of archives. After unpacking 110kB will be freed.
Do you want to continue? [Y/n] 
Get:1 ftp://ftp.nl.uu.net unstable/main tetex-bin 1.0.7+20000807-8 [2871kB]
Err ftp://ftp.nl.uu.net unstable/main tetex-bin 1.0.7+20000807-8
  Unable to fetch file, server said 
'/pub/linux/debian/pool/main/t/tetex-bin/tetex-bin_1.0.7+20000807-8_i386.deb: 
No such file or directory  '
Get:2 ftp://ftp.nl.uu.net unstable/main libqt2.2 2:2.2.4-5 [1888kB]
Get:3 http://ftp.uk.debian.org unstable/main tetex-bin 1.0.7+20000807-8 [2871kB]
Get:4 ftp://ftp.nl.uu.net unstable/main libc6 2.2.2-1 [3236kB]
Get:5 ftp://ftp.nl.uu.net unstable/main modutils 2.4.2-1 [175kB]                
                   
Get:6 ftp://ftp.nl.uu.net unstable/main bin86 0.15.4-1 [80.0kB]                 
                   
Get:7 ftp://ftp.nl.uu.net unstable/main libc6-dev 2.2.2-1 [2282kB]              
                   
Get:8 ftp://ftp.nl.uu.net unstable/main libkpathsea3 1.0.7+20000807-8 [33.9kB]  
                   
Get:9 ftp://ftp.nl.uu.net unstable/main locales 2.2.2-1 [2966kB]                
                   
Get:10 ftp://ftp.nl.uu.net unstable/main telnet 0.17-8 [69.8kB]                 
                   
Get:11 ftp://ftp.nl.uu.net unstable/main debhelper 3.0.6 [179kB]                
                   
Get:12 ftp://ftp.nl.uu.net unstable/main fetchmail 5.6.6-2 [397kB]              
                   
Get:13 ftp://ftp.nl.uu.net unstable/main glibc-doc 2.2.2-1 [2477kB]             
                   
Get:14 ftp://ftp.nl.uu.net unstable/main knews 1.0b.1-3 [217kB]                 
                   
Get:15 ftp://ftp.nl.uu.net unstable/main liblcms 1.07-1 [52.7kB]                
                   
Get:16 ftp://ftp.nl.uu.net unstable/main libtimedate-perl 1.10-3 [25.8kB]       
                   
Get:17 ftp://ftp.nl.uu.net unstable/main rwho 0.17-2 [12.7kB]                   
                   
Get:18 ftp://ftp.nl.uu.net unstable/main rwhod 0.17-2 [17.0kB]                  
                   
Get:19 ftp://ftp.nl.uu.net unstable/main xmailbox 2.5-8.3 [40.9kB]              
                   
Get:20 ftp://ftp.nl.uu.net unstable/main xviddetect 0.3-3 [57.8kB]              
                   
Get:21 http://ftp.uk.debian.org unstable/main libqt2.2 2:2.2.4-5 [1888kB]       
                   
Get:22 http://ftp.uk.debian.org unstable/main libc6 2.2.2-1 [3236kB]            
                   
Get:23 http://ftp.uk.debian.org unstable/main modutils 2.4.2-1 [175kB]          
                   
Get:24 http://ftp.uk.debian.org unstable/main bin86 0.15.4-1 [80.0kB]           
                   
Get:25 http://ftp.uk.debian.org unstable/main libc6-dev 2.2.2-1 [2282kB]        
                   
Get:26 http://ftp.uk.debian.org unstable/main libkpathsea3 1.0.7+20000807-8 
[33.9kB]               
Get:27 http://ftp.uk.debian.org unstable/main locales 2.2.2-1 [2966kB]          
                   
.
.
.
</snip>

At 21 thru 27, it fetched the packages that were already fetched at 2 thru
9. I interrupted the download and restarted apt-get, to see what happened:

<snip>
Reading Package Lists... Done
Building Dependency Tree... Done
19 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 6513kB/17.1MB of archives. After unpacking 110kB will be freed.
Do you want to continue? [Y/n] 
Get:1 ftp://ftp.nl.uu.net unstable/main locales 2.2.2-1 [2966kB]
Err ftp://ftp.nl.uu.net unstable/main locales 2.2.2-1
  Unable to fetch file, server said 
'/pub/linux/debian/pool/main/g/glibc/locales_2.2.2-1_all.deb: No such file or 
directory  '
Get:2 ftp://ftp.nl.uu.net unstable/main telnet 0.17-8 [69.8kB]
Get:3 http://ftp.uk.debian.org unstable/main locales 2.2.2-1 [2966kB]
Get:4 ftp://ftp.nl.uu.net unstable/main debhelper 3.0.6 [179kB]
Get:5 ftp://ftp.nl.uu.net unstable/main fetchmail 5.6.6-2 [397kB]               
                   
Get:6 ftp://ftp.nl.uu.net unstable/main glibc-doc 2.2.2-1 [2477kB]              
                   
Get:7 ftp://ftp.nl.uu.net unstable/main knews 1.0b.1-3 [217kB]                  
                   
Get:8 ftp://ftp.nl.uu.net unstable/main liblcms 1.07-1 [52.7kB]                 
                   
Get:9 ftp://ftp.nl.uu.net unstable/main libtimedate-perl 1.10-3 [25.8kB]        
                   
Get:10 ftp://ftp.nl.uu.net unstable/main rwho 0.17-2 [12.7kB]                   
                   
Get:11 ftp://ftp.nl.uu.net unstable/main rwhod 0.17-2 [17.0kB]                  
                   
Get:12 ftp://ftp.nl.uu.net unstable/main xmailbox 2.5-8.3 [40.9kB]              
                   
Get:13 ftp://ftp.nl.uu.net unstable/main xviddetect 0.3-3 [57.8kB]              
                   
Get:14 http://ftp.uk.debian.org unstable/main telnet 0.17-8 [69.8kB]            
                   
Get:15 http://ftp.uk.debian.org unstable/main debhelper 3.0.6 [179kB]           
                   
Get:16 http://ftp.uk.debian.org unstable/main fetchmail 5.6.6-2 [397kB]         
                   
Get:17 http://ftp.uk.debian.org unstable/main glibc-doc 2.2.2-1 [2477kB]        
                   
Get:18 http://ftp.uk.debian.org unstable/main knews 1.0b.1-3 [217kB]            
                   
Get:19 http://ftp.uk.debian.org unstable/main liblcms 1.07-1 [52.7kB]           
                   
Get:20 http://ftp.uk.debian.org unstable/main libtimedate-perl 1.10-3 [25.8kB]  
                   
Get:21 http://ftp.uk.debian.org unstable/main rwho 0.17-2 [12.7kB]              
                   
Get:22 http://ftp.uk.debian.org unstable/main rwhod 0.17-2 [17.0kB]             
                   
Get:23 http://ftp.uk.debian.org unstable/main xmailbox 2.5-8.3 [40.9kB]         
                   
Get:24 http://ftp.uk.debian.org unstable/main xviddetect 0.3-3 [57.8kB]         
                   
Fetched 6513kB in 2m2s (53.1kB/s)                                               
                   
</snip>

Wow. The packages that weren't fetched twice the first time (because I
interrupted apt) are fetched again, twice!

BTW, I am still using dselect, so the command used here is 'apt-get
dselect-upgrade'.

Remco
-- 
qn-195-66-31-144:   2:00pm  up 27 days, 19:26, 14 users,  load average: 3.08, 
2.26, 1.94


Reply via email to