Duplicate entries in sources.list

Archived topics about LMDE 1
Forum rules
vock
Level 1
Level 1
Posts: 4
Joined: Tue Aug 30, 2011 10:10 pm

Duplicate entries in sources.list

Postby vock » Wed Jun 25, 2014 9:29 am

Hello,

I was just wondering why I was getting so many errors when running

Code: Select all

sudo apt-get update


I end up with an output that looks like this:

Code: Select all

Ign http://dl.google.com stable InRelease
Ign http://extra.linuxmint.com debian InRelease
Hit http://download.virtualbox.org squeeze InRelease
Ign http://packages.linuxmint.com debian InRelease
Ign http://dl.google.com stable InRelease
Ign http://extra.linuxmint.com debian Release.gpg
Hit http://download.virtualbox.org squeeze/contrib amd64 Packages
Get:1 http://packages.linuxmint.com debian Release.gpg [198 B]
Hit http://dl.google.com stable Release.gpg
Get:2 http://extra.linuxmint.com debian Release [2,275 B]
Hit http://download.virtualbox.org squeeze/non-free amd64 Packages
Ign http://download.opensuse.org ./ InRelease
Get:3 http://packages.linuxmint.com debian Release [16.8 kB]
Hit http://dl.google.com stable Release.gpg
Hit http://download.virtualbox.org squeeze/contrib i386 Packages
Ign http://extra.linuxmint.com debian/main amd64 Packages/DiffIndex
Hit http://download.mendeley.com stable InRelease
Hit http://download.virtualbox.org squeeze/non-free i386 Packages
Hit http://dl.google.com stable Release
Ign http://extra.linuxmint.com debian/main i386 Packages/DiffIndex
Hit http://mirror.metrocast.net testing InRelease
Get:4 http://packages.linuxmint.com debian/main amd64 Packages [26.1 kB]
Hit http://download.mendeley.com stable/main amd64 Packages
Hit http://dl.google.com stable Release
Hit http://download.opensuse.org ./ Release.gpg
Hit http://download.mendeley.com stable/main i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://mirror.metrocast.net testing/updates InRelease
Get:5 http://packages.linuxmint.com debian/upstream amd64 Packages [18.1 kB]
Hit http://download.opensuse.org ./ Release
Hit http://dl.google.com stable/main i386 Packages
Hit http://mirror.metrocast.net testing InRelease
Hit http://download.opensuse.org ./ Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://mirror.metrocast.net testing/main amd64 Packages/DiffIndex
Get:6 http://packages.linuxmint.com debian/import amd64 Packages [53.6 kB]
Get:7 http://packages.linuxmint.com debian/main i386 Packages [26.1 kB]
Hit http://mirror.metrocast.net testing/contrib amd64 Packages/DiffIndex
Hit http://dl.google.com stable/main i386 Packages
Get:8 http://packages.linuxmint.com debian/upstream i386 Packages [18.1 kB]
Ign http://download.mendeley.com stable/main Translation-en_CA
Ign http://download.mendeley.com stable/main Translation-en
Get:9 http://packages.linuxmint.com debian/import i386 Packages [53.6 kB]
Ign http://download.virtualbox.org squeeze/contrib Translation-en_CA
Ign http://download.virtualbox.org squeeze/contrib Translation-en
Ign http://download.virtualbox.org squeeze/non-free Translation-en_CA
Ign http://download.virtualbox.org squeeze/non-free Translation-en
Hit http://mirror.metrocast.net testing/non-free amd64 Packages/DiffIndex
Hit http://mirror.metrocast.net testing/main i386 Packages/DiffIndex
Hit http://mirror.metrocast.net testing/contrib i386 Packages/DiffIndex
Hit http://mirror.metrocast.net testing/non-free i386 Packages/DiffIndex
Hit http://mirror.metrocast.net testing/contrib Translation-en/DiffIndex
Ign http://dl.google.com stable/main Translation-en_CA
Ign http://dl.google.com stable/main Translation-en
Ign http://dl.google.com stable/main Translation-en_CA
Ign http://dl.google.com stable/main Translation-en
Get:10 http://extra.linuxmint.com debian/main amd64 Packages [20 B]
Get:11 http://extra.linuxmint.com debian/main i386 Packages [20 B]
Ign http://extra.linuxmint.com debian/main Translation-en_CA
Ign http://extra.linuxmint.com debian/main Translation-en
Ign http://download.opensuse.org ./ Translation-en_CA
Ign http://packages.linuxmint.com debian/import Translation-en_CA
Ign http://download.opensuse.org ./ Translation-en
Hit http://mirror.metrocast.net testing/main Translation-en/DiffIndex
Ign http://packages.linuxmint.com debian/import Translation-en
Ign http://packages.linuxmint.com debian/main Translation-en_CA
Hit http://mirror.metrocast.net testing/non-free Translation-en/DiffIndex
Hit http://mirror.metrocast.net testing/updates/main amd64 Packages
Hit http://mirror.metrocast.net testing/updates/contrib amd64 Packages
Ign http://packages.linuxmint.com debian/main Translation-en
Ign http://packages.linuxmint.com debian/upstream Translation-en_CA
Hit http://mirror.metrocast.net testing/updates/non-free amd64 Packages
Ign http://packages.linuxmint.com debian/upstream Translation-en
Hit http://mirror.metrocast.net testing/updates/main i386 Packages
Hit http://mirror.metrocast.net testing/updates/contrib i386 Packages
Hit http://mirror.metrocast.net testing/updates/non-free i386 Packages
Hit http://mirror.metrocast.net testing/updates/contrib Translation-en
Hit http://mirror.metrocast.net testing/updates/main Translation-en
Hit http://mirror.metrocast.net testing/updates/non-free Translation-en
Hit http://mirror.metrocast.net testing/main amd64 Packages
Hit http://mirror.metrocast.net testing/non-free amd64 Packages
Hit http://mirror.metrocast.net testing/main i386 Packages
Hit http://mirror.metrocast.net testing/non-free i386 Packages
Ign http://mirror.metrocast.net testing/main Translation-en_CA
Ign http://mirror.metrocast.net testing/main Translation-en
Ign http://mirror.metrocast.net testing/non-free Translation-en_CA
Ign http://mirror.metrocast.net testing/non-free Translation-en
Fetched 215 kB in 11s (19.0 kB/s)
Reading package lists...
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: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/ testing/main amd64 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_dists_testing_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/ testing/contrib amd64 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_dists_testing_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/ testing/non-free amd64 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_dists_testing_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/ testing/main i386 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_dists_testing_main_binary-i386_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/ testing/contrib i386 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_dists_testing_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/ testing/non-free i386 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_dists_testing_non-free_binary-i386_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/security/ testing/updates/main amd64 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_security_dists_testing_updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/security/ testing/updates/contrib amd64 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_security_dists_testing_updates_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/security/ testing/updates/non-free amd64 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_security_dists_testing_updates_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/security/ testing/updates/main i386 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_security_dists_testing_updates_main_binary-i386_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/security/ testing/updates/contrib i386 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_security_dists_testing_updates_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/security/ testing/updates/non-free i386 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_security_dists_testing_updates_non-free_binary-i386_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/multimedia/ testing/main amd64 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_multimedia_dists_testing_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/multimedia/ testing/non-free amd64 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_multimedia_dists_testing_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/multimedia/ testing/main i386 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_multimedia_dists_testing_main_binary-i386_Packages)
W: Duplicate sources.list entry http://mirror.metrocast.net/linuxmint-debian/latest/multimedia/ testing/non-free i386 Packages (/var/lib/apt/lists/mirror.metrocast.net_linuxmint-debian_latest_multimedia_dists_testing_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems


