Installation of usermin fails with GPG error when installing it from the repo. This can be reproduced in docker, using rockylinux:9.
Steps to reproduce:
Run container:
docker run -it --rm rockylinux:9
Install script dependencies (tput):
dnf install ncurses
Download and run webmin's setup-repos.sh script:
curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
sh setup-repos.sh
Install usermin:
dnf install usermin
You will get the following error:
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webmin-developers (0x8916F2A2) is already installed
The GPG keys listed for the "Webmin - noarch" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured
for this repository.. Failing package is: usermin-1.861-1.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webmin-developers
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
Installation of usermin fails with GPG error when installing it from the repo. This can be reproduced in docker, using rockylinux:9.
Steps to reproduce:
tput
):setup-repos.sh
script:You will get the following error: