[SOLVED] Update Manager 'configured multiple times' error

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
majabl

[SOLVED] Update Manager 'configured multiple times' error

Post by majabl »

Hello. I've recently put Linux Mint 18.3 onto a Lenovo T61 in an attempt to keep it usable because Windows 10 was killing it through non-stop access of the hard drive. So far so good - mostly - but I am experiencing an error whenever I try to install updates:

Code: Select all

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/vivaldi.list:3
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/vivaldi.list:3
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/vivaldi.list:3
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/vivaldi.list:3
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/vivaldi.list:3
I'm not sure if the updates are being installed or not regardless because they disappear from the list of available updates.

I have found a few other requests for help for very similar issues which seem to have been resolved, but nobody seems to have the quite the same target packages as I do, so I am wary of following what they did and breaking something on my own system. One thing that did seem to be consistently requested was the output of inxi -Sr, so I have included that below:

Code: Select all

System:    Host: matthew-ThinkPad-T61 Kernel: 4.4.0-21-generic x86_64 (64 bit)
           Desktop: Cinnamon 3.6.7  Distro: Linux Mint 18.3 Sylvia
Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb [arch=i386,amd64] http://repo.vivaldi.com/stable/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/jon-hedgerows-get-iplayer-xenial.list
           deb http://ppa.launchpad.net/jon-hedgerows/get-iplayer/ubuntu xenial main
           deb-src http://ppa.launchpad.net/jon-hedgerows/get-iplayer/ubuntu xenial main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://www.mirrorservice.org/sites/packages.linuxmint.com/packages sylvia main upstream import backport
           deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ xenial partner
           Active apt sources in file: /etc/apt/sources.list.d/spotify.list
           deb http://repository.spotify.com stable non-free
           Active apt sources in file: /etc/apt/sources.list.d/vivaldi.list
           deb http://repo.vivaldi.com/stable/deb/ stable main
Many thanks in advance for any assistance given!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Sir Charles

Re: Update Manager 'configured multiple times' error

Post by Sir Charles »

Hi majabl,
Could you post the output of the following commands?

Code: Select all

cat /etc/apt/sources.list.d/additional-repositories.list
and

Code: Select all

cat /etc/apt/sources.list.d/vivaldi.list
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update Manager 'configured multiple times' error

Post by karlchen »

Hi, Marziano.

The info which you request can be retrieved from the inxi -Sr screen output in the post above yours. :wink:

Regards,
Karl
--

Code: Select all

Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb [arch=i386,amd64] http://repo.vivaldi.com/stable/deb/ stable main
           
           Active apt sources in file: /etc/apt/sources.list.d/vivaldi.list
           deb http://repo.vivaldi.com/stable/deb/ stable main
I'd say: comment out the whole vivaldi line in the file /etc/apt/sources.list.d/additional-repositories.list
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
majabl

Re: Update Manager 'configured multiple times' error

Post by majabl »

Seems to have done the trick! Thank you.

Is there a risk that it might break my Vivaldi installation though...?
Sir Charles

Re: Update Manager 'configured multiple times' error

Post by Sir Charles »

@karlchen
Yes, you are right, Karl. I don't know why I ignored that, despite the info being there.
majabl wrote: Sun May 27, 2018 10:02 am Is there a risk that it might break my Vivaldi installation though...?
No, there wouldn't be any risk of breakage of your Vivaldi installation. You have got the Vivaldi repository specified along with your other software sources and you will be receiving updates to your Vivaldi browser whenever there are any via Update Manager.
majabl

Re: Update Manager 'configured multiple times' error

Post by majabl »

That's super. Many thanks, both!
Sir Charles

Re: [SOLVED] Update Manager 'configured multiple times' error

Post by Sir Charles »

Anytime!
Cheers
art+1

Re: Update Manager 'configured multiple times' error

Post by art+1 »

Marziano wrote: Sun May 27, 2018 8:13 am Hi majabl,
Could you post the output of the following commands?

Code: Select all

cat /etc/apt/sources.list.d/additional-repositories.list
and

Code: Select all

cat /etc/apt/sources.list.d/vivaldi.list
Hi Marziano, still I don't understand what and how do I solve it, I typed cat /etc/apt/sources.list.d/additional-repositories.list
getting double same result
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main

how do I solve the problem, thanks
Sir Charles

Re: Update Manager 'configured multiple times' error

Post by Sir Charles »

art+1 wrote: Mon Jun 04, 2018 12:39 pm Hi Marziano, still I don't understand what and how do I solve it, I typed cat /etc/apt/sources.list.d/additional-repositories.list
getting double same result
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main

how do I solve the problem, thanks
Hi art+1,

In a terminal, run:

Code: Select all

gksudo xed /etc/apt/sources.list.d/additional-repositories.list
Type in your password followed by enter (note that there will be no visual feedback). When the file opens, delete the second line. Save and close the file and run:

Code: Select all

sudo apt-get update
Hope this will resolve the issue.

Cheers
art+1

Re: [SOLVED] Update Manager 'configured multiple times' error

Post by art+1 »

:) Many thanks Marziano, solved :D
Sir Charles

Re: [SOLVED] Update Manager 'configured multiple times' error

Post by Sir Charles »

You are welcome!
:D to hear that it worked out!
Cheers
Locked

Return to “Beginner Questions”