My sources.list in /etc/apt/sources.list looks like this:

Code: Select all

deb http://packages.linuxmint.com/ debian main upstream import
deb http://mirror.metrocast.net/linuxmint-debian/latest testing main contrib non-free
deb http://mirror.metrocast.net/linuxmint-debian/latest/security testing/updates main contrib non-free
deb http://mirror.metrocast.net/linuxmint-debian/latest/multimedia testing main non-free

#dropbox
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free

#Pipelight for Unity3d
deb http://download.opensuse.org/repositories/home:/DarkPlayer:/Pipelight/Debian_7.0/ ./


I don't see any duplicate entries, any ideas?

Thanks
Last edited by karlchen on Wed Jun 25, 2014 10:14 am, edited 1 time in total.
Reason: Moved the thread from "Main Edition" (Ubuntu based) to "LMDE"

Mute Ant
Level 9
Level 9
Posts: 2932
Joined: Tue Sep 03, 2013 7:45 pm

Re: Duplicate entries in sources.list

Postby Mute Ant » Wed Jun 25, 2014 9:58 am

Is apt using an /etc/apt/sources.list.d/ folder as well as an /etc/apt/sources.list file? Instead of a single file with all the entries, the .d mechanism allows multiple file-fragments to represent a file. It makes it easier to merge and modify single lines, but can duplicate entries if there is a file X at the same time as a folder X.d/

[If it works, don't mend it]
Keyboard Error. Press F1 to continue.

User avatar
karlchen
Level 16
Level 16
Posts: 6572
Joined: Sat Dec 31, 2011 7:21 am

Re: Duplicate entries in sources.list

Postby karlchen » Wed Jun 25, 2014 10:15 am

Hello, vock.

The output of

Code: Select all

inxi -r
will give you the complete list of all software sources entries which your system will use, inclduing the duplicate entries.

Kind regards,
Karl
Image

Monsta
Level 9
Level 9
Posts: 2924
Joined: Fri Aug 19, 2011 3:46 am

Re: Duplicate entries in sources.list

Postby Monsta » Thu Jun 26, 2014 4:03 am



Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests