LLNG packages signature issue on CentOS 8
Environment
LemonLDAP::NG version: 2.0.9
Operating system: CentOS 8
Web server: Nginx
Summary
I've been working on LLNG 2.0.9 docker build on CentOS 8, and I've run into a few issues with LLNG packages and dependencies.
I'm referring to these documentation's pages (that are more CentOS 7 oriented):
- https://lemonldap-ng.org/documentation/latest/installrpm.html
- https://lemonldap-ng.org/documentation/2.0/prereq.html
Here are the issues I've got:
- some dependencies have been moved to a different repo (or merged into a different package), you now need to add CentOS 8 PowerTools repo to be able to install perl-CGI (perl-CGI-Session is gone), perl-Clone, perl-IO-String
- LLNG packages are unsigned, I've had to set
gpgcheck=0
to be able to install those (I've double checked that GPG key is properly imported)
wget -q https://lemonldap-ng.org/_media/rpm-gpg-key-ow2
rpm --import rpm-gpg-key-ow2
Logs
Logs about the missing PowerTools repo:
yum install -y perl-CGI-Session perl-Clone perl-IO-String [...]
No match for argument: perl-CGI-Session
No match for argument: perl-Clone
No match for argument: perl-IO-String
Error: Unable to find a match: perl-CGI-Session perl-Clone perl-IO-String
Logs about unsigned LLNG packages:
Package lemonldap-ng-2.0.9-1.el8.noarch.rpm is not signed
Package lemonldap-ng-conf-2.0.9-1.el8.noarch.rpm is not signed
Package lemonldap-ng-doc-2.0.9-1.el8.noarch.rpm is not signed
Package lemonldap-ng-fastcgi-server-2.0.9-1.el8.noarch.rpm is not signed
Package lemonldap-ng-handler-2.0.9-1.el8.noarch.rpm is not signed
Package lemonldap-ng-manager-2.0.9-1.el8.noarch.rpm is not signed
Package lemonldap-ng-nginx-2.0.9-1.el8.noarch.rpm is not signed
Package lemonldap-ng-portal-2.0.9-1.el8.noarch.rpm is not signed
Package lemonldap-ng-test-2.0.9-1.el8.noarch.rpm is not signed
Package perl-Lemonldap-NG-Common-2.0.9-1.el8.noarch.rpm is not signed
Package perl-Lemonldap-NG-Handler-2.0.9-1.el8.noarch.rpm is not signed
Package perl-Lemonldap-NG-Manager-2.0.9-1.el8.noarch.rpm is not signed
Package perl-Lemonldap-NG-Portal-2.0.9-1.el8.noarch.rpm is not signed
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: GPG check FAILED
Possible fixes
Install PowerTools repo:
yum install -y dnf-plugins-core
yum config-manager --set-enabled PowerTools
Deactivate GPG check in LLNG repo:
[lemonldap-ng]
name=LemonLDAP::NG packages
baseurl=https://lemonldap-ng.org/redhat/stable/$releasever/noarch
enabled=1
gpgcheck=0