You are Here:
Linux Lite 4.6 RC1 has been released. See the Release Announcements section for more information.



[ SOLVED ] Packages configured multiple times etc/apt/sources.list.d/google-chrome.list:1

Author (Read 17021 times)

0 Members and 17 Guests are viewing this topic.

 

maciaccio

  • New to Forums
  • *
  • 24
    Posts
  • Country: us
  • Reputation: 3
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: AMD Turion 64 mobile ML-32 1.8ghz K8

  • MEMORY: 2Gb

  • VIDEO CARD: ATI RS480 [Mobility Radeon Xpress 200]
After install on HP-dv8000 laptop, I installed a couple prog's through SPM. I installed Chrome browser thru command line found on LL forum.

Next day when opening Synaptic Pkg Mgr, I get an "error occurred" msg box filled about 20 errors:

"W: Target Packages (main/binary-amd64/Packages) is configured multiple times in etc/apt/sources.list.d/google-chrome.list:3 and  etc/apt/sources.list.d/google.list:1"

and

"W: Target Translations.......etc, etc, etc...."

All the errors are related to Google Chrome. Do you need the entire log posted?
 
What is this, and does it require a fix? If so, please advise.

Thanks
Last Edit: June 01, 2017, 11:09:01 PM by Jerry
 


 

maciaccio

  • New to Forums
  • *
  • 24
    Posts
  • Country: us
  • Reputation: 3
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: AMD Turion 64 mobile ML-32 1.8ghz K8

  • MEMORY: 2Gb

  • VIDEO CARD: ATI RS480 [Mobility Radeon Xpress 200]

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:2
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google.list:1 and /etc/apt/sources.list.d/google.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google.list:1 and /etc/apt/sources.list.d/google.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:4
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google.list:1 and /etc/apt/sources.list.d/google.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:4
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:4
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:5
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/google.list:1 and /etc/apt/sources.list.d/google.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:5
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:5
Last Edit: June 01, 2017, 10:17:35 PM by maciaccio
 

 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1479
    Posts
  • Country: us
  • Reputation: 241
  • * Forum Moderator *

  • Linux Lite: 4.4 64bit

  • CPU: Intel Core i5-5300U (-HT-MCP-)

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Broadwell-U Integrated Graphics
Google Chrome can be installed simply by going to the Google Chrome website (https://www.google.com/chrome/).  What command in the forum did you use to install it?
Want to thank me?  Click my [Thank] link.
 

 

maciaccio

  • New to Forums
  • *
  • 24
    Posts
  • Country: us
  • Reputation: 3
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: AMD Turion 64 mobile ML-32 1.8ghz K8

  • MEMORY: 2Gb

  • VIDEO CARD: ATI RS480 [Mobility Radeon Xpress 200]
Honestly, it was around 2 am two nights ago, and I am trying to remember exactly what I did. I have done a "forensic review" of my browser history in Firefox and Chrome (from main pc & laptop) to retrace my steps. I think there may have been an issue with Chrome download thru Firefox or the installer, so I searched for "install google chrome on Linux Lite".

My Firefox history did show a link to the Chrome download page immediately followed by "Welcome to Chrome" page and then two pages - for a couple extensions I use - auto-loaded after they auto-installed. So it looks like it was done thru browser, but I can't be 100% on that, because I vaguely remember using terminal. Firefox "Downloads" shows only one: google-chrome-stable_current_amd64.deb

Right after that, I installed a few Chrome themes, 4 or 5. Not sure if that's relevant, but thought with multiple redundancies or whatever, maybe that is related??

------

Worst case scenario, I was not on LL forum as I thought, but was here: http://linuxg.net/google-chome-has-been-updated-to-version-42-0-2311-135/ and I may have used this to install Chrome:

$ sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

$ sudo apt-get update

$ sudo apt-get install google-chrome-stable



-------

Thanks for your time.
 

 

maciaccio

  • New to Forums
  • *
  • 24
    Posts
  • Country: us
  • Reputation: 3
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: AMD Turion 64 mobile ML-32 1.8ghz K8

  • MEMORY: 2Gb

  • VIDEO CARD: ATI RS480 [Mobility Radeon Xpress 200]
FWIW, as I try to investigate this...

SPM was showing the error msg, not at startup, but after I hit "Reload".

I looked in: etc/apt/sources.list.d/google.list

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


Since there were five entries, similar to the redundancy error msg, i.e.: "list:5..."  I deleted four of them (had to open as Admin to save.)


I looked in: etc/apt/sources.list.d/chrome-google.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


I left this alone. Reboot. Open Syn Pkg Man.

Now there are only four error msg's:
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1


SPM shows: "84742 packages listed, 1838 installed, 0 broken, 0 to install/upgrade, 0 to remove"


Edit>

On a hunch, I commented out the remaining entry in:

etc/apt/sources.list.d/google.list

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


Open Chrome, everything seems fine.

Open Syn Pkg Mgr, Reload and there are no error messages!

google-chrome-stable, installed version: 58.0.3029.110-1

18 packages listed, 1838 installed, 0 broken, 0 to install/upgrade, 0 to remove

Apparently I have solved this. I am not sure: why it happened or how to avoid it reoccurring; if my fix is innocuous or will cause other issues; or if this is widespread or unique to my experience.

Maybe someone should check my work. ;)

Last Edit: June 01, 2017, 10:21:19 PM by maciaccio
 

 

ralphy

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 740
    Posts
  • Country: us
  • Reputation: 114
  • Linux Lite Developer

  • Linux Lite: 3.8 64bit

From Terminal:


Code: [Select]
sudo rm -f /etc/apt/sources.list.d/google.list

You don't need the same sources in two different files; that's the error.
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

 

 

maciaccio

  • New to Forums
  • *
  • 24
    Posts
  • Country: us
  • Reputation: 3
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: AMD Turion 64 mobile ML-32 1.8ghz K8

  • MEMORY: 2Gb

  • VIDEO CARD: ATI RS480 [Mobility Radeon Xpress 200]

From Terminal:


Code: [Select]
sudo rm -f /etc/apt/sources.list.d/google.list

You don't need the same sources in two different files; that's the error.

That would have been easier.

I wonder why it was in both files then? Maybe it is related to the GDeb pkg installer not working the 1st time and  then using terminal? Was put in both files by the two different install processes? I'm guessing here...
 

 

ralphy

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 740
    Posts
  • Country: us
  • Reputation: 114
  • Linux Lite Developer

  • Linux Lite: 3.8 64bit

It was on a second file google.list because it was manually added in the initial install.


Quote
$ sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'


Google Chrome installer will add google-chrome.list to sources hence giving you the double sources issue. Next time, just browse to Google.com, download it and manually install the deb package using gdeb.


Cheers!
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

 


Tags:
 


Linux Lite 4.6 RC1 has been released. See the Release Announcements section for more information.