Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Sometimes, when I run

sudo apt-get update 

or install an app

sudo apt-get install

I get the error below at the bottom in the gnome-terminal and I can't remove it. I searched for it in the software-sources and in y-ppa-manager and I am not sure I want to mess with the sources list since I am a bit of a noob.

Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner amd64 Packages \
  (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-amd64_Packages)
share|improve this question

1 Answer

up vote 12 down vote accepted

Open the sources.list in gedit gksudo gedit /etc/apt/sources.list and look for the line"

deb http://archive.canonical.com/ubuntu oneiric partner

and comment it out by adding # before at the beginning of that line so

#deb http://archive.canonical.com/ubuntu oneiric partner

I know you said you didn't want to mess with the sources.list, but I believe this is the best way to do it. As long as you just comment it out instead of deleting it, you should be fine.

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.