Support Questions

Find answers, ask questions, and share your expertise

Failed to connect to repository, Ubuntu 12.04.03 LTS

avatar
Guru

Hi,

 

I post this question here in addition to the CDH section, since I don't know if its CDH or CM related.

I've installed a new Ubuntu12.04.03 64bit server vm (Virtualbox on Linux) and added the cloudera repos for CDH and CM in an own .list file,

and added the repo key via "curl -s http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh/archive.key | sudo apt-key add -" successfully.

 

Just as described here: http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Instal...

 

Sadly the command "sudo apt-get update" produces errors =>

""

...

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
Hit http://security.ubuntu.com precise-security/universe Translation-en
Err http://archive.cloudera.com precise-cdh4/contrib Sources
404 Not Found
Err http://archive.cloudera.com precise-cdh4/contrib amd64 Packages
404 Not Found
Err http://archive.cloudera.com precise-cdh4/contrib i386 Packages
404 Not Found
Ign http://archive.cloudera.com precise-cdh4/contrib Translation-en
Ign http://archive.cloudera.com precise-cdh4/contrib Translation-en
W: Failed to fetch http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cdh4/contrib/source/Sources 404 Not Found

W: Failed to fetch http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cdh4/contrib/binary-amd64/Pack... 404 Not Found

W: Failed to fetch http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cdh4/contrib/binary-i386/Packa... 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
""

 

me@ubuntu:~$ cat /etc/apt/sources.list.d/cloudera.list
deb [arch=amd64] http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh precise-cdh4 contrib
deb-src http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh precise-cdh4 contrib
deb http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/ precise-cdh4 contrib
deb-src http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/ precise-cdh4 contrib

 

 

What's going wrong here ?!?!

1 ACCEPTED SOLUTION

avatar
Guru

Hi,

 

stupid me 😉 . Issue has been resolved...easily.

 

I saw the error after evaluating the .list file again and again. The entry for the CM was wrong, it has to be:

deb [arch=amd64] http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm precise-cm4 contrib
deb-src http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm precise-cm4 contrib

 

br...Gerd...

 

View solution in original post

1 REPLY 1

avatar
Guru

Hi,

 

stupid me 😉 . Issue has been resolved...easily.

 

I saw the error after evaluating the .list file again and again. The entry for the CM was wrong, it has to be:

deb [arch=amd64] http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm precise-cm4 contrib
deb-src http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm precise-cm4 contrib

 

br...Gerd...