Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rpmdb checksum is invalid ... libusbx.x86_64 #4

Closed
Pfiver opened this issue Apr 8, 2015 · 3 comments
Closed

Rpmdb checksum is invalid ... libusbx.x86_64 #4

Pfiver opened this issue Apr 8, 2015 · 3 comments

Comments

@Pfiver
Copy link

Pfiver commented Apr 8, 2015

I tried creating an image in a CoreOS docker host in a VirtualBox VM with a 40GB virtual disk, but step 1 fails:

$ docker build -t oracle-12c:step1 step1
...
  Cleanup    : systemd-208-11.0.1.el7_0.2.x86_64                        101/108 
  Cleanup    : systemd-libs-208-11.0.1.el7_0.2.x86_64                   102/108 
  Cleanup    : libstdc++-4.8.2-16.2.el7_0.x86_64                        103/108 
  Cleanup    : binutils-2.23.52.0.1-16.el7.x86_64                       104/108 
  Cleanup    : glibc-common-2.17-55.0.4.el7_0.1.x86_64                  105/108 
  Cleanup    : glibc-2.17-55.0.4.el7_0.1.x86_64                         106/108 
  Cleanup    : nss-softokn-freebl-3.16.2-1.el7_0.x86_64                 107/108 


Rpmdb checksum is invalid: dCDPT(pkg checksums): libusbx.x86_64 0:1.0.15-4.el7 - u
  Cleanup    : libgcc-4.8.2-16.2.el7_0.x86_64                           108/108 
INFO[0781] The command [/bin/sh -c yum -y install binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33.i686 gcc gcc-c++ glibc.i686 glibc glibc-devel glibc-devel.i686 ksh libgcc.i686 libgcc libstdc++ libstdc++.i686 libstdc++-devel libstdc++-devel.i686 libaio libaio.i686 libaio-devel libaio-devel.i686 libXext libXext.i686 libXtst libXtst.i686 libX11 libX11.i686 libXau libXau.i686 libxcb libxcb.i686 libXi libXi.i686 make sysstat vte3 smartmontools] returned a non-zero code: 1 
@Pfiver
Copy link
Author

Pfiver commented Apr 8, 2015

Could be caused by this one: moby/moby#10180

@Pfiver
Copy link
Author

Pfiver commented Apr 8, 2015

It is a docker issue. Calling "yum install ..." twice as suggested in the issue referenced in the previous comment works to sidestep the problem. Though I did not test it end to end for this image .... am trying to get https://github.com/biemond/docker-database-puppet working atm., which seems simpler to build.

@Pfiver Pfiver closed this as completed Apr 8, 2015
@xavierbaude
Copy link

There is a yum patch, simply add this in your Dockerfile :

RUN yum install -y yum-plugin-ovl

Tested in Centos 7/6 + RHEL 7/6

http://man7.org/linux/man-pages/man1/yum-ovl.1.html

Enjoy Docker/overlay :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants