• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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

jmar83

Regular Pleskian
Server operating system version
Debian 10.13
Plesk version and microupdate number
Plesk Obsidian 18.0.70
Hi there

this:

Code:
apt update
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.70_16953 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
Get:10 https://autoinstall.plesk.com/grafana/deb stable InRelease [7016 B]
Hit:11 http://autoinstall.plesk.com/PHP80_17 buster InRelease
Get:12 http://autoinstall.plesk.com/PHP81_17 buster InRelease [4008 B]
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:10 https://autoinstall.plesk.com/grafana/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Fetched 12.0 kB in 1s (9146 B/s)
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
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: https://autoinstall.plesk.com/grafana/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
W: Failed to fetch https://autoinstall.plesk.com/grafana/deb/dists/stable/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.

Why & how to solve?

Thx for feedback(s)
 
We have the same problem here:

Code:
apt update
Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://autoinstall.plesk.com/pool/PSA_18.0.70_16953 focal InRelease
Hit:5 http://autoinstall.plesk.com/PHP74_17 focal InRelease
Hit:7 http://autoinstall.plesk.com/PHP80_17 focal InRelease
Get:8 http://autoinstall.plesk.com/PHP81_17 focal InRelease [4,009 B]
Get:9 http://autoinstall.plesk.com/PHP82_17 focal InRelease [4,009 B]
Get:10 http://autoinstall.plesk.com/PHP83_17 focal InRelease [4,009 B]
Hit:11 http://archive.canonical.com/ubuntu focal InRelease
Get:12 https://autoinstall.plesk.com/grafana/deb stable InRelease [7,016 B]
Hit:13 https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04 focal InRelease
Hit:14 https://download.imunify360.com/ubuntu/20.04/slot-1 focal InRelease
Hit:15 https://download.imunify360.com/ubuntu/20.04/slot-2 focal InRelease
Hit:16 https://download.imunify360.com/ubuntu/20.04/slot-3 focal InRelease
Hit:17 https://download.imunify360.com/ubuntu/20.04/slot-4 focal InRelease
Hit:18 https://download.imunify360.com/ubuntu/20.04/slot-5 focal InRelease
Hit:19 https://download.imunify360.com/ubuntu/20.04/slot-6 focal InRelease
Hit:6 http://packages.openvpn.net/as/debian focal InRelease
Hit:20 https://download.imunify360.com/ubuntu/20.04/slot-7 focal InRelease
Hit:21 https://download.imunify360.com/ubuntu/20.04/slot-8 focal InRelease
Err:12 https://autoinstall.plesk.com/grafana/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Hit:22 https://repo.zabbix.com/zabbix/7.0/ubuntu focal InRelease
Fetched 12.0 kB in 2s (6,572 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://autoinstall.plesk.com/grafana/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
W: Failed to fetch https://autoinstall.plesk.com/grafana/deb/dists/stable/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.

Your link to https://support.plesk.com/hc/en-us/...use-the-public-key-is-not-available-NO-PUBKEY does not help:

Code:
apt-key adv --keyserver 185.125.188.27 --recv-keys F76221572C52609D
Executing: /tmp/apt-key-gpghome.OACYRDUUnH/gpg.1.sh --keyserver 185.125.188.27 --recv-keys F76221572C52609D
gpg: key F76221572C52609D: "Docker Release Tool (releasedocker) <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

apt-key adv --keyserver 185.125.188.27 --recv-keys 40976EAF437D05B5
Executing: /tmp/apt-key-gpghome.gMPHymcjrC/gpg.1.sh --keyserver 185.125.188.27 --recv-keys 40976EAF437D05B5
gpg: key 40976EAF437D05B5: "Ubuntu Archive Automatic Signing Key <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

apt-key adv --keyserver 185.125.188.27 --recv-keys 6DC3D600CDEF74BB
Executing: /tmp/apt-key-gpghome.4fP2iMnUVi/gpg.1.sh --keyserver 185.125.188.27 --recv-keys 6DC3D600CDEF74BB
gpg: key 6DC3D600CDEF74BB: "KernelCare <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys F76221572C52609D
Executing: /tmp/apt-key-gpghome.JrRww434jc/gpg.1.sh --keyserver hkp://pgp.mit.edu:80 --recv-keys F76221572C52609D
gpg: key F76221572C52609D: "Docker Release Tool (releasedocker) <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

apt-get clean

Code:
apt update
Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://autoinstall.plesk.com/pool/PSA_18.0.70_16953 focal InRelease
Hit:5 http://autoinstall.plesk.com/PHP74_17 focal InRelease
Hit:6 http://autoinstall.plesk.com/PHP80_17 focal InRelease
Get:7 http://autoinstall.plesk.com/PHP81_17 focal InRelease [4,009 B]
Get:8 http://autoinstall.plesk.com/PHP82_17 focal InRelease [4,009 B]
Get:9 http://autoinstall.plesk.com/PHP83_17 focal InRelease [4,009 B]
Hit:11 http://archive.canonical.com/ubuntu focal InRelease
Get:12 https://autoinstall.plesk.com/grafana/deb stable InRelease [7,016 B]
Hit:13 https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04 focal InRelease
Hit:14 https://download.imunify360.com/ubuntu/20.04/slot-1 focal InRelease
Hit:15 https://download.imunify360.com/ubuntu/20.04/slot-2 focal InRelease
Hit:16 https://download.imunify360.com/ubuntu/20.04/slot-3 focal InRelease
Hit:17 https://download.imunify360.com/ubuntu/20.04/slot-4 focal InRelease
Hit:18 https://download.imunify360.com/ubuntu/20.04/slot-5 focal InRelease
Hit:10 http://packages.openvpn.net/as/debian focal InRelease
Hit:19 https://download.imunify360.com/ubuntu/20.04/slot-6 focal InRelease
Hit:20 https://download.imunify360.com/ubuntu/20.04/slot-7 focal InRelease
Hit:21 https://download.imunify360.com/ubuntu/20.04/slot-8 focal InRelease
Err:12 https://autoinstall.plesk.com/grafana/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Hit:22 https://repo.zabbix.com/zabbix/7.0/ubuntu focal InRelease
Fetched 19.0 kB in 2s (11.4 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://autoinstall.plesk.com/grafana/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
W: Failed to fetch https://autoinstall.plesk.com/grafana/deb/dists/stable/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.

So is there any other way to fix this?

Thanks in advance for all help.

Ric
 
no does not work too in my case

Code:
root@vps27375:~# cd /etc/apt/sources.list.d
root@vps27375:/etc/apt/sources.list.d# mv plesk-ext-grafana.list.0 plesk-ext-grafana.list
root@vps27375:/etc/apt/sources.list.d# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F76221572C52609D
Executing: /tmp/apt-key-gpghome.jNTW8T71IN/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys F76221572C52609D
gpg: keyserver receive failed: Server indicated a failure
root@vps27375:/etc/apt/sources.list.d# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
Executing: /tmp/apt-key-gpghome.KCK0GsrWXb/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: keyserver receive failed: Server indicated a failure
root@vps27375:/etc/apt/sources.list.d# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6DC3D600CDEF74BB
Executing: /tmp/apt-key-gpghome.EbK26pbOzK/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 6DC3D600CDEF74BB
gpg: keyserver receive failed: Server indicated a failure
root@vps27375:/etc/apt/sources.list.d# apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys F76221572C52609D
Executing: /tmp/apt-key-gpghome.GpWQQxEBvg/gpg.1.sh --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys F76221572C52609D
gpg: keyserver receive failed: Server indicated a failure
root@vps27375:/etc/apt/sources.list.d#
 
Same thing on Debian 11.11 since today

Code:
root@panel:~# apt-get update
Hit:1 http://autoinstall.plesk.com/WATCHDOG_3.1.0 bullseye InRelease
Hit:2 http://autoinstall.plesk.com/pool/PSA_18.0.69_16859 bullseye InRelease                                  
Hit:3 http://autoinstall.plesk.com/pool/PHP_7.1.33_14 bullseye InRelease                                      
Hit:4 http://autoinstall.plesk.com/pool/PHP_7.2.34_22 bullseye InRelease                                      
Hit:5 http://autoinstall.plesk.com/pool/PHP_7.3.33_13 bullseye InRelease                                      
Hit:6 http://autoinstall.plesk.com/PHP74_17 bullseye InRelease                                                
Hit:7 http://autoinstall.plesk.com/PHP80_17 bullseye InRelease                                                
Get:8 http://autoinstall.plesk.com/PHP81_17 bullseye InRelease [4,012 B]                                                                                                                                        
Get:9 http://autoinstall.plesk.com/PHP82_17 bullseye InRelease [4,012 B]                                                                                                                                        
Get:10 http://autoinstall.plesk.com/PHP83_17 bullseye InRelease [4,012 B]                                                                                                              
Hit:11 http://autoinstall.plesk.com/PHP84_17 bullseye InRelease                                                                                                                                
Hit:12 http://repository.moosefs.com/moosefs-3/apt/debian/bullseye bullseye InRelease                                                                      
Get:13 https://autoinstall.plesk.com/grafana/deb stable InRelease [7,016 B]                                                                                                                              
Hit:14 http://deb.debian.org/debian bullseye InRelease                                                                                                                                                  
Hit:15 http://deb.debian.org/debian-security bullseye-security InRelease                                                                                                                        
Get:16 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]                    
Hit:17 http://deb.debian.org/debian bullseye-updates InRelease                                        
Hit:18 https://download.imunify360.com/debian/11/slot-1 bullseye InRelease                            
Hit:19 https://repo.imunify360.cloudlinux.com/imunify360/debian/11 bullseye InRelease
Hit:20 https://download.imunify360.com/debian/11/slot-2 bullseye InRelease
Hit:21 https://download.imunify360.com/debian/11/slot-3 bullseye InRelease
Hit:22 https://download.imunify360.com/debian/11/slot-4 bullseye InRelease
Hit:23 https://download.imunify360.com/debian/11/slot-5 bullseye InRelease
Hit:24 https://download.imunify360.com/debian/11/slot-6 bullseye InRelease
Hit:25 https://download.imunify360.com/debian/11/slot-7 bullseye InRelease
Hit:26 https://download.imunify360.com/debian/11/slot-8 bullseye InRelease
Err:13 https://autoinstall.plesk.com/grafana/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
Fetched 55.4 kB in 7s (8,216 B/s)                                                                                                                                                                                                          
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://autoinstall.plesk.com/grafana/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
W: Failed to fetch https://autoinstall.plesk.com/grafana/deb/dists/stable/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.
root@panel:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

and

Code:
root@panel:~# gpg --keyserver keyserver.ubuntu.com --recv-keys E9299045CE550E57
gpg: keyserver receive failed: No data
 
Could you please try fetching and installing the key:

wget -q -O - http://autoinstall.plesk.com/plesk.gpg | gpg --dearmor > /etc/apt/keyrings/plesk-ext-grafana.gpg
 
Last edited:
hmmm... your command has '&gt;' in it, i think correct is:

Code:
wget -q -O - https://autoinstall.plesk.com/grafana/deb/gpg.key | gpg --dearmor /etc/apt/keyrings/plesk-ext-grafana.gpg


but does still not work:


Code:
apt update
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.70_16953 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
Get:10 https://autoinstall.plesk.com/grafana/deb stable InRelease [7016 B]
Hit:11 http://autoinstall.plesk.com/PHP80_17 buster InRelease
Get:12 http://autoinstall.plesk.com/PHP81_17 buster InRelease [4008 B]
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:10 https://autoinstall.plesk.com/grafana/deb stable 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: https://autoinstall.plesk.com/grafana/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9299045CE550E57
E: The repository 'https://autoinstall.plesk.com/grafana/deb stable 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.
 
Code:
wget -q -O - https://autoinstall.plesk.com/grafana/deb/gpg.key | gpg --dearmor > /etc/apt/keyrings/plesk-ext-grafana.gpg

This does work for us. Thanks alot for your help.
 
Back
Top