Unable to update Plesk on a Debian-like OS with the error below:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://autoinstall.plesk.com/RUBY_0.0.2 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
W: Failed to fetch http://autoinstall.plesk.com/RUBY_0.0.2/dists/buster/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD11A6AA914BDF7E
Plesk admin may receive an email with the following content:
INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
ERROR: Exited with returncode 1.
Plesk GPG key misconfiguration.
Connect to the server via SSH.
Fetch and install the Plesk GPG key:
# wget http://autoinstall.plesk.com/plesk.gpg && apt-key add plesk.gpg
Open the repository in question in any text editor, for example, in the vi editor:
# vi /etc/apt/sources.list.d/plesk-ext-ruby.list
Add the missing
signed-bysection to the file as below:
deb [arch=amd64 signed-by=/etc/apt/keyrings/plesk.gpg] http://autoinstall.plesk.com/RUBY_0.0.2 buster all
Save the changes and close the file. Re-run Plesk update if required.