LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2012, 04:51 PM   #16
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Angry


Quote:
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ 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
What does the quoted message mean?

I tried
Code:
sudo apt-get autoremove
to see if it can do something, but nothing happened but the message!!
 
Old 09-01-2012, 08:15 PM   #17
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
It means exactly what it says: you have two of the same entries in your source.list. Specifically, the main Ubuntu ones are doubled. You should go into your sources.list and remove the duplicates.

Alex Brinister
 
Old 09-01-2012, 10:08 PM   #18
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
Quote:
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
# deb http://archive.canonical.com/ precise partner
Remove the bold lines.
 
1 members found this post helpful.
Old 09-01-2012, 11:03 PM   #19
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
You seriously need to fix your sources.list. The extra ppas you have are all wrong. They do not have packages for precise, only for oneiric. I would suggesting making a new one here. But if you can, fix it on your own.

Alex Brinister
 
1 members found this post helpful.
Old 09-04-2012, 05:26 PM   #20
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Thumbs up Worked, thanks!

@kedarp @Abrinister Thanks to both of you. Kedarp deserves a real thank for making me understand the problem, its source and its nature in depth. Whereas Abrinister simply posted a link which made my problem solved.

BTW, apart from editing /etc/apt/sources.list, I had to put my hands on /etc/apt/sources.list.d folder and manually removed some entries. Does not sources.list and
Code:
sudo apt-get update
enough? Because when the problem solved and I ran an apt-get update, it was showing some "duplicate entries" in "var/...[whatever]" folder. I manually removed the entries from /etc/apt/sources.list.d and it worked.

Does Precise have some problems with google? I had to comment out google repos to get a result.
 
  


Reply

Tags
apt-get update, ppa, softwares, ubuntu 12.04



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Login don't work properly a_minor Linux - Desktop 3 01-04-2009 05:21 PM
fglrx & edgy. don't work properly kimothy Ubuntu 0 10-26-2006 02:33 PM
Fonts don't work properly since upgrade to 10.1 Zoe F Mandriva 1 10-03-2004 12:04 AM
gpm don't work properly Duukkis Linux - Software 3 03-21-2004 09:58 AM
xmms and esound don't work properly together biiiep Slackware 2 02-08-2004 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration