I always used Chrome on my PC and today I got some problems so I decided to uninstall and re-install the software. I'm stuck now cause I can't install again Chrome. I get this result from terminal; I use these 4 commands:
$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
$ sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
$ sudo apt-get update && sudo apt-get dist-upgrade
E: Malformed entry 4 in list file /etc/apt/sources.list.d/google-chrome.list (URI parse)
E: The list of sources could not be read.
$ sudo apt-get install google-chrome-stable
E: Malformed entry 4 in list file /etc/apt/sources.list.d/google-chrome.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 4 in list file /etc/apt/sources.list.d/google-chrome.list (URI parse)
E: The list of sources could not be read.
See below:
Into /etc/apt/sources.list.d/
I have 2 files of chorme
Into google-chorme.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
deb <a class=vglnk href=http://dl.google.com/linux/chrome/deb/ rel=nofollow><span>http</span><span>://</span><span>dl</span><span>.</span><span>google</span><span>.</span><span>com</span><span>/</span><span>linux</span><span>/</span><span>chrome</span><span>/</span><span>deb</span><span>/</span></a> stable main
deb <a class=vglnk href=http://dl.google.com/linux/chrome/deb/ rel=nofollow><span>http</span><span>://</span><span>dl</span><span>.</span><span>google</span><span>.</span><span>com</span><span>/</span><span>linux</span><span>/</span><span>chrome</span><span>/</span><span>deb</span><span>/</span></a> stable main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://dl.google.com/linux/chrome/deb/ stable main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ xenial stable main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ xenial stable main
Into google-chrome.list.save
### 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
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
for the second command. 32bit versions are no more available. – pomsky Sep 27 '17 at 17:30sudo rm /etc/apt/sources.list.d/google-chrome.list
then run the command I wrote in my first comment. – pomsky Sep 27 '17 at 18:30