Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPG Check FAILED with AlmaLinux:Latest #16

Open
sarahub opened this issue Aug 28, 2024 · 1 comment
Open

GPG Check FAILED with AlmaLinux:Latest #16

sarahub opened this issue Aug 28, 2024 · 1 comment

Comments

@sarahub
Copy link

sarahub commented Aug 28, 2024

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
Copy link
Member

LKHN commented Aug 28, 2024

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

yuravk added a commit to yuravk/container-images that referenced this issue Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants