LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Aptitude Error - LMDE 64bit (https://www.linuxquestions.org/questions/linux-newbie-8/aptitude-error-lmde-64bit-4175507448/)

NotAComputerGuy 06-08-2014 10:56 PM

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 :)

k3lt01 06-08-2014 11:01 PM

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.

evo2 06-08-2014 11:02 PM

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.

NotAComputerGuy 06-08-2014 11:03 PM

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? :)

evo2 06-08-2014 11:08 PM

Hi,

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

Evo2.

NotAComputerGuy 06-08-2014 11:09 PM

Commented it out and error has gone. Thank you both. :)


All times are GMT -5. The time now is 03:36 AM.