unpacking of archive failed on file /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7;6446af9d: cpio: Digest mismatch
Installer messages and errors (scroll the code window to see the errors at the end…):
Continue? (y/n) y
[DEBUG] Memory is greater than 1572 MB, which should be sufficient.
[INFO] Started installation log in /root/virtualmin-install.log
[DEBUG] Phase 1 of 3: Setup
▣◻◻ Phase 1 of 3: Setup
[DEBUG] Install mode: full
[DEBUG] Product: Virtualmin GPL
[DEBUG] install.sh version: 7.0.3
[DEBUG] Checking for fully qualified hostname ..
[DEBUG] Hostname is fully qualified as ol9-testing.redacted.name.edu
[DEBUG] Setting hostname to ol9-testing.redacted.name.edu
[DEBUG] Hostname is fully qualified as ol9-testing.redacted.name.edu
[DEBUG] Primary address detected as 172.27.72.181
[DEBUG] Entry for IP 172.27.72.181 exists in /etc/hosts.
[DEBUG] Updating with new hostname.
[DEBUG] Installing serial number and license key into /etc/virtualmin-license
[DEBUG] Operating system name: Oracle Linux
[DEBUG] Operating system version: 9.1
[DEBUG] Operating system type: ol
[DEBUG] Operating system major: 9
[DEBUG] Configuring package manager for Oracle Linux 9.1 ..
[DEBUG] Disabling SELinux during installation ..
[DEBUG] setenforce 0 succeeded
Installing core plugins for package manager ✔
Downloading Virtualmin 7 release package ✔
Installing Virtualmin 7 release package [ERROR] Failed with error: 1
✘
[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Dependencies resolved.
Nothing to do.
Complete!
Installing core plugins for package manager: Success.
Spin pid is: 2598
2023-04-24 12:34:35 URL:https://software.virtualmin.com/vm/7/rpm/virtualmin-gpl-release.noarch.rpm [18879/18879] -> "virtualmin-gpl-release.noarch.rpm" [1]
Downloading Virtualmin 7 release package: Success.
error: package is not installed
Spin pid is: 2641
warning: virtualmin-gpl-release.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID b9a0b8b7: NOKEY
error: unpacking of archive failed on file /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7;6446af9d: cpio: Digest mismatch
error: virtualmin-gpl-release-7.0-1.noarch: install failed
Installing Virtualmin 7 release package: [2023-04-24 12:34:37 EDT] [ERROR] Failed with error: 1
[2023-04-24 12:34:37 EDT] [ERROR] Something went wrong. Exiting.
Thanks, Ilia. I did run dnf clean all and dnf update prior to the install script the first time. I am going to try GPL install again on a fresh OL9 VM with --unstable --minimal.
After that, will try to manually fetch the keys and manually install the repos and run the script again, if you think that is worthwhile.
And I can also try the manual install to see if I can get Virtualmin running with the needed features and packages (do not need mail services, so minimal LAMP+PHP-FPM 8.1 should work). The database server will be remote.
It looks like our implementation of OL9 won’t accept external repo keys.
We’ll set up local mirrors for Remi and Virtualmin and try again. Or just continue with RHEL9 if that does not work. We have RHEL available but it’s pay-to-play so IT is trying to consolidate to OL because some of our infrastructure requires it.
That is not an acceptable Linux implementation, if you can’t safely install third-party software (and adding keys is the only way to check signatures when installing software).