sequenceiq / hadoop-docker

Hadoop docker image
https://registry.hub.docker.com/u/sequenceiq/hadoop-docker/
Apache License 2.0
1.21k stars 561 forks source link

Unable to install wget: Rpmdb checksum is invalid: dCDPT(pkg checksums): wget... #80

Open hpaknia opened 6 years ago

hpaknia commented 6 years ago

Trying to install wget:

RUN yum -y install wget \
    && yum clean all

Getting:

...
Dependencies Resolved

================================================================================
 Package         Arch              Version                Repository       Size
================================================================================
Installing:
 wget            x86_64            1.12-10.el6            base            484 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 484 k
Installed size: 1.8 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : wget-1.12-10.el6.x86_64                                      1/1

Rpmdb checksum is invalid: dCDPT(pkg checksums): wget.x86_64 0:1.12-10.el6 - u

ERROR: Service 'lr-hadoop' failed to build: The command '/bin/sh -c yum -y install wget     && yum clean all' returned a non-zero code: 1

I also have tried many different variation of installation commands, no avail.

leletan commented 6 years ago

+1 for the same error when trying to build the image: docker build -t sequenceiq/hadoop-docker:2.7.1 .

Rpmdb checksum is invalid: dCDPT(pkg checksums): libselinux-utils.x86_64 0:2.0.94-7.el6 - u

leletan commented 6 years ago

This seems to fix the issue

hpaknia commented 6 years ago

@leletan what seems to fix the issue?

leletan commented 6 years ago

@hpaknia "This" in my previous reply should redirect you to https://github.com/CentOS/sig-cloud-instance-images/issues/15