Dnf module "container-tools 3.0" is without default profile

  • I found that
    dnf module “container-tools 3.0” is without default profile
    like below
    [root@nrocky8-34 ~]# dnf module list container-tools | cut -b 1-120
    Last metadata expiration check: 0:07:10 ago on Thu 01 Jul 2021 11:31:45 AM JST.
    Rocky Linux 8 - Media - AppStream
    Name Stream Profiles Summary
    container-tools rhel8 [d][e] common [d] Most recent (rolling) versions of podman, buildah, skopeo, runc, conmon, runc, c
    container-tools 1.0 common [d] Stable versions of podman 1.0, buildah 1.5, skopeo 0.1, runc, conmon, CRIU, Udic
    container-tools 2.0 common [d] Stable versions of podman 1.6, buildah 1.11, skopeo 0.1, runc, conmon, etc as we
    container-tools 3.0 common Stable versions of podman 3.0, buildah 1.19, skopeo 1.2, runc, conmon, etc as we

  • Substantial problem is we get error like below
    when
    dnf module reset container-tools:rhel8
    dnf module install container-tools:3.0
    [root@nrocky8-34 ~]# dnf module install container-tools:3.0
    Last metadata expiration check: 0:07:20 ago on Thu 01 Jul 2021 11:31:45 AM JST.
    No default profiles for module container-tools:3.0. Available profiles: common
    Error: Problems in request:
    broken groups or modules: container-tools:3.0

  • CentOS8.4 is ok
    [root@ncent8-20 ~]# cat /etc/redhat-release
    CentOS Linux release 8.4.2105
    [root@ncent8-20 ~]# dnf module list container-tools | cut -b 1-120
    Last metadata expiration check: 0:45:36 ago on Thu 01 Jul 2021 10:53:02 AM JST.
    CentOS Linux 8 - Media - AppStream
    Name Stream Profiles Summary
    container-tools rhel8 [d][e] common [d] Most recent (rolling) versions of podman, buildah, skopeo, runc, conmon, runc, c
    container-tools 1.0 common [d] Stable versions of podman 1.0, buildah 1.5, skopeo 0.1, runc, conmon, CRIU, Udic
    container-tools 2.0 common [d] Stable versions of podman 1.6, buildah 1.11, skopeo 0.1, runc, conmon, etc as we
    container-tools 3.0 common [d] Stable versions of podman 3.0, buildah 1.19, skopeo 1.2, runc, conmon, etc as we

Did you find any solution to this?

Hi, this is how you solve it:

[root@rocky ~]# dnf module enable container-tools:3.0
Last metadata expiration check: 0:05:15 ago on Tue 26 Apr 2022 19:12:11 CEST.
Dependencies resolved.
================================================================================================================================
 Package                       Architecture                 Version                         Repository                     Size
================================================================================================================================
Enabling module streams:
 container-tools                                            3.0                                                                

Transaction Summary
================================================================================================================================

Is this ok [y/N]: y
Complete!

now that the module has been enabled, now we install:

[root@rocky ~]# dnf module install container-tools:3.0/common
Last metadata expiration check: 0:05:28 ago on Tue 26 Apr 2022 19:12:11 CEST.
Dependencies resolved.
================================================================================================================================
 Package                              Architecture   Version                                            Repository         Size
================================================================================================================================
Installing group/module packages:
 buildah                              x86_64         1.19.9-1.module+el8.5.0+734+8397cf81               appstream         6.9 M
 cockpit-podman                       noarch         29-2.module+el8.5.0+734+8397cf81                   appstream         1.1 M
 conmon                               x86_64         2:2.0.26-1.module+el8.5.0+734+8397cf81             appstream          50 k
 container-selinux                    noarch         2:2.167.0-1.module+el8.5.0+734+8397cf81            appstream          50 k
 containernetworking-plugins          x86_64         0.9.1-1.module+el8.5.0+734+8397cf81                appstream          20 M
 criu                                 x86_64         3.15-1.module+el8.5.0+709+440d5e7e                 appstream         510 k
 crun                                 x86_64         0.18-2.module+el8.5.0+734+8397cf81                 appstream         184 k
 fuse-overlayfs                       x86_64         1.4.0-2.module+el8.5.0+734+8397cf81                appstream          71 k
 libslirp                             x86_64         4.3.1-1.module+el8.5.0+709+440d5e7e                appstream          68 k
 podman                               x86_64         3.0.1-7.module+el8.5.0+734+8397cf81                appstream          11 M
 runc                                 x86_64         1.0.0-72.rc92.module+el8.5.0+734+8397cf81          appstream         2.9 M
 skopeo                               x86_64         1:1.2.4-1.module+el8.5.0+734+8397cf81              appstream         6.5 M
 slirp4netns                          x86_64         1.1.8-1.module+el8.5.0+709+440d5e7e                appstream          50 k
 toolbox                              x86_64         0.0.99.3-1.module+el8.5.0+734+8397cf81             appstream         2.3 M
 udica                                noarch         0.2.4-1.module+el8.5.0+734+8397cf81                appstream          49 k
Installing dependencies:
 checkpolicy                          x86_64         2.9-1.el8                                          baseos            345 k
 cockpit-bridge                       x86_64         251.3-1.el8_5                                      baseos            538 k
 containers-common                    x86_64         1:1.2.4-1.module+el8.5.0+734+8397cf81              appstream         100 k
 dejavu-fonts-common                  noarch         2.35-7.el8                                         baseos             73 k
 fuse-common                          x86_64         3.2.1-12.el8                                       baseos             20 k
 fuse3                                x86_64         3.2.1-12.el8                                       baseos             49 k
 fuse3-libs                           x86_64         3.2.1-12.el8                                       baseos             93 k
 glib-networking                      x86_64         2.56.1-1.1.el8                                     baseos            153 k
 gsettings-desktop-schemas            x86_64         3.32.0-6.el8                                       baseos            632 k
 libmodman                            x86_64         2.0.1-17.el8                                       baseos             35 k
 libnet                               x86_64         1.1.6-15.el8                                       appstream          66 k
 libproxy                             x86_64         0.4.15-5.2.el8                                     baseos             73 k
 podman-catatonit                     x86_64         3.0.1-7.module+el8.5.0+734+8397cf81                appstream         319 k
 policycoreutils-python-utils         noarch         2.9-16.el8                                         baseos            251 k
 python3-audit                        x86_64         3.0-0.17.20191104git1c2f876.el8.1                  baseos             85 k
 python3-libsemanage                  x86_64         2.9-6.el8                                          baseos            126 k
 python3-policycoreutils              noarch         2.9-16.el8                                         baseos            2.2 M
 python3-setools                      x86_64         4.3.0-2.el8                                        baseos            625 k
 yajl                                 x86_64         2.1.0-10.el8                                       appstream          40 k
Installing weak dependencies:
 abattis-cantarell-fonts              noarch         0.0.25-6.el8                                       appstream         154 k
 dejavu-sans-mono-fonts               noarch         2.35-7.el8                                         baseos            446 k
Installing module profiles:
 container-tools/common                                                                                                        

Transaction Summary
================================================================================================================================
Install  36 Packages

Total download size: 58 M
Installed size: 200 M
Is this ok [y/N]:

We’re aware of this issue. I would follow @iwalker’s advice on getting it installed.

We will try to fix this when we do our next push of updates tomorrow. This particular issue shouldn’t be there in 8.6.