You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Alma Bob <al...@gmail.com> on 2014/10/22 11:32:20 UTC

yum repo db is malformed during install

Hi everyone,

I’ve been struggling with an issue when I try to install different services on different cloud providers like Azure and GCC and the installation fails with:
Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install libganglia-3.5.0-99' returned 1. Error: database disk image is malformed
If I ssh into the VM and issue yum clean all and try to install manually yum
-d 0 -e 0 -y install .. then it works. Any suggestion what might cause this? Btw its not ganglia related, other services fail too with the same exception. Thanks in advance.

Br,
Krisz

Re: yum repo db is malformed during install

Posted by Yusaku Sako <yu...@hortonworks.com>.
HI,

I've seen this issue as well.
A related JIRA is: https://issues.apache.org/jira/browse/AMBARI-6702
It could be that when PackageAnalyzer runs on the agent, it is taking too
long (longer than default timeout 10 seconds, gets force killed, and
sometimes corrupts the rpmdb.  Increasing the timeout, as done for the
JIRA, may help.

Yusaku

On Wed, Oct 22, 2014 at 2:32 AM, Alma Bob <al...@gmail.com> wrote:

> Hi everyone,
>
> I’ve been struggling with an issue when I try to install different
> services on different cloud providers like Azure and GCC and the
> installation fails with:
> Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install libganglia-3.5.0-99'
> returned 1. Error: database disk image is malformed
> If I ssh into the VM and issue yum clean all and try to install
> manually yum
> -d 0 -e 0 -y install .. then it works. Any suggestion what might cause
> this? Btw its not ganglia related, other services fail too with the same
> exception. Thanks in advance.
>
> Br,
> Krisz
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.