Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

W: Duplicate sources.list entry oneiric/partner i386 Packages  
W: You may want to run `apt-get update` to correct these problems
share|improve this question
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
up vote 7 down vote accepted

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. oneiric/partner
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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