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 |
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 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. |
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.
|
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 |
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.
|
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 |
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 |
All times are GMT -5. The time now is 10:32 PM. |