On some special CentOS 7, when installing buildah:
curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/CentOS_7/devel:kubic:libcontainers:stable.repo
yum -y install buildah
Got these errors:
--> Processing Dependency: container-selinux >= 2:2.85-1 for package: 2:runc-1.0.0-103.dev.el7.x86_64
--> Finished Dependency Resolution
Error: Package: buildah-1.19.0-1.el7.x86_64 (devel_kubic_libcontainers_stable)
Requires: container-selinux
Error: Package: 2:runc-1.0.0-103.dev.el7.x86_64 (devel_kubic_libcontainers_stable)
Requires: container-selinux >= 2:2.85-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
But can't install container-selinux from package service, but can be installed manually.
yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-3.el7.noarch.rpm
Recommended Posts