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
You forgot to add the release code name.
/etc/apt/sources.list.d/google-chorme.list
has a misspelled name and lots of bogus or duplicate content; remove it. If the spelling mistake is only in your question but not in the actual file name, remove it nonetheless for the other reasons./etc/apt/sources.list.d/google-chrome.list.save
is supposed to be a sort of back-up ofgoogle-chrome.list
but since I just recommended to remove the latter and am about to recommend to start from scratch, let's remove this one too.Perform any of the Chrome installation procedures from the answers to “How to install Google Chrome”. I specifically recommend the answer with the 2nd most votes; the 3rd does essentially the same on the command-line only.