cookbooks/apt — Issue #5: handle google-chrome repos
Author: hedgehog
Created: 2011-12-07 06:45:17+00:00
State: open

As best I can work out the apt LWRP cannot handle the google-chrome ppa:
http://www.ubuntuupdates.org/ppas/8

apt_repository "google-chrome-stable" do
uri "http://dl.google.com/linux/chrome/"
#distribution 'deb' #node['lsb']['codename']
components ["main", "stable"]
key "https://dl-ssl.google.com/linux/linux_signing_key.pub"
action :add
end

Yields

Err http://dl.google.com lucid/stable Packages
404 Not Found
Err http://archive.canonical.com lucid Release.gpg
Could not connect to archive.canonical.com:80 (91.189.88.33). - connect (110: Connection timed out)
Ign http://archive.canonical.com lucid Release
Ign http://archive.canonical.com lucid/partner Packages
Ign http://archive.canonical.com lucid/partner Packages
Err http://archive.canonical.com lucid/partner Packages
Unable to connect to archive.canonical.com:http:
Fetched 13.8kB in 21s (656B/s)
STDERR: W: Failed to fetch http://archive.canonical.com/dists/lucid/Release.gpg Could not connect to archive.canonical.com:80 (91.189.88.33). - connect (110: Connection timed out)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/lucid/stable/binary-amd64/Packages.gz 404 Not Found

W: Failed to fetch http://archive.canonical.com/dists/lucid/partner/binary-amd64/Packages.gz Unable to connect to archive.canonical.com:http:

E: Some index files failed to download, they have been ignored, or old ones used instead.
---- End output of apt-get update ----