AlmaLinux / container-images

GNU General Public License v3.0
8 stars 6 forks source link

GPG Check FAILED with AlmaLinux:Latest #16

Open sarahub opened 2 months ago

sarahub commented 2 months ago

Hello I am grabbing the latest Almalinux image and it is failing with a GPG check error. `[1/8] FROM docker.io/almalinux/almalinux:latest@sha256:cb4fcfa73493dad33a01f55bbe738c764002b622c64c28a585488cc819b5d26a

4 sha256:ba2c2d4a4d0ca1691970182077ace9c179f385b7d34d21680a1554639a3b82c7 76.61MB / 76.61MB 3.0s

4 extracting sha256:ba2c2d4a4d0ca1691970182077ace9c179f385b7d34d21680a1554639a3b82c7

4 sha256:ba2c2d4a4d0ca1691970182077ace9c179f385b7d34d21680a1554639a3b82c7 76.61MB / 76.61MB 3.1s done

4 extracting sha256:ba2c2d4a4d0ca1691970182077ace9c179f385b7d34d21680a1554639a3b82c7 3.0s done

4 DONE 6.3s`

Failure is: `#7 1.189 AlmaLinux 8 - AppStream 3.3 MB/s | 3.4 kB 00:00

7 1.250 Importing GPG key 0xC21AD6EA:

7 1.250 Userid : "AlmaLinux packager@almalinux.org"

7 1.250 Fingerprint: E53C F5EF 91CE B0AD 1812 ECB8 51D6 647E C21A D6EA

7 1.250 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

7 1.251 Key imported successfully

7 1.252 Import of key(s) didn't help, wrong key(s)?

7 1.252 Public key for wget-1.19.5-12.el8_10.x86_64.rpm is not installed. Failing package is: wget-1.19.5-12.el8_10.x86_64

7 1.252 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

7 1.252 The downloaded packages were saved in cache until the next successful transaction.

7 1.252 You can remove cached packages by executing 'yum clean packages'.

7 1.256 Error: GPG check FAILED`

LKHN commented 2 months ago

Could you share your Containerfile/Dockerfile? You still using https://hub.docker.com/r/almalinux/almalinux with almalinux:almalinux which is deprecated. Please, either use almalinux:8 or almalinux:9 from https://hub.docker.com/_/almalinux

So, it should be

FROM almalinux:9

or

FROM almalinux:8