Unable to locate package google-chrome-stable ubuntu12 on openstack Unable to locate package google-chrome-stable ubuntu12 on openstack bash bash

Unable to locate package google-chrome-stable ubuntu12 on openstack


Setup key with:

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

Setup repository with:

sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'sudo apt-get update sudo apt-get install google-chrome-stable

(https://www.ubuntuupdates.org/ppa/google_chrome)


As written in the comment above, The fix is adding:
deb http://dl.google.com/linux/chrome/deb/ stable main to the source file:

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


First you need to add key:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A040830F7FAC5991

and then you could do:

echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google.listapt-get update && apt-get install -y google-chrome-stable

Without key you are installing unsigned package and because of that you might get problems late.