LinuxQuestions.org
Help answer threads with 0 replies.
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, 09:16 AM   #1
Iankahn
LQ Newbie
 
Registered: Apr 2016
Location: Roswell, GA
Distribution: Linux Mint 18.x
Posts: 25

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, 09:24 AM   #2
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
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, 09:25 AM   #3
thinknix
Member
 
Registered: Nov 2008
Distribution: Lots!
Posts: 178

Rep: Reputation: 58
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, 10:33 AM   #4
Iankahn
LQ Newbie
 
Registered: Apr 2016
Location: Roswell, GA
Distribution: Linux Mint 18.x
Posts: 25

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, 10:39 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
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, 10:41 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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, 12:42 PM   #7
Iankahn
LQ Newbie
 
Registered: Apr 2016
Location: Roswell, GA
Distribution: Linux Mint 18.x
Posts: 25

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 06:37 AM
Update Manager , Synaptic package manager & dpkg: warning error massage sa3paleasm Linux - Software 1 08-07-2013 04: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 09:12 PM
[SOLVED] Difference Between Synaptic Package Manager and Update Manager nasser019 Linux - Software 1 07-20-2010 07:12 AM
Ubuntu 9.04 Error when using Update Manager rahowill Linux - Newbie 6 09-08-2009 06:39 PM

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

All times are GMT -5. The time now is 08:18 AM.

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
Open Source Consulting | Domain Registration