No_pubkey 23e7166788b63e1e

I have searched the forum for similar issues

on

This category is for general issues regarding YunoHost, NOT apps.

on

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

on

What type of hardware are you using

Old laptop or computer

What YunoHost version are you running

12

How are you able to access your server

Direct access via physical keyboard/screen

Are you in a special context or did you perform specific tweaking on your YunoHost instance ?

Normal CLI

Describe your issue

sudo apt update

W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E

Where to get the keys?

Share relevant logs or error messages

This was reported by Markus. However, that post was closed without knowing how to solve it.

Let’s try sudo yunohost tools regen-conf apt which should redownload fresh keys

1 Like

Thanks.

The command replies:

gpg: no valid OpenPGP data found.
Could not run script: /usr/share/yunohost/hooks/conf_regen/10-apt

Hmmokay then lets debug with sudo yunohost tools regen-conf apt --debug

Error log:

File /usr/lib/python3/dist-packages/yunohost/hook.py, line 298, in hook_callback
hook_return = hook_exec(

File /usr/lib/python3/dist-packages/yunohost/hook.py, line 418, in hook_exec
raise YunohostError("hook_exec_failed", path=path)

Could not run script: /usr/share/yunohost/hooks/conf_regen/10-apt

Please share the entire log and not just the last few lines

Thank you. I attach the log files.
20241025-031753-regen_conf-apt.odt (4.5 KB)
regen-conf.odt (5.5 KB)

They are both plain text file. You should change the file extension to .txt.

Let me know if you have further questions.

Thank you.

I tried to get the key

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg

but no key is found.

Has anyone the pubkey.gpg for yarnpkg?

If you run commands whose output you would like to share, add | yunopaste at the end: sudo yunohost tools regen-conf apt --debug | yunopaste. Then share the URL :wink:

I think I am missing pubkey - maybe it is not available at the desired address.

Do you have the pubkey file?

The key problem is solved - it maybe is related to bad network connection.

This issue can be closed.

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