Error running Updates

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.39
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Describe your issue

Receiving an error when running YunoHost Updates:
Fetching available system updates and refreshing app catalog
YunoHost encountered an internal error
Error: “500”

Action: “PUT” yunohost api update all

Share relevant logs or error messages

(I could not find any links to paste)
Error message:
Unable to update the cache of APT (Debian’s package manager). Here is a dump of the sources list lines, which might help identify problematic lines:
sources list deb http ftp debian org debian bookworm main contrib non-free-firmware
sources list deb src http ftp debian org debian bookworm main contrib non-free-firmware
sources list deb [signed-by= etc apt keyrings YunoHost repository asc] http repo yunohost org debian bookworm stable
sources list deb http security debian org debian-security bookworm-security main contrib non-free-firmware
sources list deb src http security debian org debian-security bookworm-security main contrib non-free-firmware
sources list deb http ftp debian org debian bookworm-updates main contrib non-free-firmware
sources list deb src http ftp debian org debian bookworm-updates main contrib non-free-firmware
sources list d yarn list bak:deb [signed-by= etc apt trusted.gpg.d yarn.gpg] https dl yarnpkg com debian stable main
sources list d extra_php_version list:deb [signed-by= etc apt trusted gpg d extra php version gpg] https packages sury org php bookworm main
sources list d yarn list:deb [signed-by= etc apt trusted gpg d yarn gpg] https dl yarnpkg com debian stable main

While processing the action the server said:
Fetching available upgrades for system packages
Fetching available upgrades for system packages
Fetching available upgrades for system packages
W http security debian org debian-security dists bookworm-security InRelease The key(s) in the keyring etc apt trusted gpg
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 62D54FD4003F6525
W http security debian org debian-security dists bookworm-security InRelease The key(s) in the keyring etc apt trusted gpg d yarn gpg are ignored as the file has an unsupported filetype
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 62D54FD4003F6525
E The repository https dl yarnpkg com debian stable InRelease is not signed
W http security debian org debian-security dists bookworm-security InRelease The key(s) in the keyring etc apt trusted gpg d yarn gpg are ignored as the file has an unsupported filetype
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 62D54FD4003F6525
W http ftp debian org debian dists bookworm InRelease The key(s) in the keyring etc apt trusted gpg d yarn gpg are ignored as the file has an unsupported filetype
W http ftp debian org debian dists bookworm-updates InRelease The key(s) in the keyring etc apt trusted gpg d yarn gpg are ignored as the file has an unsupported filetype.
E The repository https dl yarnpkg com debian stable InRelease is not signed
W http ftp debian org debian dists bookworm InRelease The key(s) in the keyring etc apt trusted gpg d yarn gpg are ignored as the file has an unsupported filetype
W http ftp debian org debian dists bookworm-updates InRelease The key(s) in the keyring etc apt trusted gpg d yarn gpg are ignored as the file has an unsupported filetype
E The repository https dl yarnpkg com debian stable InRelease is not signed
W http ftp debian org debian dists bookworm InRelease The key(s) in the keyring etc apt trusted gpg d yarn gpg are ignored as the file has an unsupported filetype
W http ftp debian org debian dists bookworm-updates InRelease The key(s) in the keyring etc apt trusted gpg d yarn gpg are ignored as the file has an unsupported filetype

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

2 Likes

I tried:

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

and the update completed with no window opening with error messages, but I could see on the screen as the update proceeded that their were still errors scrolling by. I tried it three times.

After the 3rd attempt of running the command and updating, I followed with:

yunohost tools regen-conf apt -f.

This time when I ran update, the process completed cleanly with no errors while processing and no error window popping up.

Many thanks.

3 Likes

Thanks, worked for me too!

3 Likes