Yunohost 11.3 on an Debian 11 - cannot upgrade bechause of NO_PUBKEY 5D09F2273DAC3BD5

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 11.3
How are you able to access your server: SSH

Describe your issue

I have a Yunohost 11.3 on an Debian 11 system. When I try to update with apt update I get the error message

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5D09F2273DAC3BD5

I searched the forum and googled it but could not find a proper solution.

Share relevant logs or error messages

There is no entry in the logs

Hi,
Did you try this?

curl --fail --silent https://forge.yunohost.org/yunohost_bookworm.asc | gpg --dearmor > /usr/share/keyrings/yunohost-bookworm.gpg

Yes and I veryfied that the key is in the folder (there is also an archived one). The error message is still

The repository 'http://forge.yunohost.org/debian bookworm InRelease' is not signed.

Is it possible that my problem comes from the debian 11 installation under yunohost 11.3?

Update: migration started, I hat a typo in the keyrings line :crazy_face:

Did you also change the content of /etc/apt/sources.list.d/yunohost.list to

deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] https://forge.yunohost.org/debian/ bookworm stable

as mentioned in the linked post ?

Oh yes, i didn’t notice it is bullseye.
Try with bullseye instead of bookworm

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.