Issue "apt update" problem on Debian 10.x with Plesk 18.x "Obsidian"

jmar83

Regular Pleskian
Server operating system version
Debian 10.13
Plesk version and microupdate number
18.0.68 Update #2
Hi there

this:
Code:
Hit:1 http://ftp.debian.org/debian buster InRelease
Hit:2 http://ftp.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org buster/updates InRelease
Hit:4 http://autoinstall.plesk.com/WATCHDOG_3.1.0 buster InRelease
Hit:5 http://autoinstall.plesk.com/pool/PSA_18.0.68_16616 buster InRelease
Hit:6 http://autoinstall.plesk.com/pool/PHP_7.1.33_98 buster InRelease
Hit:7 http://autoinstall.plesk.com/pool/PHP_7.2.34_151 buster InRelease
Hit:8 http://autoinstall.plesk.com/pool/PHP_7.3.33_248 buster InRelease
Hit:9 http://autoinstall.plesk.com/PHP74_17 buster InRelease
Hit:10 https://autoinstall.plesk.com/grafana/deb stable InRelease
Hit:11 http://autoinstall.plesk.com/PHP80_17 buster InRelease
Hit:12 http://autoinstall.plesk.com/PHP81_17 buster InRelease
Hit:13 http://autoinstall.plesk.com/PHP82_17 buster InRelease
Hit:14 http://autoinstall.plesk.com/PHP83_17 buster InRelease
Hit:15 http://updates.atomicorp.com/channels/tortix-common/debian buster InRelease
Err:12 http://autoinstall.plesk.com/PHP81_17 buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Err:13 http://autoinstall.plesk.com/PHP82_17 buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Err:14 http://autoinstall.plesk.com/PHP83_17 buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Reading package lists... Done
Building dependency tree
Reading state information... Done
81 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Ignoring file 'php.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'tor.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
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/PHP81_17 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
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/PHP82_17 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
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/PHP83_17 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
W: Failed to fetch http://autoinstall.plesk.com/PHP81_17/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
W: Failed to fetch http://autoinstall.plesk.com/PHP82_17/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
W: Failed to fetch http://autoinstall.plesk.com/PHP83_17/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
W: Some index files failed to download. They have been ignored, or old ones used instead.

Does somebody know how to solve it? That 'apt-key adv --keyserver keyring.debian.org --recv-keys ...' thing does not seem to work in my case...

Thank you very much for your feedback(s)

:)
 
Hi!

We are updating GPG key for signing the repositories to stronger one. As you are on 18.0.68, you need to apply Plesk update using `plesk installer update` command or using UI to import the new GPG key
 
@mizar
Thanks for the confirmation. We saw this yesterday and did as you've posted above, but by our own accord.
This immediately solves the NO_PUBKEY issues (shown in post #1 above) but NOT the related; ***...uses weak algorithm (dsa1024) issues.
Presumably, the weak algorithm issues will still be resolved as part of the 18.0.69 release, as per this previous Plesk post ?
 
'curl -sS http://autoinstall.plesk.com/plesk.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/plesk.gpg' does not work:


1744722124585.png


then 'chmod a+rx /etc/apt/trusted.gpg.d && chmod a+r /etc/apt/trusted.gpg.d/plesk.gpg' and 'apt update':

Code:
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://autoinstall.plesk.com/WATCHDOG_3.1.0 buster InRelease
Hit:5 http://autoinstall.plesk.com/pool/PSA_18.0.68_16616 buster InRelease
Hit:6 http://autoinstall.plesk.com/pool/PHP_7.1.33_98 buster InRelease
Hit:7 http://autoinstall.plesk.com/pool/PHP_7.2.34_151 buster InRelease
Hit:8 http://autoinstall.plesk.com/pool/PHP_7.3.33_248 buster InRelease
Hit:9 http://autoinstall.plesk.com/PHP74_17 buster InRelease
Hit:10 http://autoinstall.plesk.com/PHP80_17 buster InRelease
Get:11 http://autoinstall.plesk.com/PHP81_17 buster InRelease [4008 B]
Hit:12 https://autoinstall.plesk.com/grafana/deb stable InRelease
Get:13 http://autoinstall.plesk.com/PHP82_17 buster InRelease [4008 B]
Get:14 http://autoinstall.plesk.com/PHP83_17 buster InRelease [4008 B]
Hit:15 http://updates.atomicorp.com/channels/tortix-common/debian buster InRelease
Err:11 http://autoinstall.plesk.com/PHP81_17 buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Err:13 http://autoinstall.plesk.com/PHP82_17 buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Err:14 http://autoinstall.plesk.com/PHP83_17 buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Reading package lists... Done
N: Ignoring file 'php.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'tor.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: GPG error: http://autoinstall.plesk.com/PHP81_17 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
E: The repository 'http://autoinstall.plesk.com/PHP81_17 buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://autoinstall.plesk.com/PHP82_17 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
E: The repository 'http://autoinstall.plesk.com/PHP82_17 buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://autoinstall.plesk.com/PHP83_17 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
E: The repository 'http://autoinstall.plesk.com/PHP83_17 buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


so same as before...
 
Yes, now 'apt update' seems to work again:

Code:
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://autoinstall.plesk.com/WATCHDOG_3.1.0 buster InRelease
Hit:4 http://ftp.debian.org/debian buster-updates InRelease
Hit:5 http://autoinstall.plesk.com/pool/PSA_18.0.68_16616 buster InRelease
Hit:6 http://autoinstall.plesk.com/pool/PHP_7.1.33_98 buster InRelease
Hit:7 http://autoinstall.plesk.com/pool/PHP_7.2.34_151 buster InRelease
Hit:8 http://autoinstall.plesk.com/pool/PHP_7.3.33_248 buster InRelease
Hit:9 http://autoinstall.plesk.com/PHP74_17 buster InRelease
Hit:10 http://autoinstall.plesk.com/PHP80_17 buster InRelease
Hit:11 https://autoinstall.plesk.com/grafana/deb stable InRelease
Hit:12 http://autoinstall.plesk.com/PHP81_17 buster InRelease
Hit:13 http://autoinstall.plesk.com/PHP82_17 buster InRelease
Hit:14 http://autoinstall.plesk.com/PHP83_17 buster InRelease
Hit:15 http://updates.atomicorp.com/channels/tortix-common/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
N: Ignoring file 'php.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension


So thank you very much, @mizar... :)
 
Back
Top