sources.list strange behaviour

Nick Darby nickby at blueyonder.co.uk
Fri Oct 13 23:13:00 UTC 2006


On Fri, 2006-10-13 at 16:22 +0100, SteVe Cook wrote:
> Nick Darby wrote:
> > After getting a couple of errors consistently with UK (gb)sources I
> > decided to change to the Netherlands (nl), and my new source.list is:
> > 
> [snip]
> > 
> > Why does the gb archive still appear? and whats the difference between
> > apt-get and aptitude?
> > Thanks in advance for any enlightenment!!
> > Nick
> > 
> > 
> > 
> Don't know why this works, but.
> 
> Delete the contents of sources.list and then run update.
> restore sources.list and run update.
> The errors should have disappeared.
> 
> 
> SteVe
> 
> 

Thanks SteVe,
The errors disappeared after switching to the Netherlands, I tried your
suggestion, but I still get the duplication warning. The first
'update' (below) was with the sources.list deleted

nick at Nicksamesh:/etc/apt$ sudo apt-get update
Get: 1 http://gb.archive.ubuntu.com dapper-updates Release.gpg [191B]
Hit http://gb.archive.ubuntu.com dapper-updates Release
Hit http://gb.archive.ubuntu.com dapper-updates/main Packages
Get: 2 http://gb.archive.ubuntu.com dapper-updates/restricted Packages
[14B]
Hit http://gb.archive.ubuntu.com dapper-updates/universe Packages
Get: 3 http://gb.archive.ubuntu.com dapper-updates/multiverse Packages
[14B]
Hit http://gb.archive.ubuntu.com dapper-updates/universe Packages
Fetched 29B in 0s (117B/s)
Reading package lists... Done
W: Duplicate sources.list entry http://gb.archive.ubuntu.com
dapper-updates/universe Packages
(/var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_dapper-updates_universe_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems

nick at Nicksamesh:/etc/apt$ sudo apt-get update
Get: 1 http://gb.archive.ubuntu.com dapper-updates Release.gpg [191B]
Get: 2 http://security.ubuntu.com dapper-security Release.gpg [191B]
Hit http://gb.archive.ubuntu.com dapper-updates Release
Get: 3 http://security.ubuntu.com dapper-security Release [30.9kB]
Get: 4 http://nl.archive.ubuntu.com dapper Release.gpg [189B]
Get: 5 http://nl.archive.ubuntu.com dapper-updates Release.gpg [191B]
Hit http://gb.archive.ubuntu.com dapper-updates/main Packages
Hit http://gb.archive.ubuntu.com dapper-updates/restricted Packages
Hit http://gb.archive.ubuntu.com dapper-updates/universe Packages
Get: 6 http://nl.archive.ubuntu.com dapper Release [34.8kB]
Hit http://gb.archive.ubuntu.com dapper-updates/multiverse Packages
Hit http://gb.archive.ubuntu.com dapper-updates/universe Packages
Get: 7 http://security.ubuntu.com dapper-security/main Packages [72.8kB]
Get: 8 http://nl.archive.ubuntu.com dapper-updates Release [29.6kB]
Get: 9 http://security.ubuntu.com dapper-security/restricted Packages
[6206B]
Get: 10 http://security.ubuntu.com dapper-security/main Sources [13.4kB]
Get: 11 http://security.ubuntu.com dapper-security/restricted Sources
[960B]
Get: 12 http://security.ubuntu.com dapper-security/universe Packages
[29.7kB]
Get: 13 http://security.ubuntu.com dapper-security/multiverse Packages
[2792B]
Get: 14 http://security.ubuntu.com dapper-security/universe Sources
[3874B]
Get: 15 http://security.ubuntu.com dapper-security/multiverse Sources
[520B]
Get: 16 http://nl.archive.ubuntu.com dapper/main Packages [619kB]
Get: 17 http://nl.archive.ubuntu.com dapper/restricted Packages [4408B]
Get: 18 http://nl.archive.ubuntu.com dapper/main Sources [255kB]
Get: 19 http://nl.archive.ubuntu.com dapper/restricted Sources [1478B]
Get: 20 http://nl.archive.ubuntu.com dapper/universe Packages [2380kB]
Get: 21 http://nl.archive.ubuntu.com dapper/multiverse Packages [85.8kB]
Get: 22 http://nl.archive.ubuntu.com dapper/universe Sources [975kB]
Get: 23 http://nl.archive.ubuntu.com dapper/multiverse Sources [46.6kB]
Get: 24 http://nl.archive.ubuntu.com dapper-updates/main Packages
[122kB]
Get: 25 http://nl.archive.ubuntu.com dapper-updates/restricted Packages
[14B]
Get: 26 http://nl.archive.ubuntu.com dapper-updates/main Sources
[46.5kB]
Get: 27 http://nl.archive.ubuntu.com dapper-updates/restricted Sources
[14B]
Get: 28 http://nl.archive.ubuntu.com dapper-updates/universe Packages
[19.3kB]
Get: 29 http://nl.archive.ubuntu.com dapper-updates/multiverse Packages
[14B]
Get: 30 http://nl.archive.ubuntu.com dapper-updates/universe Sources
[3129B]
Get: 31 http://nl.archive.ubuntu.com dapper-updates/multiverse Sources
[427B]
Fetched 4785kB in 4s (1029kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://gb.archive.ubuntu.com
dapper-updates/universe Packages
(/var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_dapper-updates_universe_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
nick at Nicksamesh:/etc/apt$

I tried deleting the file and also having a blank sources.list file but
with the same result.
Regards,
Nick - Still curious...







More information about the ubuntu-users mailing list