Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Failed to install CDH5 packages from archive.cloudera.com

SOLVED Go to solution
Highlighted

Failed to install CDH5 packages from archive.cloudera.com

New Contributor

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

Accepted Solutions

Re: Failed to install CDH5 packages from archive.cloudera.com

Cloudera Employee

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

It should be fixed now.

 

6 REPLIES 6

Re: Failed to install CDH5 packages from archive.cloudera.com

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

Re: Failed to install CDH5 packages from archive.cloudera.com

New Contributor

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!

 

Re: Failed to install CDH5 packages from archive.cloudera.com

New Contributor

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

Re: Failed to install CDH5 packages from archive.cloudera.com

Cloudera Employee

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

It should be fixed now.

 

Re: Failed to install CDH5 packages from archive.cloudera.com

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

Re: Failed to install CDH5 packages from archive.cloudera.com

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