Reply
Highlighted
Explorer
Posts: 28
Registered: ‎04-15-2018

Failed to install cloudera-manager-agent package.

I was installing Cloudera manager (Installation Path B - Manual Installation Using Cloudera Manager Packages) in my machine having Ubuntu 16.04 LTS xenial OS.

 

When I was installing CDH from admin console my installation was failed. I got the following error.

 

`/tmp/scm_prepare_node.m3n241i8 
using SSH_CLIENT to get the SCM hostname: 192.16*.*.1**  53880 22 
opening logging file descriptor 

Starting installation script... Acquiring installation lock...

BEGIN flock 4 
END (0) 

Detecting root privileges...

effective UID is 0 

Detecting distribution...

BEGIN grep 'Ubuntu' /etc/lsb-release 
DISTRIB_ID=Ubuntu 
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS" 
END (0) 
BEGIN grep DISTRIB_CODENAME /etc/lsb-release 
DISTRIB_CODENAME=xenial 
END (0) 
BEGIN echo DISTRIB_CODENAME=xenial | cut -d = -f 2 
xenial 
END (0) 

Detecting Cloudera Manager Server...

BEGIN host -t PTR 192.168.0.104 
Host 104.0.168.192.in-addr.arpa. not found: 3(NXDOMAIN) 
END (1) 
BEGIN which python 
/usr/bin/python 
END (0) 
BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' 192.168.0.104 7182 
END (0) 
BEGIN which wget 
/usr/bin/wget 
END (0) 
BEGIN wget -qO- -T 1 -t 1 http://169.254.169.254/latest/meta-data/public-hostname && /bin/echo 
END (4) 

Installing package repositories...

validating format of repository file /tmp/scm_prepare_node.m3n241i8/repos/ubuntu_xenial/cloudera-manager.list 
installing repository file /tmp/scm_prepare_node.m3n241i8/repos/ubuntu_xenial/cloudera-manager.list 
repository file /tmp/scm_prepare_node.m3n241i8/repos/ubuntu_xenial/cloudera-manager.list installed 
BEGIN apt-key add /tmp/scm_prepare_node.m3n241i8/archive.key 
OK 
END (0) 
installing priority file /tmp/scm_prepare_node.m3n241i8/priorities/ubuntu_xenial/cloudera.pref 
priority file /tmp/scm_prepare_node.m3n241i8/priorities/ubuntu_xenial/cloudera.pref installed 

Refreshing package metadata...

BEGIN apt-get update 
Hit:1 http://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5 InRelease 
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] 
Hit:3 https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5.15.0 InRelease 
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease 
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] 
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] 
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [831 kB] 
Err:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 
Hash Sum mismatch 
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [754 kB] 
Err:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages 

Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [341 kB] 
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB] 
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [225 kB] 
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,556 B] 
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7,524 B] 
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B] 
Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B] 
Get:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [680 kB] 
Err:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 

Get:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [620 kB] 
Err:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages 

Fetched 3,225 kB in 4s (703 kB/s) 
Reading package lists... 
W: http://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5/InRelease: Signature by key F36A89E33CC1BD0F71079007327574EE02A818DD uses weak digest algorithm (SHA1) 
W: https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5.15.0/InRelease: Signature by key F36A89E33CC1BD0F71079007327574EE02A818DD uses weak digest algorithm (SHA1) 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/by-hash/SHA256/6fa06f49a2... Hash Sum mismatch 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-i386/by-hash/SHA256/dae248f756e... 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-amd64/by-hash/SHA256/7482a2... 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-i386/by-hash/SHA256/60aed3a... 
E: Some index files failed to download. They have been ignored, or old ones used instead. 
END (100) 
BEGIN apt-get update 
Hit:1 http://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5 InRelease 
Hit:2 https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5.15.0 InRelease 
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] 
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease 
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] 
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] 
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [831 kB] 
Err:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 
Hash Sum mismatch 
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [341 kB] 
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB] 
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [225 kB] 
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,556 B] 
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7,524 B] 
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B] 
Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B] 
Fetched 1,171 kB in 3s (308 kB/s) 
Reading package lists... 
W: http://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5/InRelease: Signature by key F36A89E33CC1BD0F71079007327574EE02A818DD uses weak digest algorithm (SHA1) 
W: https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5.15.0/InRelease: Signature by key F36A89E33CC1BD0F71079007327574EE02A818DD uses weak digest algorithm (SHA1) 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/by-hash/SHA256/6fa06f49a2... Hash Sum mismatch 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-i386/by-hash/SHA256/dae248f756e... 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-amd64/by-hash/SHA256/7482a2... 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-i386/by-hash/SHA256/60aed3a... 
E: Some index files failed to download. They have been ignored, or old ones used instead. 
END (100) 

Installing cloudera-manager-agent package...

BEGIN dpkg -l cloudera-manager-agent | grep -E '^ii[[:space:]]*cloudera-manager-agent[[:space:]]*' 
dpkg-query: no packages found matching cloudera-manager-agent 
END (1) 
BEGIN apt-cache show cloudera-manager-agent 
Package: cloudera-manager-agent 
Source: enterprise 
Version: 5.15.0-1.cm5150.p0.62~xenial-cm5 
Architecture: amd64 
Maintainer: Cloudera Inc. <https://issues.cloudera.org> 
Installed-Size: 45100 
Depends: libc6 (>= 2.17), libcomerr2 (>= 1.01), libgcc1 (>= 1:3.0), libgssapi-krb5-2 (>= 1.10+dfsg~), libkrb5-3 (>= 1.6.dfsg.2), libssl1.0.0 (>= 1.0.2~beta3), libstdc++6 (>= 5.2), zlib1g (>= 1:1.2.0), lsb-base, psmisc, bash, libsasl2-modules, libsasl2-modules-gssapi-mit, libxslt1.1, libsqlite3-0, openssl, libssl-dev, libfuse2, fuse-utils | fuse, rpcbind, cloudera-manager-daemons (= 5.15.0-1.cm5150.p0.62~xenial-cm5), perl, python-psycopg2, python-mysqldb, apache2, iproute2 
Homepage: http://www.cloudera.com 
Priority: extra 
Section: misc 
Filename: pool/contrib/e/enterprise/cloudera-manager-agent_5.15.0-1.cm5150.p0.62~xenial-cm5_amd64.deb 
Size: 11334220 
SHA256: 7b5443a2d97635d91a0ed981d6f16ddc38869ce11d426477f4ddb45fa39deb79 
SHA1: 4cbe5ba24c17349b2d9514b002665ca4fe5227e6 
MD5sum: 115a575e00735b84e56055b24c7dcf1d 
Description: The Cloudera Manager Agent 
The Agent is deployed to machines running services managed by Cloudera Manager. 
Description-md5: 482a592ee859d31443f58aa3e48fe303 

END (0) 
Version: 5.15.0-1.cm5150.p0.62~xenial-cm5 
BEGIN apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -y install cloudera-manager-agent 
Reading package lists... 
Building dependency tree... 
Reading state information... 
Some packages could not be installed. This may mean that you have requested
an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
cloudera-manager-agent : Depends: libssl-dev but it is not going to be installed 
E: Unable to correct problems, you have held broken packages. 
END (100) 
remote package cloudera-manager-agent could not be installed, giving up 
waiting for rollback request 

 

detected rollback request 
rolling back installation 

Reverting changes...

rollback started 

Removing package repositories...

ls: cannot access '/etc/apt/sources.list.d/cloudera-manager.list.~*~': No such file or directory 
repository file /etc/apt/sources.list.d/cloudera-manager.list removed 
repository file /etc/apt/preferences.d/cloudera.pref restored 

Cleaning the package manager cache...

BEGIN apt-get update 
Hit:1 http://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5 InRelease 
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] 
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease 
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] 
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] 
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [831 kB] 
Err:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 
Hash Sum mismatch 
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [341 kB] 
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB] 
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [225 kB] 
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7556 B] 
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7524 B] 
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2272 B] 
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B] 
Fetched 1171 kB in 2min 5s (9348 B/s) 
Reading package lists... 
W: http://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5/InRelease: Signature by key F36A89E33CC1BD0F71079007327574EE02A818DD uses weak digest algorithm (SHA1) 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/by-hash/SHA256/6fa06f49a2... Hash Sum mismatch 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-i386/by-hash/SHA256/dae248f756e... 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-amd64/by-hash/SHA256/7482a2... 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-i386/by-hash/SHA256/60aed3a... 
E: Some index files failed to download. They have been ignored, or old ones used instead. 
END (100) 

Uninstalled.

rollback completed 
closing logging file descriptor
 
Please kindly give the solution
 
Thanks and regards
Solomon.
Announcements