LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-01-2019, 10:16 AM   #1
Iankahn
LQ Newbie
 
Registered: Apr 2016
Location: Roswell, GA
Distribution: Linux Mint 18.x
Posts: 14

Rep: Reputation: Disabled
Error when using Update Manager


This morning I had a message from Update Manager on my system (Linux Mint 18.3) that I had an update available. So, I ran the update. Update Manager reported the update installed correctly, but when I clicked "OK", the following error pops up:

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/chrome.list:1 and /etc/apt/sources.list.d/google-chrome.list:3

I also get this if I try to refresh Update Manager to see if there are any other relevant updates for my system. I can't find anything on-line that doesn't sound like complete gibberish to me, and I've worked in IT for over 25 years (admittedly, on the M$ side of things). I still consider myself a newbie to Linux, and could use any help anyone can provide, to resolve this issue.

Thanks in advance!

Ian Kahn
Roswell, GA
 
Old 06-01-2019, 10:24 AM   #2
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 363
Blog Entries: 5

Rep: Reputation: 262Reputation: 262Reputation: 262
It looks like you have added Google Chrome repository twice

From the errors it looks like that the following files...
Code:
/etc/apt/sources.list.d/chrome.list
/etc/apt/sources.list.d/google-chrome.list
...point to the same repository!

Can you please post the contents from both files, to see if they are the same?

The solution probably would be to remove either of one, but we need to investigate how did you to that state in the first place.
 
Old 06-01-2019, 10:25 AM   #3
thinknix
Member
 
Registered: Nov 2008
Location: Québec, Canada
Distribution: Debian, Devuan, Slackware, Trisquel, *BSD
Posts: 127

Rep: Reputation: 44
Those are warnings, not errors, so they won't stop packages from installing. It looks like you've got a duplicate apt source for google chrome. I would compare the two files mentioned in the warning messages, if the files are identical, delete one and the warning should go away. If they are not identical and you need more help post the content of those two files.
 
Old 06-01-2019, 11:33 AM   #4
Iankahn
LQ Newbie
 
Registered: Apr 2016
Location: Roswell, GA
Distribution: Linux Mint 18.x
Posts: 14

Original Poster
Rep: Reputation: Disabled
Re; Error when using Update Manager

Thanks, everyone for the replies. Here are the contents of the two files:

/etc/apt/sources.list.d/google-chrome.list:

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main


/etc/apt/sources.list.d/chrome.list:

deb http://dl.google.com/linux/chrome/deb stable main

It looks like, to everyone's point, they are the same. How do I correct this? Is it safe to just delete one of the files? Comment out the contents of one and leave it? Any help is much appreciated.

Thank you.

Ian Kahn
Roswell, GA
 
Old 06-01-2019, 11:39 AM   #5
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,047
Blog Entries: 11

Rep: Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234
Never just delete a system configuration file. You could bork your system. As root, move it to a safe place (for example root's home directory). Then try the update again. If all goes smoothly, you have solved your problem. If not, you can always move the file back to where you took it from, then try doing the same with the other file.
 
Old 06-01-2019, 11:41 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
The second file is the older one unless you manually created it (Chrome automatically creates the first one nowadays).

Delete the second one with:

Code:
sudo rm /etc/apt/sources.list.d/chrome.list
 
Old 06-01-2019, 01:42 PM   #7
Iankahn
LQ Newbie
 
Registered: Apr 2016
Location: Roswell, GA
Distribution: Linux Mint 18.x
Posts: 14

Original Poster
Rep: Reputation: Disabled
Re; Error when using Update Manager

Thanks, everyone for the help. I moved chrome.list to a different folder, then refreshed Update Manager again. No more warnings! I'll keep the file on my system, in a safe place, for a few days before I delete it.

I appreciate all the quick, helpful advice, and on a weekend, no less!

Regards,

Ian Kahn
Roswell, GA
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Firefox, Package Manager and Update Manager stopped working after updates septuagenarian Linux - Newbie 50 04-05-2018 07:37 AM
Update Manager , Synaptic package manager & dpkg: warning error massage sa3paleasm Linux - Software 1 08-07-2013 05:45 PM
[SOLVED] How do I update using Update Manager when there is a failure to download packages? oldminer90 Linux - Newbie 5 11-11-2012 10:12 PM
[SOLVED] Difference Between Synaptic Package Manager and Update Manager nasser019 Linux - Software 1 07-20-2010 08:12 AM
Ubuntu 9.04 Error when using Update Manager rahowill Linux - Newbie 6 09-08-2009 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration