Yarn repo key expired [EDIT: changed again], is it OK to trust it?

This helped me:
curl -sS ``https://dl.yarnpkg.com/debian/pubkey.gpg`` | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/yarn.gpg > /dev/null
then
yunohost tools update
then - this is important:
yunohost tools regen-conf apt --force
and
yunohost tools update

*Edit: from “apt update” to “tools update”

2 Likes

It works.
Thanks for this help !

1 Like

hi, i tryied your solution..

it works, but maybe this “yunohost apt update" is not correct.

~$ yunohost apt update
Error: yunohost command must be run as root or with sudo.
lllll@server:~$ su
Password:
root@server:/home/llll# yunohost apt update
usage: yunohost
{user,domain,app,backup,settings,service,firewall,dyndns,tools,hook,log,diagnosis,storage}

[-h] [–output-as {json,plain,none}] [–debug] [–quiet]
[–version] [–timeout ==SUPPRESS==]
yunohost: error: argument {user,domain,app,backup,settings,service,firewall,dyndns,tools,hook,log,diagnosis,storage}: invalid choice: ‘apt’ (choose from ‘user’, ‘domain’, ‘app’, ‘backup’, ‘settings’, ‘service’, ‘firewall’, ‘dyndns’, ‘tools’, ‘hook’, ‘log’, ‘diagnosis’, ‘storage’)

But it works without it!

Thank you!

Hello @Stefano
The command is yunohost tools update

2 Likes

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