LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2014, 11:56 PM   #1
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 348

Rep: Reputation: 13
Aptitude Error - LMDE 64bit


Since the latest round of updates for LMDE, I've started getting an error when I run
Code:
sudo aptitude update
which returns this
Code:
W: Duplicate sources.list entry http://packages.linuxmint.com/ debian/main amd64 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_debian_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.linuxmint.com/ debian/upstream amd64 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_debian_upstream_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.linuxmint.com/ debian/import amd64 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_debian_import_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.linuxmint.com/ debian/main i386 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_debian_main_binary-i386_Packages)
W: Duplicate sources.list entry http://packages.linuxmint.com/ debian/upstream i386 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_debian_upstream_binary-i386_Packages)
W: Duplicate sources.list entry http://packages.linuxmint.com/ debian/import i386 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_debian_import_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
If I run apt-get update I get exactly the same error message.

The following is my /etc/apt/sources.list
Code:
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
Thanks for any help
 
Old 06-09-2014, 12:01 AM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Take a look in /etc/apt/sources.list.d/ and make sure there isn't another sources.list in there as well. From memory Linux Mint placed their default sources.list in that location in some releases.
If there is make sure the lines are the same in both and only remove the duplicate lines.
 
1 members found this post helpful.
Old 06-09-2014, 12:02 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

have you also checked for sources in /etc/apt/sources.list.d/? Also, it may help if you post the entire output of 'aptitude update'.

Evo2.
 
1 members found this post helpful.
Old 06-09-2014, 12:03 AM   #4
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 348

Original Poster
Rep: Reputation: 13
Aha! Looks promising. Can I confirm if
Code:
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
is the same as
Code:
deb http://debian.linuxmint.com/latest//security testing/updates main contrib non-free
It's just the // difference as far as I can tell?
 
Old 06-09-2014, 12:08 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

deleting one of those lines should get rid of the corresponding warnings.

Evo2.
 
1 members found this post helpful.
Old 06-09-2014, 12:09 AM   #6
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 348

Original Poster
Rep: Reputation: 13
Commented it out and error has gone. Thank you both.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Error when doing apt-get upgrade LMDE? david0321 Debian 2 09-27-2013 06:35 AM
Browsing files on mobile phone (Nokia E72) over Bluetooth (LMDE 64bit) Ormu Linux - General 2 01-20-2013 11:07 AM
When I try to start up X on lmde I get an error, also I nuked my /etc/X11 . . . darkstarbyte Linux - Software 4 08-13-2011 02:04 AM
Aptitude error AndeAnderson Linux - General 3 10-15-2005 04:13 PM


All times are GMT -5. The time now is 02:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration