What type of hardware are you using: Raspberry Pi 3, 4+ What YunoHost version are you running: 12.0.10 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 ?: no
Describe your issue
La commande “yunohost tools update” me donne une erreur suite à la migration vers Bookworm
Share relevant logs or error messages
yunohost tools update
Info: Fetching available upgrades for system packages…
Warning: W: http://raspbian.raspberrypi.org/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION sectio
n in apt-key(8) for details.
Warning: W: Skipping acquire of configured file ‘non-free-firmware/binary-armhf/Packages’ as repository ‘Index of /raspbian bookworm InRelease’ doesn’t
have the component ‘non-free-firmware’ (component misspelt in sources.list?)
Warning: W: Skipping acquire of configured file ‘non-free-firmware/i18n/Translation-en’ as repository ‘Index of /raspbian bookworm InRelease’ doesn’t h
ave the component ‘non-free-firmware’ (component misspelt in sources.list?)
Warning: W: http://archive.raspberrypi.org/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section i
n apt-key(8) for details.
Error: Something went wrong while updating 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 Index of /raspbian bookworm main contrib non-free non-free-firmware rpi
sources.list.d/extra_php_version.list:deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] Index of /php/ bookworm main
sources.list.d/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] Index of /debian/ bookworm stable
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/raspi.list:deb Index of /debian bookworm main
Info: Updating application catalog…
Success! The application catalog has been updated!
apt is trying to help by telling where something went wrong:
Earlier, there is the warning:
Warning: W: Skipping acquire of configured file
‘non-free-firmware/binary-armhf/Packages’
as repository
‘Index of /raspbian bookworm InRelease’
doesn’t have the component
‘non-free-firmware’
(component misspelt in sources.list?)
I took the liberty to reformat your log for readability.
One way or another, an entry ‘non-free-firmware’ got into /etc/apt/sources.list. If it ever existed at Index of /raspbian/dists/bookworm, now it does not anymore:
Thank’s for your help ! I modified sources.list file by removing non-free-firmware. It’s better but there are always some warnings and one error.
# yunohost tools update
Info: Fetching available upgrades for system packages…
Warning: W: http://raspbian.raspberrypi.org/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION sectio
n in apt-key(8) for details.
Warning: W: http://archive.raspberrypi.org/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section i
n apt-key(8) for details.
Error: Something went wrong while updating 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://raspbian.raspberrypi.org/raspbian/ bookworm main contrib non-free rpi
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/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost-bookworm.gpg] http://forge.yunohost.org/debian/ bookworm stable
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/raspi.list:deb http://archive.raspberrypi.org/debian/ bookworm main
Info: Updating application catalog…
Success! The application catalog has been updated!
Info: Nothing to do. Everything is already up-to-date.
apps:
important_yunohost_upgrade: False
pending_migrations:
system:
# yunohost tools update
Info: Fetching available upgrades for system packages…
Info: Updating application catalog…
Success! The application catalog has been updated!
Info: Nothing to do. Everything is already up-to-date.
apps:
important_yunohost_upgrade: False
pending_migrations:
system: