Support Questions

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

Error installing on ubuntu

avatar
Explorer

Hi,

 

I am trying to install using the cloudera manager installer. It is failing with the following error:

 

W: Failed to fetch http://archive.cloudera.com/gplextras/ubuntu/precise/amd64/gplextras/dists/precise-gplextras4/Releas... Unable to find expected entry 'contrib/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

 

Any help would be appreciated.

 

thanks

 

dave

1 ACCEPTED SOLUTION

avatar
This is a bit baffling. I created a new Trusty VM, installed CM with
the .bin installer and it went through fine. I checked my apt
repositories and there was no mention of Wheezy. Note that Wheezy is
Debian and Trusty is Ubuntu. The .bin installer would not add the
wheezy bits to /etc/apt

Are you using an older machine/vm for this experiment? Can you check
all files under /etc/apt to see if the wheezy repositories are
present?

Regards,
Gautam Gopalakrishnan

View solution in original post

18 REPLIES 18

avatar
I just tried installing Cloudera Manager with the same steps on a new Ubuntu 14.04 host and it worked fine. Are you able to look into the files in /var/log/cloudera-manager-installation and see what might be the problem? You can post the problematic logs here as well and we can try to assist
Regards,
Gautam Gopalakrishnan

avatar
Explorer

Hit http://repo.steampowered.com precise InRelease
Ign http://dl.google.com stable InRelease
Hit http://repo.steampowered.com precise/steam Sources
Ign http://dl.google.com stable InRelease
Hit http://repo.steampowered.com precise/steam amd64 Packages
Hit http://dl.google.com stable Release.gpg
Ign http://us.archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://extras.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://repo.steampowered.com precise/steam i386 Packages
Ign http://us.archive.ubuntu.com trusty-updates InRelease
Hit http://dl.google.com stable Release
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security Release
Hit http://dl.google.com stable/main i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Get:1 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://dl.google.com stable/main amd64 Packages
Hit http://archive.cloudera.com wheezy-cdh5 InRelease
Hit http://us.archive.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://dl.google.com stable/main i386 Packages
Hit http://extras.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty Release.gpg
Get:2 http://us.archive.ubuntu.com trusty-updates Release [62.0 kB]
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.cloudera.com trusty-cm5 InRelease
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://archive.cloudera.com wheezy-cdh5/contrib Sources
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe Sources
Ign http://repo.steampowered.com precise/steam Translation-en_US
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://repo.steampowered.com precise/steam Translation-en
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://archive.cloudera.com wheezy-cdh5/contrib amd64 Packages
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.cloudera.com trusty-cm5/contrib Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit https://private-ppa.launchpad.net trusty Release
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.cloudera.com trusty-cm5/contrib amd64 Packages
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Get:3 http://us.archive.ubuntu.com trusty-updates/main Sources [148 kB]
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Get:4 http://us.archive.ubuntu.com trusty-updates/restricted Sources [2,057 B]
Ign http://ppa.launchpad.net trusty/main Translation-en
Get:5 http://us.archive.ubuntu.com trusty-updates/universe Sources [95.0 kB]
Get:6 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [3,539 B]
Get:7 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [384 kB]
Get:8 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [8,861 B]
Get:9 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [228 kB]
Get:10 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [9,356 B]
Get:11 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [378 kB]
Ign http://archive.cloudera.com trusty-cm5/contrib Translation-en_US
Ign https://private-ppa.launchpad.net trusty/main Translation-en_US
Get:12 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [8,832 B]
Ign http://archive.cloudera.com trusty-cm5/contrib Translation-en
Get:13 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [229 kB]
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Get:14 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [9,539 B]
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Fetched 1,568 kB in 8s (183 kB/s)
W: Failed to fetch http://archive.cloudera.com/cdh5/debian/wheezy/amd64/cdh/dists/wheezy-cdh5/InRelease Unable to find expected entry 'contrib/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

avatar
This is a bit baffling. I created a new Trusty VM, installed CM with
the .bin installer and it went through fine. I checked my apt
repositories and there was no mention of Wheezy. Note that Wheezy is
Debian and Trusty is Ubuntu. The .bin installer would not add the
wheezy bits to /etc/apt

