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  
W: You may want to run `apt-get update` to correct these problems
  • please run sudo apt-get update && sudo apt-get upgrade and let us know what the output is - copy and paste the output into your question. – fossfreedom Mar 19 '12 at 18:37
  • here is the output.. Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. – gforce89 Mar 19 '12 at 18:42

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.