Error verifying signature of: /mnt/cdrom/update/dnf/x86_64/vim-9.1.1441-1.ph4.x86_64.rpm
[2025-12-02 19:18:26 UTC] Error processing package: x86_64/vim-9.1.1441-1.ph4.x86_64.rpm
[2025-12-02 19:18:26 UTC] Error(1514) : RPM is signed but failed to match with known keys. Use --nogpgcheck to ignore.
...
[2025-12-02 19:18:26 UTC] Downloading:
[2025-12-02 19:18:26 UTC] importing key from file:///etc/pki/rpm-gpg/vcav-public-key.asc
[2025-12-02 19:18:26 UTC] Bad exit code: 234
[2025-12-02 19:18:26 UTC] {
"code": "BadExitCode",
"msg": "",
"args": [
"234"
]
}
VMware Cloud Director Availability 4.7.3.x
Photon started using a newer 4096 bit gpg key for signing rpms on 28-Mar-2024, which has not been imported to the package manager on the appliance.
Run the following command on the appliance and retry the upgrade:
rpm --import /etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY-4096