Issue
The ELS installation fails with the following error when trying to install the "els-os-release" package:
Public key for els-os-release-GUa9sS.rpm is not installed
Error: Couldn't install els-os-releaseEnvironment
- TuxCare ELS
- CentOS 7
Solution
The installation script tries to download and import the "RPM-GPG-KEY-TuxCare" key, which would avoid this error:
# download and import GPG key
wget -nv https://repo.tuxcare.com/tuxcare/RPM-GPG-KEY-TuxCare -O /etc/pki/rpm-gpg/RPM-GPG-KEY-TuxCare
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-TuxCare
[ $? -eq 0 ] || exit 1However, if this procedure fails or the file is corrupted (due to file system errors, for instance), the error can be observed. In such instances, it is recommended to manually import the key, and then run the script once again:
rpm --import https://repo.tuxcare.com/tuxcare/RPM-GPG-KEY-TuxCare
sh install-centos7-els-repo.sh --license-key $KEY
Comments
0 comments
Please sign in to leave a comment.