Support Questions

Find answers, ask questions, and share your expertise

Failed to install CDH5 packages from archive.cloudera.com

avatar
Explorer

The installation of CDH5 packages from archive.cloudera.com fails:

> sudo wget 'https://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/cloudera.list' -O /etc/apt/sources.list.d/cloudera.list
... (command succeeds)

> sudo apt update
...
E: Failed to fetch http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/dists/xenial-cdh5/contrib/source/Sources  Writing more data than expected (11598 > 11595)
E: Failed to fetch http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/dists/xenial-cdh5/contrib/binary-amd64/Packages  
E: Some index files failed to download. They have been ignored, or old ones used instead.

Looks like the tree is inconsistent:

See also https://community.cloudera.com/t5/Cloudera-Manager-Installation/Cannot-update-Cloudera-Manager-5-16-... which seems to be related.

1 ACCEPTED SOLUTION

avatar
Cloudera Employee

We rolled back the 5.16.0 release and it caused some inconsistencies in some repo files.

It should be fixed now.

 

View solution in original post

7 REPLIES 7

avatar
I dont think 5.16 is officially out (although it is available on download site)

avatar
Explorer

Yes, that sounds plausible: 5.16.0 has been uploaded to archive.cloudera.com and later been withdrawn but all the Debian Release files for the "latest" CDH5 still references the withdrawn 5.16.0 package lists. Btw., this also applies to the archives of Cloudera manager (https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5/InRelease) and gplextras. Would be great if the release files get fixed. Thanks!

 

avatar
Explorer

As a work-around (to be able to install CDH packages):

  1. edit the list of sources (/etc/apt/sources.list.d/cloudera.list) and replace "xenial-cdh5" with "xenial-cdh5.15.1"
  2. run "apt update" which will now fetch the 5.15.1 package lists

avatar
Cloudera Employee

We rolled back the 5.16.0 release and it caused some inconsistencies in some repo files.

It should be fixed now.

 

avatar
Explorer
Confirmed: the xenial/16.04 release files do not cause any issues now. Thanks!

avatar
Explorer

Hello Laszlo Zeke,

 

I think we have a similar case with 6.2

 

I have opened a question regarding but no one replied:

 

https://community.cloudera.com/t5/Cloudera-Manager-Installation/Failed-to-complete-installation-on-h...

 

 

would you please have a look on that add your comment as an expert.

 

thanks 

avatar
New Contributor

when there will be release of cdh5 for ubuntu:18.04 (bionic)