<SOLVED> Update manager: Target is configured multiple times

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
bitgael
Level 1
Level 1
Posts: 4
Joined: Sat Dec 16, 2017 7:32 pm

<SOLVED> Update manager: Target is configured multiple times

Post by bitgael » Mon Apr 23, 2018 6:49 pm

Just installed 18.3 Sylvia 64 bit, looks awesome! But I'm getting the following error whenever I try to update:

Code: Select all

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-xenial.list:1 and /etc/apt/sources.list.d/brave-xenial.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-xenial.list:1 and /etc/apt/sources.list.d/brave-xenial.list:2
W: Target Translations (main/i18n/Translation-en_IE) is configured multiple times in /etc/apt/sources.list.d/brave-xenial.list:1 and /etc/apt/sources.list.d/brave-xenial.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/brave-xenial.list:1 and /etc/apt/sources.list.d/brave-xenial.list:2
Any idea how I can resolve this? I saw a thread on github suggesting that brave might be causing it (which I do have installed) but brave isn't mentioned in the above list.
Last edited by bitgael on Wed Apr 25, 2018 2:40 pm, edited 1 time in total.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: Update manager: Target is configured multiple times

Post by Sir Charles » Mon Apr 23, 2018 6:57 pm

Hi,
In a terminal, run:

Code: Select all

gksudo xed /etc/apt/sources.list.d/brave-xenial.list
in order to open thebrave-xenial.list and delete all the duplicates. Every source should be specified only once. Close the file and update:

Code: Select all

apt update
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
Flemur
Level 16
Level 16
Posts: 6067
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Update manager: Target is configured multiple times

Post by Flemur » Tue Apr 24, 2018 1:48 pm

bitgael wrote:
Mon Apr 23, 2018 6:49 pm

Code: Select all

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/brave-xenial.list:1 and /etc/apt/sources.list.d/brave-xenial.list:2
Any idea how I can resolve this? I saw a thread on github suggesting that brave might be causing it (which I do have installed) but brave isn't mentioned in the above list.
You probably have two version of the same file "brave-xenial.list" (:1 and :2 ?)
What does this return?

Code: Select all

ls -l /etc/apt/sources.list.d/brave*
if two files listed, then try the below, and if this returns nothing, the two files are the same: delete one of them (then "update" the repo cache):

Code: Select all

diff /etc/apt/sources.list.d/brave*
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

bitgael
Level 1
Level 1
Posts: 4
Joined: Sat Dec 16, 2017 7:32 pm

Re: Update manager: Target is configured multiple times

Post by bitgael » Wed Apr 25, 2018 2:39 pm

Marziano wrote:
Mon Apr 23, 2018 6:57 pm
Hi,
In a terminal, run:

Code: Select all

gksudo xed /etc/apt/sources.list.d/brave-xenial.list
in order to open thebrave-xenial.list and delete all the duplicates. Every source should be specified only once. Close the file and update:

Code: Select all

apt update
Thanks! That seems to have solved the problem, there was indeed a duplicated line

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: <SOLVED> Update manager: Target is configured multiple times

Post by Sir Charles » Wed Apr 25, 2018 2:49 pm

:D to hear you got it working!
Cheers
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

Post Reply

Return to “Software & Applications”