11

Every time I run apt-get update, I get the following message (the exact duplicate package is different depending on the last entry in sources.list):

W: Duplicate sources.list entry http://ftp.uk.debian.org/debian/ squeeze/main armel Packages 
(/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_squeeze_main_binary-armel_Packages)

If I run apt-get update again, it's fine. What's going on?

tlhIngan
  • 3,372
  • 5
  • 19
  • 33
Tom Medley
  • 4,089
  • 8
  • 31
  • 46

1 Answers1

12

I think there is a bug in the image. /etc/apt/sources.list contains 2 lines that look like this

deb http://ftp.uk.debian.org/debian/ squeeze main
deb http://ftp.uk.debian.org/debian/ squeeze main non-free

To solve your problem, delete the first one.

Whilst the lines aren't exact duplicate, they do specify duplicate repositories.

Alex Chamberlain
  • 15,530
  • 14
  • 67
  • 113