podman: Centos 8 install error

/kind bug

package checksum errors from kubic repo trying to install on Centos 8

[MIRROR] containers-common-1-6.el8.noarch.rpm: Downloading successful, but checksum doesn't match. Calculated: 00a3c53eeff9c1144b0b3fa95dd528289cfa3bdb7ba3ff407fdfcf6186afffd4(sha256) Expected: 00d1ca496f30fca20de3440855a6ffc355b3c61b5c74cd12ef051188792b01eb(sha256)

Steps to reproduce the issue:

  1. docker build -t centos-podman . using the following Dockerfile
FROM centos:8

RUN echo "[INFO] Installing Container Tools" \
    && dnf -y module disable container-tools \
    && dnf -y install 'dnf-command(copr)' \
    && dnf -y copr enable rhcontainerbot/container-selinux \
    && curl -sSL -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo \
    && dnf clean all \
    && dnf -y install podman skopeo buildah

RUN echo "[INFO] Testing container tools]" \
    && podman --storage-driver=vfs info \
    && echo yes | podman --storage-driver=vfs system reset \
    && podman --storage-driver=vfs --version \
    && buildah --storage-driver=vfs --version \
    && skopeo --version

Describe the results you received:

CentOS Linux 8 - AppStream                      730 kB/s | 6.3 MB     00:08
CentOS Linux 8 - BaseOS                         432 kB/s | 2.3 MB     00:05
CentOS Linux 8 - Extras                         7.1 kB/s | 9.0 kB     00:01
Copr repo for container-selinux owned by rhcont 2.4 kB/s | 1.4 kB     00:00
Stable Releases of Upstream github.com/containe  45 kB/s |  67 kB     00:01
Dependencies resolved.
===============================================================================================================================
 Package                       Arch    Version           Repository                                                        Size
===============================================================================================================================
Installing:
 buildah                       x86_64  1.19.6-1.el8      devel_kubic_libcontainers_stable                                  14 M
 podman                        x86_64  3.0.1-1.el8       devel_kubic_libcontainers_stable                                  23 M
 skopeo                        x86_64  2:1.2.2-1.el8     devel_kubic_libcontainers_stable                                  12 M
Upgrading:
 iptables-libs                 x86_64  1.8.4-15.el8_3.3  baseos                                                           106 k
Installing dependencies:
 conmon                        x86_64  2:2.0.26-2.el8    devel_kubic_libcontainers_stable                                  49 k
 container-selinux             noarch  2:2.145.0-1.el8   copr:copr.fedorainfracloud.org:rhcontainerbot:container-selinux   59 k
 containernetworking-plugins   x86_64  0.9.1-2.el8       devel_kubic_libcontainers_stable                                  41 M
 containers-common             noarch  4:1-6.el8         devel_kubic_libcontainers_stable                                  58 k
 crun                          x86_64  0.17-3.el8        devel_kubic_libcontainers_stable                                 186 k
 diffutils                     x86_64  3.6-6.el8         baseos                                                           358 k
 dnsmasq                       x86_64  2.79-13.el8_3.1   appstream                                                        318 k
 fuse-common                   x86_64  3.2.1-12.el8      baseos                                                            21 k
 fuse3                         x86_64  3.2.1-12.el8      baseos                                                            50 k
 fuse3-libs                    x86_64  3.2.1-12.el8      baseos                                                            94 k
 iptables                      x86_64  1.8.4-15.el8_3.3  baseos                                                           584 k
 jansson                       x86_64  2.11-3.el8        baseos                                                            46 k
 libnetfilter_conntrack        x86_64  1.0.6-5.el8       baseos                                                            65 k
 libnfnetlink                  x86_64  1.0.1-13.el8      baseos                                                            33 k
 libnftnl                      x86_64  1.1.5-4.el8       baseos                                                            83 k
 libselinux-utils              x86_64  2.9-4.el8_3       baseos                                                           242 k
 libslirp                      x86_64  4.3.1-2.el8       devel_kubic_libcontainers_stable                                  66 k
 nftables                      x86_64  1:0.9.3-16.el8    baseos                                                           312 k
 policycoreutils               x86_64  2.9-9.el8         baseos                                                           377 k
 rpm-plugin-selinux            x86_64  4.14.3-4.el8      baseos                                                            75 k
 selinux-policy                noarch  3.14.3-54.el8_3.2 baseos                                                           622 k
 selinux-policy-targeted       noarch  3.14.3-54.el8_3.2 baseos                                                            15 M
 slirp4netns                   x86_64  1.1.8-3.el8       devel_kubic_libcontainers_stable                                  55 k
 yajl                          x86_64  2.1.0-10.el8      appstream                                                         41 k
Installing weak dependencies:
 catatonit                     x86_64  0.1.5-4.el8       devel_kubic_libcontainers_stable                                 289 k
 fuse-overlayfs                x86_64  1.4.0-1.el8       devel_kubic_libcontainers_stable                                  70 k
 podman-plugins                x86_64  3.0.1-1.el8       devel_kubic_libcontainers_stable                                 2.5 M

Transaction Summary
===============================================================================================================================
Install  30 Packages
Upgrade   1 Package

