Hi all,
I host Yunohost on Raspberry pi 4 at home.
I tried to upgrade and got the error message below. I donât know where to start. Anyone could help please ?
Note that for any reason dnsmasq is down and I canât restart it. Admin interface freeze when I select dnsmasq to restart it. I added manually 8.8.8.8 in resolv.dns to have the system working, I know it is âbricolageâ and it is overwritten.
Here is the log of the last attempt but I guess something went wrong during the first attempt:
2025-01-24 08:24:37,725: INFO - ExĂ©cution de la migration 0027_migrate_to_bookwormâŠ
2025-01-24 08:24:37,741: INFO - DĂ©marrage de la migration vers BookwormâŠ
2025-01-24 08:24:37,868: INFO - Correction du fichier sources.listsâŠ
2025-01-24 08:24:39,159: DEBUG - Running: LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none aptitude update --quiet=2 -o=Dpkg::Use-Pty=0 -o âAPT::Status-Fd=$YNH_STDINFOâ
2025-01-24 08:24:39,627: WARNING - W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease: Temporary failure resolving âdeb.debian.orgâ
2025-01-24 08:24:39,630: WARNING - W: Failed to fetch http://security.debian.org/debian-security/dists/bookworm-security/InRelease: Temporary failure resolving âsecurity.debian.orgâ
2025-01-24 08:24:39,631: WARNING - W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease: Temporary failure resolving âdeb.debian.orgâ
2025-01-24 08:24:39,632: WARNING - W: Failed to fetch https://packages.sury.org/php/dists/bookworm/InRelease: Temporary failure resolving âpackages.sury.orgâ
2025-01-24 08:24:39,634: WARNING - W: Failed to fetch http://archive.raspberrypi.org/debian/dists/bookworm/InRelease: Temporary failure resolving âarchive.raspberrypi.orgâ
2025-01-24 08:24:39,636: WARNING - W: Failed to fetch http://forge.yunohost.org/debian/dists/bookworm/InRelease: Temporary failure resolving âforge.yunohost.orgâ
2025-01-24 08:24:39,637: WARNING - W: Some index files failed to download. They have been ignored, or old ones used instead.
2025-01-24 08:24:41,607: INFO - Application dâun correctif pour rĂ©soudre le problĂšme de conflitâŠ
2025-01-24 08:24:41,661: DEBUG - Running: sed -i /var/lib/dpkg/status -e âs@Conflicts: apache2, bind9@Conflicts: apache2, bind9@gâ
2025-01-24 08:24:41,718: INFO - DĂ©marrage de la mise Ă niveau du systĂšmeâŠ
2025-01-24 08:24:41,768: DEBUG - Running: LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none aptitude markauto mariadb-server metronome rspamd php-common php-mbstring php-pear php-php-gettext php-xml php7.4-cli php7.4-common php7.4-curl php7.4-fpm php
7.4-gd php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php8.0-cli php8.0-common php8.0-gd php8.0-mbstring php8.0-opcache php8.0-readline php8.0-xml php8.1-cli php8.1-common php8.1-gd php8.1-mbstring php8.1-opcac
he php8.1-readline php8.1-xml php8.2-cli php8.2-common php8.2-gd php8.2-mbstring php8.2-opcache php8.2-readline php8.2-xml php8.3 php8.3-apcu php8.3-bcmath php8.3-bz2 php8.3-cli php8.3-common php8.3-curl php8.3-fpm php8.3-gd php8.3-gmp php8.3-igbinary php8.3-imagick php
8.3-imap php8.3-intl php8.3-ldap php8.3-mbstring php8.3-mysql php8.3-opcache php8.3-readline php8.3-redis php8.3-xml php8.3-zip phpsysinfo-ynh-deps --quiet=2 -o=Dpkg::Use-Pty=0 -o âAPT::Status-Fd=$YNH_STDINFOâ
2025-01-24 08:24:42,006: DEBUG - Package rspamd is not installed, cannot be marked/unmarked as automatically installed
2025-01-24 08:24:43,108: DEBUG - Running: YUNOHOST_API_RESTART_WILL_BE_HANDLED_BY_YUNOHOST=yes LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none aptitude hold yunohost moulinette ssowat yunohost-admin kimai2-ynh-deps nextcloudâ2-ynh-deps nextcloud-y
nh-deps phpsysinfo-ynh-deps --quiet=2 -o=Dpkg::Use-Pty=0 -o âAPT::Status-Fd=$YNH_STDINFOâ
2025-01-24 08:24:44,118: DEBUG - Running: sed -i /var/lib/dpkg/status -e âs@rspamd, @@gâ
2025-01-24 08:24:44,145: DEBUG - Running: LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none aptitude full-upgrade cron rspamd- luajit- libluajit-5.1-2- --show-why -o APT::Force-LoopBreak=1 -o Dpkg::Options::=ââforce-confoldâ --quiet=2 -o=Dpkg::Use-P
ty=0 -o âAPT::Status-Fd=$YNH_STDINFOâ
2025-01-24 08:24:44,386: WARNING - Unable to apply some actions, aborting
2025-01-24 08:24:44,389: DEBUG - cron is already installed at the latest version (3.0pl1-137), so it will not be upgraded
2025-01-24 08:24:44,389: DEBUG - Package rspamd is not installed, so it will not be removed
2025-01-24 08:24:44,390: DEBUG - Couldnât find any package whose name or description matched âluajitâ
2025-01-24 08:24:45,391: ERROR - La migration 0027_migrate_to_bookworm a Ă©chouĂ©, abandon. Erreur : Failed to run command âaptitude full-upgrade cron rspamd- luajit- libluajit-5.1-2- --show-why -o APT::Force-LoopBreak=1 -o Dpkg::Options::=ââforce-confoldââ
Traceback (most recent call last):
File â/usr/lib/python3/dist-packages/yunohost/tools.pyâ, line 786, in tools_migrations_run
migration.run()
File â/usr/lib/python3/dist-packages/yunohost/migrations/0027_migrate_to_bookworm.pyâ, line 204, in run
aptitude_with_progress_bar(
File â/usr/lib/python3/dist-packages/yunohost/utils/system.pyâ, line 315, in aptitude_with_progress_bar
raise YunohostError(
yunohost.utils.error.YunohostError: Failed to run command âaptitude full-upgrade cron rspamd- luajit- libluajit-5.1-2- --show-why -o APT::Force-LoopBreak=1 -o Dpkg::Options::=ââforce-confoldââ