Getting an error while updating.

Asked by Utkarsh Bajpai

This is the error that I am always getting while updating from Update Manager:

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2

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
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output that you get for the commands (to be executed in a terminal window)

uname -a
lsb_release -crid
cat -n /etc/apt/sources.list
cat -n /etc/apt/sources.list.d/additional-repositories.list

Revision history for this message
Utkarsh Bajpai (shadowsphynx) said :
#2

 uname -a
Linux Shadow-PC 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -crid
Distributor ID: LinuxMint
Description: Linux Mint 18.2 Sonya
Release: 18.2
Codename: sonya

cat -n /etc/apt/sources.list
     1 #deb cdrom:[Linux Mint 18.1 _Serena_ - Release amd64 20161213]/ xenial contrib main non-free

cat -n /etc/apt/sources.list.d/additional-repositories.list
     1 deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
     2 deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main

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

1. This is a question/answer area for Ubuntu only.
None of the "Ubuntu-based" operating systems like Linux Mint is supported here.
For support for Linux Mint please see https://linuxmint.com/contactus.php and https://forums.linuxmint.com/

2. As a hint for your problem: You have to delete one of the two identical lines in /etc/apt/sources.list.d/additional-repositories.list

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Mint is not supported by the Ubuntu community in any way. It's support community is entirely separate from Ubuntu's. None of the "Ubuntu based" distributions are supported here.

Please post on the Mint forum as advised above

Can you help with this problem?

Provide an answer of your own, or ask Utkarsh Bajpai for more information if necessary.

To post a message you must log in.