chef apt_repository fetching fails

Posted by slik on Server Fault See other posts from Server Fault or by slik
Published on 2012-12-13T04:44:09Z Indexed on 2012/12/13 5:06 UTC
Read the original article Hit count: 240

Filed under:
|
|

I am trying to fetch a specific repository to install a php version but I keep getting 404 NOT FOUND.

chef recipe code:

apt_repository "dotdeb-php54" do
  uri "http://archives.dotdeb.org"
  distribution "squeeze"
  components ["php5/5.4.8"]
  key "http://www.dotdeb.org/dotdeb.gpg"
end

Trying to fetch : http://archives.dotdeb.org/dists/squeeze/php5/5.4.8

But get the following error :

Err http://archives.dotdeb.org squeeze/php5/5.4.8 amd64 Packages
  404  Not Found
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Err http://archives.dotdeb.org squeeze/php5/5.4.8 i386 Packages
  404  Not Found
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://archives.dotdeb.org squeeze/php5/5.4.8 Translation-en
STDERR: W: Failed to fetch http://archives.dotdeb.org/dists/squeeze/php5/5.4.8/binary-amd64/Packages  404  Not Found

© Server Fault or respective owner

Related posts about ubuntu

Related posts about chef