Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

apt error "archive not found" in Ubuntu 12.04 LTS

avatar
Guru

Hi,

 

I've installed a new Ubuntu12.04.03 64bit server vm and added the cloudera repos for CDH and CM in an own .list file =>

/etc/apt/sources.list.d/cloudera.list contains:

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

 

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,

 

issue is solved, I think I need to take some reading lessons 🙂

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

 

View solution in original post

1 REPLY 1

avatar
Guru

Hi,

 

issue is solved, I think I need to take some reading lessons 🙂

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