NO_PUBKEY xxxxxxxxxxxxxxx After v17 to v18

Hi,

Since upgrading to Z v18 doing an software update I'm getting the below errors. I tried a few things Grok recommended but I've still got issues when trying to update.

sudo apt update
[sudo] password for *********:                
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 https://repo.vivaldi.com/archive/deb stable InRelease                    
Hit:3 https://updates.signal.org/desktop/apt xenial InRelease                  
Get:4 https://mirror.eliv.digital/ubuntu noble InRelease [256 kB]              
Hit:5 https://repo.vivaldi.com/archive/deb stable Release                      
Hit:7 https://packages.mozilla.org/apt mozilla InRelease                       
Get:8 https://mirror.eliv.digital/ubuntu noble-updates InRelease [126 kB]      
Hit:9 https://packages.zorinos.com/stable noble InRelease                      
Err:9 https://packages.zorinos.com/stable noble InRelease                      
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
Get:10 https://mirror.eliv.digital/ubuntu noble-security InRelease [126 kB]    
Hit:11 http://ppa.launchpad.net/zorinos/apps/ubuntu noble InRelease            
Hit:12 https://packages.zorinos.com/patches noble InRelease                    
Hit:13 https://ppa.launchpadcontent.net/atareao/telegram/ubuntu noble InRelease
Hit:14 https://debian.griffo.io/apt noble InRelease                            
Get:15 https://mirror.eliv.digital/ubuntu noble-backports InRelease [126 kB]   
Hit:16 https://packages.zorinos.com/apps noble InRelease                       
Hit:17 https://ppa.launchpadcontent.net/libreoffice/ppa/ubuntu noble InRelease
Err:12 https://packages.zorinos.com/patches noble InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
Hit:18 http://ppa.launchpad.net/zorinos/drivers/ubuntu noble InRelease
Hit:19 https://ppa.launchpadcontent.net/phoerious/keepassxc/ubuntu noble InRelease
Hit:20 https://packages.zorinos.com/drivers noble InRelease         
Hit:21 https://ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu noble InRelease
Err:16 https://packages.zorinos.com/apps noble InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
Hit:22 http://ppa.launchpad.net/zorinos/patches/ubuntu noble InRelease
Hit:23 https://ppa.launchpadcontent.net/tomtomtom/yt-dlp/ubuntu noble InRelease
Err:20 https://packages.zorinos.com/drivers noble InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
Hit:24 http://ppa.launchpad.net/zorinos/stable/ubuntu noble InRelease
Err:24 http://ppa.launchpad.net/zorinos/stable/ubuntu noble InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 30FCF8F64F71B61C
Fetched 634 kB in 3s (235 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.zorinos.com/stable noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.zorinos.com/patches noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.zorinos.com/apps noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.zorinos.com/drivers noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/zorinos/stable/ubuntu noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 30FCF8F64F71B61C
W: Failed to fetch https://packages.zorinos.com/stable/dists/noble/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
W: Failed to fetch https://packages.zorinos.com/patches/dists/noble/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
W: Failed to fetch https://packages.zorinos.com/apps/dists/noble/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
W: Failed to fetch https://packages.zorinos.com/drivers/dists/noble/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199
W: Failed to fetch http://ppa.launchpad.net/zorinos/stable/ubuntu/dists/noble/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 30FCF8F64F71B61C
W: Some index files failed to download. They have been ignored, or old ones used instead.
N: Missing Signed-By in the sources.list(5) entry for 'http://ppa.launchpad.net/zorinos/apps/ubuntu'
N: Missing Signed-By in the sources.list(5) entry for 'http://ppa.launchpad.net/zorinos/drivers/ubuntu'
N: Missing Signed-By in the sources.list(5) entry for 'http://ppa.launchpad.net/zorinos/patches/ubuntu'

Hi. I suspect it might be due to outdated PPA's that will have been 'signed' for 'jammy' and not 'noble':

" Best Practices

  • Always disable or remove PPAs that don’t support Ubuntu 24.04 before upgrading.
  • Use signed-by in .list files with keys stored in /etc/apt/keyrings/ for better security.
  • Avoid apt-key — it’s deprecated. Use gpg --dearmor and signed-by=/etc/apt/keyrings/... instead.

:white_check_mark: Key Takeaway : The upgrade tool’s strictness prevents insecure updates. Fixing repository issues manually ensures a secure, successful upgrade.

[Extract from Brave A.I.]"

fixed, thanks to @Grok coming to the rescue . . . again.

Wasn't outdated PPA's, something got really screwed up with the keys, and it took about an hour working with Grok to work through the issue. I had to delete all the Zorin entries in sources.list.d and start again.

1 Like

Yes, I suspect you had to remove 'jammy' references and replace with 'noble'.

Hi, I recently had the same problem.

Your error message: The following signatures could not be verified because the public key is not available: NO_PUBKEY 40E0F448B35AB199:
At the command prompt, run the following command:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40E0F448B35AB199

Wait for the key to download and import successfully.

Update the package list:
sudo apt update

The error should no longer appear. If other keys are missing, repeat the process for each NO_PUBKEY identifier.

1 Like