PHP repo key expired [solved]

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.1.39 (stable)
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: None

Describe your issue

Basically as usual, sury packages keyring expired, and I took help of @camille in the xmpp group. I was able to fix both the Yarn & the PHP one, even though it was not working in one go for some reason.

Yarn one from here: https: //forum. yunohost. org/t/yarn-repo-key-expired-edit-changed-again-is-it-ok-to-trust-it/41380

PHP one: curl -sS https://packages.sury.org/php/apt.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/extra_php_version.gpg > /dev/null

Yarn one: curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/yarn.gpg > /dev/null

Created this topic, in case this helps anyone else. Steps here as well:

Share relevant logs or error messages

Error logs:

Sury issue log: https://codeberg.org/oerdnj/deb.sury.org/issues/71

My error logs: https://pb.fbin.in/?4d1df4714e50c2e1#DbjGi4ZZ1Si8KqD7eLmNAgFSZCaVskw3um1C9ve6WdH5

Steps to solve: https://pb.fbin.in/?db0d19778104cd30#HFtUUNbFuFBTPjeBqqW3PZDw4siEy2aL42gCA5D6GJ32

1 Like

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