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

when I run sudo apt-get upgrade:

W: Duplicate sources.list entry precise/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages)
W: Duplicate sources.list entry precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
share|improve this question
Have you tried upgrading from the upgrade manager? Upgrade Ubuntu – Seth Nov 21 '12 at 1:53
I just tried again using the update doesn’t give any errors, but doesn’t give any new updates..It might be possible that there isn’t any new updates..I find that hard to believe, though. – thomas Nov 21 '12 at 3:00
Do you have any other ppas? See here – Seth Nov 21 '12 at 3:06
Oh, it says "You may want to run apt-get update to correct these problems" try running that. – Seth Nov 21 '12 at 3:08
possible duplicate of Duplicate sources.list entries – stephenmyall Nov 22 '12 at 21:14

You've made an upgrade from 12.04, Canonical Precise PPA was left behind. In terminal type ls /var/lib/apt/lists/archive.canonical.com_ubuntu_dists*. The result should be something like this:

/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_Release /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_Release.gpg they Quantal counterparts

/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_quantal_partner_binary-amd64_Packages /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_quantal_partner_binary-i386_Packages /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_quantal_Release /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_quantal_Release.gpg

...if so, just delete the precise versions.

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.