0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Install buildah and container-selinux

Posted at

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
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?