What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.1.39 (stable)
How are you able to access your server: The webadmin
SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: Specal tweaking. Souces List.
Describe your issue
There was this error everytime I would try to update anything on my Yunohost instance:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. 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 62D54FD4003F6525
I attempted to look for and run random commands (stupid, i know, i should have asked for help first but, again, stupid) and now my list is broken after running this command:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg -o /usr/share/keyrings/yarn-keyring.asc \ && sed -i '1s;^deb;deb [signed-by=/usr/share/keyrings/yarn-keyring.asc];' /etc/apt/sources.list.d/yarn.list
from this website: Apt-get update fails inside container yarn repo not signed - #5 by pfaffman - Bug - Discourse Meta
and now I get this error:
E: Malformed entry 1 in list file /etc/apt/sources.list.d/yarn.list (URI parse) E: The list of sources could not be read.
Traceback when I go to update:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 430, in process ret = self.actionsmap.process(arguments, timeout=30, route=_route) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 580, in process return func(**arguments) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/yunohost/tools.py", line 355, in tools_update_norefresh return tools_update(no_refresh=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/yunohost/log.py", line 532, in func_wrapper result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/yunohost/tools.py", line 433, in tools_update upgradable_system_packages = list(_list_upgradable_apt_packages()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/yunohost/utils/system.py", line 211, in _list_upgradable_apt_packages upgradable_raw = check_output("LC_ALL=C apt list --upgradable") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/yunohost/utils/process.py", line 40, in check_output subprocess.check_output(args, stderr=stderr, shell=shell, **kwargs) File "/usr/lib/python3/dist-packages/gevent/subprocess.py", line 427, in check_output raise CalledProcessError(retcode, process.args, output=output) subprocess.CalledProcessError: Command 'LC_ALL=C apt list --upgradable' returned non-zero exit status 100.
And I am super confused as what to do.
Share relevant logs or error messages
None at the moment. Last one was a successful install of Firefox Sync using old source-list before this all happened.