Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

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

1 Answer 1

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.

http://archive.canonical.com/ubuntu/ oneiric/partner
share|improve this answer

Your Answer

 
discard

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.