containers-common

Edit Package containers-common
No description set
Source Files
Filename Size Changed
_service 0000001360 1.33 KB
containers-common_1-22.dsc 0000000647 647 Bytes
containers-common_1-22.tar.gz 0000123216 120 KB
Comments 8

Brian Guetzlaff's avatar

It looks like there was a recent change in the last couple of weeks that updated the dependencies to include containerd.io. I noticed this when I saw the version of this package change from 4:1-18.el7.22.1 to 4:1-18.el7.23.1.

The environment is CentOS 7.9.

Was that intentional? The only place I'm seeing to get containerd.io is using the Docker CE repository, but the packages there have further dependencies on oci-runtime that are not satisfied for CentOS 7 (looks like 8+ is the only place to find that for now).

Any help you can offer here is greatly appreciated.


Peter Hunt's avatar

Hey! I made this change, as I was attempting to find a fix for https://github.com/cri-o/cri-o/issues/5712. the CentOS 7 package for cri-o-runc will provide oci-runtime but will fail to install if docker is already installed. This is because the containerd.io package provides runc, but does not officially state it Provides: oci-runtime.

However, I have just realized the containerd spec also says "Provides: runc" which we should be able to use. I am going to attempt that


Brian Guetzlaff's avatar

Thanks! I noticed that rev 23 also adds an "or" conditional to Requires in the .spec file. That's supported by rpm 4.13+, but the latest available on CentOS 7 is 4.11. Is there a way to work around that?

As an update to what we're trying to do, there's no Docker installed on this system (it's Centos 7.9 minimal). We're just trying to install podman, and ran into that dependency issue during the installation process.


Brian Guetzlaff's avatar

Just tried with 4:1-19.el7.27.1.noarch, and there's no more containerd.io error (or oci-runtime), so yay! However, it's still tripping up on the boolean:

Requires: or


Brian Guetzlaff's avatar

I think this might work to fix the "or" snag on RHEL/CentOS versions locked to versions of RPM < 4.11: %if 0%{?centos} >= 8 Requires: (oci-runtime or runc) %else Requires: oci-runtime %endif


Peter Hunt's avatar

Thanks for the suggestion. I have set CentOS 7 to require runc instead of oci-runtime because I don't know if crun makes sense for it


Brian Guetzlaff's avatar

Working like a charm for us now. Many thanks!


Peter Hunt's avatar

thanks for your patience, cheers!

openSUSE Build Service is sponsored by