[CENTOS] Install buildah and container-selinux

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

Install buildah and container-selinux
Install and configure Keycloak
[Virtualization] Install VMware and build Ubuntu (20.04)
Install Java and Tomcat with Ansible
Install JDK and JRE on Ubuntu 16.10
Install and configure jenv on macOS
Install Xcode and use Hello Swift!
About go get and go install from Go1.16
Install Java 9 on windows 10 and CentOS 7
Challenge to install WSL2 and docker
Install docker and docker-compose on Alpine Linux
Install Webpacker and Yarn to run Rails
Download and install Eclipse (Java) (Mac version)
Install Docker and create Java runtime environment