Support Questions
Find answers, ask questions, and share your expertise

Error installing on ubuntu

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

Accepted Solutions

Re: Error installing on ubuntu

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

Re: Error installing on ubuntu

Super Collaborator

From what it looks like, you have 32 bit ubuntu installed, we only support 64bit installation at this point.

 

http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Instal...

 

 

 

 

 

Re: Error installing on ubuntu

Explorer

I am facing the same issue in a 64 bit version ubuntu too. Is this issue resolved?

Re: Error installing on ubuntu

Explorer

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.

Re: Error installing on ubuntu

The message says it cannot find "contrib/binary-i386" which means the OS might be 32-bit. Are you able to show us the output of "uname -a"?
Regards,
Gautam Gopalakrishnan

Re: Error installing on ubuntu

Explorer

$ uname -a
Linux rajanish-Lenovo-IdeaPad-U260 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Re: Error installing on ubuntu

Could you show us the output of /etc/apt/sources.list please?

Regards,
Gautam Gopalakrishnan

Re: Error installing on ubuntu

Explorer

# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted

deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main

Re: Error installing on ubuntu

sources.list contains repos for "trusty" whereas the earlier post was
looking at wheezy-cdh5. So I am a bit confused here. How did you
encounter the error message regarding Wheezy?

Regards,
Gautam Gopalakrishnan

Re: Error installing on ubuntu

Explorer

wget http://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
chmod u+x cloudera-manager-installer.bin
sudo ./cloudera-manager-installer.bin

 

 

I followed these steps.