Updating : iputils-20160308-8.el7.x86_64
Error unpacking rpm package iputils-20160308-8.el7.x86_64
error: unpacking of archive failed on file /usr/bin/ping: cpio: cap_set_file
error: iputils-20160308-8.el7.x86_64: install failed
```
The rest of the build is available at [2].
Following the advice of others [3, 4], I tried:
```
docker run -t centos:centos7 /bin/bash -c 'echo "%_netsharedpath /sys:/proc" >> /etc/rpm/macros.dist; yum -y update'
```
That fixed the `filesystem` package update; however, the `iputils` package still fails. See [5].
Any thoughts on what the problem is and how to fix it or work around it?
_P.S. I'm putting the links down here since I'm apparently not allowed more than 2 as a new user to the forum._
[1] lists.centos.org/pipermail/centos-announce/2016-December/022172.html
[2] circleci.com/gh/rheosystems/circleci-docker-centos-test/1
[3] old.kkoncepts.net/blog/upgrading-filesystem-rpm-redhatcentos-vserver-guest
[4] bugzilla.redhat.com/show_bug.cgi?id=210945#c8
[5] circleci.com/gh/rheosystems/circleci-docker-centos-test/2
RUN yum clean all \
&& yum update -y \
&& yum install -y qemu-kvm bridge-utils iproute dnsmasq \
&& yum clean all
Building it in both my machine from scratch and in dockerHub succeeds, so it seems that it’s something related with the VM CircleCI uses for building the container image, right?.
It would be nice that someone from CircleCI confirm that it’s indeed a bug on the system, of it could be related with anything else.
We’re having the same issue - has anyone from CircleCI responded with a workaround? This seems like a pretty major issue to have no official response from.