Cant update my system or apps anymore

I have searched the forum for similar issues

on

This category is for general issues(=something is broken) regarding YunoHost, NOT apps.

on

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

on

What type of hardware are you using

Other(?)

What YunoHost version are you running

12.1.40.1 (stable)

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

On the “Updates” page of the web admin portal, it says:
The package cache (apt/dpkg) was updated 0 hours ago. The YunoHost app catalog was updated 10 hours ago. Make sure to run an update to get the latest information.

When I click the “Check for available updates” button,
an error message appears (see below).

I cannot manually update the listed applications. Clicking the “Update” button also results in an error message.

I logged in via SSH and ran sudo apt autoremove. That has helped in the past, but unfortunately not this time.

Many thanks in advance for your help.

Share relevant logs or error messages

Unable to update the APT (Debian’s package manager) cache. Here is an excerpt from the sources.list lines that might help identify the problem:
sources.list:deb Index of /debian bookworm main contrib
sources.list:deb-src Index of /debian bookworm main contrib
sources.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] Index of /debian/ bookworm stable
sources.list:deb Index of /debian-security bookworm-security main contrib non-free non-free-firmware
sources.list:deb-src Index of /debian-security bookworm-security main contrib non-free non-free-firmware
sources.list:deb Index of /debian bookworm-updates main contrib non-free non-free-firmware
sources.list:deb-src Index of /debian bookworm-updates main contrib non-free non-free-firmware
sources.list.d/yarn.list: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] Index of /php/ bookworm main

Kann den Cache von APT (Debians Paketmanager) nicht aktualisieren. Hier ist ein Auszug aus den sources.list-Zeilen, die helfen könnten, das Problem zu identifizieren:
sources.list:deb Index of /debian bookworm main contrib
sources.list:deb-src Index of /debian bookworm main contrib
sources.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] Index of /debian/ bookworm stable
sources.list:deb Index of /debian-security bookworm-security main contrib non-free non-free-firmware
sources.list:deb-src Index of /debian-security bookworm-security main contrib non-free non-free-firmware
sources.list:deb Index of /debian bookworm-updates main contrib non-free non-free-firmware
sources.list:deb-src Index of /debian bookworm-updates main contrib non-free non-free-firmware
sources.list.d/yarn.list: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] Index of /php/ bookworm main

Try running sudo apt update via SSH and post the exact error message. That could help to narrow down the cause.

If errors are related to yarn o sury repo, this may help:

I thought of this error too.

sudo apt update. Here ist the answer (translatet by google :slight_smile:):slight_smile:

OK:1 Index of /debian bookworm InRelease
Get:2 Index of /debian-security bookworm-security InRelease [34.8 kB]
OK:3 Index of /debian bookworm-updates InRelease
Get:5 Index of /debian bookworm/main Translation-de [1,748 kB]
OK:4 Index of /debian/ bookworm InRelease
Get:6 Index of /debian bookworm/main Translation-de_DE [830 B]
OK:7 Index of /php/ bookworm InRelease
Get:8 https://dl.yarnpkg.com/debian stable InRelease
Miss:8 https://dl.yarnpkg.com/debian stable InRelease
The following signatures could not be verified because their public key is not available: NO_PUBKEY 62D54FD4003F6525
1,800 kB were fetched in 1 s (1,465 kB/s).
Reading package lists… Done
Building dependency tree… Done
Status information is being read in… Done
All packages are current.
W: An error occurred while verifying the signature. The depot has not been updated and the previous index files are used. GPG Error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures could not be verified because their public key is not available: NO_PUBKEY 62D54FD4003F6525
W: Failed to get from https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures could not be verified because their public key is not available: NO_PUBKEY 62D54FD4003F6525
W: Some index files could not be downloaded. They were ignored or old ones were used in their place.

I followed your Link and could fix the the first problem. I can update the system now! Many Thanx!
I still can´t update some app. But this must be another reason.

https://paste.yunohost.org/raw/hobulazeto

I wanted to tag your answer as solution too. But I can only tag one answer as solution, sorry!