W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3

Asked by Dustin McMillan

Can anyone please help me understand what is going on here?

On sudo apt-get update i get the following:

Ign:1 http://download.webmin.com/download/repository sarge InRelease
Hit:2 http://mirror.jaleco.com/mariadb/repo/10.1/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:5 http://download.webmin.com/download/repository sarge Release
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Fetched 306 kB in 1s (250 kB/s)
Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
Reading package lists... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:55 and /etc/apt/sources.list.d/MariaDB.list:3

Below are my two files sources.list and MariaDB.list

MariaDB.ist:
deb [arch=amd64,i386] http://mirror.jaleco.com/mariadb/repo/10.1/ubuntu xenial main
deb-src http://mirror.jaleco.com/mariadb/repo/10.1/ubuntu xenial main

sources.list:
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb [arch=i386,ppc64el,amd64] http://mirror.jaleco.com/mariadb/repo/10.1/ubuntu xenial main
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you please give the output of:

cat -n /etc/apt/sources.list.d/MariaDB.list

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

The cause for the error messages is that you have the reference to the mariadb repository in both the general sources.list file as well as in an extra MariaDB.list file. You have to remove the reference from one of these files.

I suggest that you edit the file /etc/apt/sources.list and remove line 55 (the reference to mirror.jaleco.com/mariadb/...)

Can you help with this problem?

Provide an answer of your own, or ask Dustin McMillan for more information if necessary.

To post a message you must log in.