Support Questions

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

Yum repo error ("package does not match intended download")

avatar
Explorer

I'm getting the following error when attempting to complete the Cluster Installation using Cloudera Manager on CentOS 7:

 

Downloading packages: 
Delta RPMs disabled because /usr/bin/applydeltarpm not installed. 
https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15.0/RPMS/x86_64/cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64.rpm: [Errno 12] Timeout on https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15.0/RPMS/x86_64/cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds') 
Trying other mirror. 
https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15.0/RPMS/x86_64/cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cloudera-manager clean metadata 
Trying other mirror. 

Error downloading packages: 
cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64: [Errno 256] No more mirrors to try.

I've tried "yum clean all" and other proposed solutions with no success. Is this a problem with the repo itself?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hi Alan,

 

My install worked.

 

wget https://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
--2018-06-18 08:21:08-- https://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin Resolving archive.cloudera.com (archive.cloudera.com)... 151.101.40.167 Connecting to archive.cloudera.com (archive.cloudera.com)|151.101.40.167|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 521175 (509K) [application/octet-stream] Saving to: ‘cloudera-manager-installer.bin’ 100%[===========================================================================================================>] 521,175 1.86MB/s in 0.3s 2018-06-18 08:21:09 (1.86 MB/s) - ‘cloudera-manager-installer.bin’ saved [521175/521175] chmod 777 cloudera-manager-installer.bin
./cloudera-manager-installer.bin
cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core)

Try deleting the cloudera-manager-installer.bin file you have     and delete any /etc/yum.repos.d/cloudera-manager.repo files

yum clean all

yum clean metadata

 

then copy the file and start over?

 

Notice I am running this on CentOS 7.4, what version are you using?

 

Tina

View solution in original post

11 REPLIES 11

avatar
Super Collaborator

HI Alan,

 

I believe you are trying to do an install while the repos are getting updated.    If you wait until later today it should work without any issues.

 

Tina

avatar
Explorer
Hi Tina,

The problem appears to be persisting today - is there anything else I can try to solve this?

Thanks

avatar
Super Collaborator

Hi Alan,

 

Are you doing a manual install of Cloudera Manager Server or using the cloudera-manager-installer.bin file?

 

Try this first.

 

run yum --enablerepo=cloudera-manager clean metadata

 

Looks like you might be stuck in the middle of an older version.  Just guessing.   If you are doing a manual install what does your /etc/yum.repos.d/cloudera-manager.repo file say?

 

Tina

avatar
Explorer

Hi Tina,

 

I'm using the cloudera-manager-installer.bin file.

yum --enablerepo=cloudera-manager clean metadata

Doesn't seem to have any impact - I'm still receiving the same error:

Error downloading packages: 
cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64: [Errno 256] No more mirrors to try. 

Thanks for your help,

Alan

avatar
Super Collaborator

Hmmm, worked for me on Friday.   Let me try it again.

 

In the mean time can you manually down load that file to your system?

 

wget https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.15.0/RPMS/x86_64/cloudera-manager-daemons-5.15...

 

 

Maybe it is a slow network issue?

 

Will let you know if my install works.

 

 

avatar
Super Collaborator

Hi Alan,

 

My install worked.

 

wget https://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
--2018-06-18 08:21:08-- https://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin Resolving archive.cloudera.com (archive.cloudera.com)... 151.101.40.167 Connecting to archive.cloudera.com (archive.cloudera.com)|151.101.40.167|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 521175 (509K) [application/octet-stream] Saving to: ‘cloudera-manager-installer.bin’ 100%[===========================================================================================================>] 521,175 1.86MB/s in 0.3s 2018-06-18 08:21:09 (1.86 MB/s) - ‘cloudera-manager-installer.bin’ saved [521175/521175] chmod 777 cloudera-manager-installer.bin
./cloudera-manager-installer.bin
cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core)

Try deleting the cloudera-manager-installer.bin file you have     and delete any /etc/yum.repos.d/cloudera-manager.repo files

yum clean all

yum clean metadata

 

then copy the file and start over?

 

Notice I am running this on CentOS 7.4, what version are you using?

 

Tina

avatar
Explorer

Thanks Tina, that seems to have done the trick.

 

I'm now facing a new issue - the parcel download step that follows on seems to hang at the download stage. It's trying to download CDH 5.15.0-1.cdh5.15.0.p0.21, yet only reaches 30-60% before stalling without seeming to timeout or retry. Do you have any suggestions as to how best to sort this?

 

Thanks,

Alan

avatar
Super Collaborator

Hi Alan,

 

Glad that worked, sorry you are still having problems.

 

In your original message I noticed this message:

 

Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

I googled that message and found this https://unix.stackexchange.com/questions/277900/do-i-need-to-do-something-about-delta-rpms-disabled

 

Seems that is something that will help with slow internet.   I think that might be your problem, the download is just taking a really long time.

 

Hope that helps,

 

Tina

avatar
New Contributor

Hi, I am getting following error which is similar to what is being discussed:

No Presto metadata available for cloudera-manager
http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/RPMS/x86_64/cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

 

Error downloading packages:
cloudera-manager-daemons-5.15.0-1.cm5150.p0.62.el7.x86_64: [Errno 256] No more mirrors to try

But I think cause is different. You can see in archive there is no rpm for 5.15.0 which installer is trying to download.

http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/RPMS/x86_64/

 

As of 8/17/2018 rpm available is for version 5.15.1:

Index of /cm5/redhat/7/x86_64/cm/5.15.1/RPMS/x86_64
Name	Last Modified	Size
Parent Directory
cloudera-manager-agent-5.15.1-1.cm5151.p0.3.el7.x86_64.rpm	2018-08-17 10:49	9.4 MB
cloudera-manager-daemons-5.15.1-1.cm5151.p0.3.el7.x86_64.rpm	2018-08-17 10:49	750.8 MB
cloudera-manager-server-5.15.1-1.cm5151.p0.3.el7.x86_64.rpm	2018-08-17 10:49	8.5 KB
cloudera-manager-server-db-2-5.15.1-1.cm5151.p0.3.el7.x86_64.rpm	2018-08-17 10:49	10.4 KB
enterprise-debuginfo-5.15.1-1.cm5151.p0.3.el7.x86_64.rpm	2018-08-17 10:49	29.2 MB
jdk-6u31-linux-amd64.rpm	2018-08-17 10:49	67.9 MB
oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm	2018-08-17 10:49	135.5 MB

 

Any help on how to fix this issue?