3

I always get the following errors when I do sudo apt-get update. How do I fix them?

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages  
(/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-i386_Packages)
W: You may want to run `apt-get update` to correct these problems

1 Answers1

7

As it says you have a duplicate in your sources list. How you fix this can depend on the Package Manager(s) that you use. To go straight to the sources list, open a Terminal and issue the command:

gksudo gedit /etc/apt/sources.list

Look for the duplicate. You can disable one by putting a # at the beginning of the line or removing duplicate lines.

http://archive.canonical.com/ubuntu/ oneiric/partner
htorque
  • 66,086