Total download size: 113 M
Downloading Packages:
(1/31): yajl-2.1.0-10.el8.x86_64.rpm            408 kB/s |  41 kB     00:00
(2/31): dnsmasq-2.79-13.el8_3.1.x86_64.rpm      1.9 MB/s | 318 kB     00:00
(3/31): fuse-common-3.2.1-12.el8.x86_64.rpm      25 kB/s |  21 kB     00:00
(4/31): fuse3-3.2.1-12.el8.x86_64.rpm            47 kB/s |  50 kB     00:01
(5/31): fuse3-libs-3.2.1-12.el8.x86_64.rpm      117 kB/s |  94 kB     00:00
(6/31): diffutils-3.6-6.el8.x86_64.rpm          167 kB/s | 358 kB     00:02
(7/31): jansson-2.11-3.el8.x86_64.rpm           108 kB/s |  46 kB     00:00
(8/31): libnfnetlink-1.0.1-13.el8.x86_64.rpm     86 kB/s |  33 kB     00:00
(9/31): libnetfilter_conntrack-1.0.6-5.el8.x86_ 135 kB/s |  65 kB     00:00
(10/31): libnftnl-1.1.5-4.el8.x86_64.rpm        139 kB/s |  83 kB     00:00
(11/31): iptables-1.8.4-15.el8_3.3.x86_64.rpm   257 kB/s | 584 kB     00:02
(12/31): libselinux-utils-2.9-4.el8_3.x86_64.rp 224 kB/s | 242 kB     00:01
(13/31): rpm-plugin-selinux-4.14.3-4.el8.x86_64 149 kB/s |  75 kB     00:00
(14/31): nftables-0.9.3-16.el8.x86_64.rpm       231 kB/s | 312 kB     00:01
(15/31): policycoreutils-2.9-9.el8.x86_64.rpm   251 kB/s | 377 kB     00:01
(16/31): container-selinux-2.145.0-1.el8.noarch 700 kB/s |  59 kB     00:00
(17/31): selinux-policy-3.14.3-54.el8_3.2.noarc 273 kB/s | 622 kB     00:02
(18/31): buildah-1.19.6-1.el8.x86_64.rpm        7.1 MB/s |  14 MB     00:02
(19/31): conmon-2.0.26-2.el8.x86_64.rpm         172 kB/s |  49 kB     00:00
(20/31): catatonit-0.1.5-4.el8.x86_64.rpm       297 kB/s | 289 kB     00:00
[MIRROR] containers-common-1-6.el8.noarch.rpm: Downloading successful, but checksum doesn't match. Calculated: 00a3c53eeff9c1144b0b3fa95dd528289cfa3bdb7ba3ff407fdfcf6186afffd4(sha256)  Expected: 00d1ca496f30fca20de3440855a6ffc355b3c61b5c74cd12ef051188792b01eb(sha256)
[MIRROR] containers-common-1-6.el8.noarch.rpm: Downloading successful, but checksum doesn't match. Calculated: 00a3c53eeff9c1144b0b3fa95dd528289cfa3bdb7ba3ff407fdfcf6186afffd4(sha256)  Expected: 00d1ca496f30fca20de3440855a6ffc355b3c61b5c74cd12ef051188792b01eb(sha256)
[MIRROR] containers-common-1-6.el8.noarch.rpm: Downloading successful, but checksum doesn't match. Calculated: 00a3c53eeff9c1144b0b3fa95dd528289cfa3bdb7ba3ff407fdfcf6186afffd4(sha256)  Expected: 00d1ca496f30fca20de3440855a6ffc355b3c61b5c74cd12ef051188792b01eb(sha256)
[MIRROR] containers-common-1-6.el8.noarch.rpm: Downloading successful, but checksum doesn't match. Calculated: 00a3c53eeff9c1144b0b3fa95dd528289cfa3bdb7ba3ff407fdfcf6186afffd4(sha256)  Expected: 00d1ca496f30fca20de3440855a6ffc355b3c61b5c74cd12ef051188792b01eb(sha256)
[FAILED] containers-common-1-6.el8.noarch.rpm: No more mirrors to try - All mirrors were already tried without success

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  Cannot download noarch/containers-common-1-6.el8.noarch.rpm: All mirrors were tried
The command '/bin/sh -c echo "[INFO] Installing Container Tools"     && dnf -y module disable container-tools     && dnf -y install 'dnf-command(copr)'     && dnf -y copr enable rhcontainerbot/container-selinux     && curl -sSL -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo     && dnf clean all     && echo starting install...     && dnf -y install podman skopeo buildah' returned a non-zero code: 1

Describe the results you expected:

expected successful installation of podman, buildah, skopeo

Additional information you deem important (e.g. issue happens only occasionally):

this problem has come and gone with various packages in the kubic repo over the past year or so

Output of podman version:

n/a – install failed

Output of podman info --debug:

n/a – install failed

Package info (e.g. output of rpm -q podman or apt list podman):

n/a – install failed

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?

Yes

Additional environment details (AWS, VirtualBox, physical, etc.):

Docker build FROM centos:8

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

@lmgray could you try again now? I pushed a change to handle the rpm release numbers, and I believe this issue should be fixed for good now.

@lmgray Above in your description of the problem. I was joking about you using docker build rather then podman build.

Steps to reproduce the issue:

    docker build -t centos-podman . using the following Dockerfile