Are you using an older machine/vm for this experiment? Can you check
all files under /etc/apt to see if the wheezy repositories are
present?

Regards,
Gautam Gopalakrishnan

avatar
Explorer

Hit http://repo.steampowered.com precise InRelease
Ign http://dl.google.com stable InRelease
Hit http://repo.steampowered.com precise/steam Sources
Ign http://dl.google.com stable InRelease
Hit http://repo.steampowered.com precise/steam amd64 Packages
Hit http://dl.google.com stable Release.gpg
Ign http://us.archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://extras.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://repo.steampowered.com precise/steam i386 Packages
Ign http://us.archive.ubuntu.com trusty-updates InRelease
Hit http://dl.google.com stable Release
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security Release
Hit http://dl.google.com stable/main i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Get:1 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://dl.google.com stable/main amd64 Packages
Hit http://archive.cloudera.com wheezy-cdh5 InRelease
Hit http://us.archive.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://dl.google.com stable/main i386 Packages
Hit http://extras.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty Release.gpg
Get:2 http://us.archive.ubuntu.com trusty-updates Release [62.0 kB]
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://archive.cloudera.com trusty-cm5 InRelease
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://archive.cloudera.com wheezy-cdh5/contrib Sources
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe Sources
Ign http://repo.steampowered.com precise/steam Translation-en_US
Hit http://us.archive.ubuntu.com trusty/multiverse Sources

avatar
Explorer

Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://repo.steampowered.com precise/steam Translation-en
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://archive.cloudera.com wheezy-cdh5/contrib amd64 Packages
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.cloudera.com trusty-cm5/contrib Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit https://private-ppa.launchpad.net trusty Release
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.cloudera.com trusty-cm5/contrib amd64 Packages
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Get:3 http://us.archive.ubuntu.com trusty-updates/main Sources [148 kB]
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Get:4 http://us.archive.ubuntu.com trusty-updates/restricted Sources [2,057 B]
Ign http://ppa.launchpad.net trusty/main Translation-en
Get:5 http://us.archive.ubuntu.com trusty-updates/universe Sources [95.0 kB]
Get:6 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [3,539 B]
Get:7 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [384 kB]
Get:8 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [8,861 B]
Get:9 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [228 kB]
Get:10 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [9,356 B]
Get:11 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [378 kB]
Ign http://archive.cloudera.com trusty-cm5/contrib Translation-en_US
Ign https://private-ppa.launchpad.net trusty/main Translation-en_US
Get:12 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [8,832 B]
Ign http://archive.cloudera.com trusty-cm5/contrib Translation-en
Get:13 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [229 kB]
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Get:14 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [9,539 B]
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Fetched 1,568 kB in 8s (183 kB/s)
W: Failed to fetch http://archive.cloudera.com/cdh5/debian/wheezy/amd64/cdh/dists/wheezy-cdh5/InRelease Unable to find expected entry 'contrib/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

avatar
Explorer

I found this : https://groups.google.com/a/cloudera.org/forum/#!topic/cdh-user/U2eJ8tZnPos

 

and changed the cloudera.list second entry by adding [arch=amd64] to make the file look like this

 

# packages for Cloudera Manager, Version 5, on Ubuntu 14.04 x86_64
deb [arch=amd64] http://archive.cloudera.com/cm5/ubuntu/trusty/amd64/cm trusty-cm5 contrib
deb-src [arch=amd64] http://archive.cloudera.com/cm5/ubuntu/trusty/amd64/cm trusty-cm5 contrib

 

Now there is a slight difference in the error message.

 

W: Failed to fetch http://archive.cloudera.com/cdh5/debian/wheezy/amd64/cdh/dists/wheezy-cdh5/InRelease Unable to find expected entry 'contrib/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

 

Hope that helps.

avatar
Explorer

Can any one help me with this error?

avatar
Is this a fresh Ubuntu installation? I am not able to understand how a repo
for Wheezy (Debian) was added when the OS is Trusty (Ubuntu)

Are you able to track down where the wheezy repo is present and disable it?
Then try again.

Regards,
Gautam Gopalakrishnan

avatar
Explorer

looks like i had Wheezy repo on from some earlier instal. I removed it and it worked. sort of. I am now stuck at another error much further down the line. I will hunt around for the solution or open another thread.