Error upgrading to Ynh12, erreur mise à jour vers Ynh12

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 11.2.3
How are you able to access your server: SSH

Describe your issue

I can’t upgrade to Yunohost 12, I followed section:

Erreur mise à jour vers Yunohost 12, j’ai suivi le paragraphe:

Share relevant logs or error messages

ended_at: 2024-10-14 16:14:36.610383
error: ‘Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Failed
to run command ‘‘aptitude update’’’
interface: api
operation: tools_migrations_migrate_forward
parent: null
started_at: 2024-10-14 16:14:23.289446
success: false
yunohost_version: 11.2.30.2

============

2024-10-14 17:14:23,305: INFO - Running migration 0027_migrate_to_bookworm…
2024-10-14 17:14:23,321: INFO - Starting migration to Bookworm…
2024-10-14 17:14:23,883: INFO - Patching the sources.lists file…
2024-10-14 17:14:27,517: 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”
2024-10-14 17:14:33,600: WARNING - E: The repository ‘http://adelolmo.github.io/bullseye bookworm Release’ does not have a Release file.
2024-10-14 17:14:33,602: WARNING - E: Failed to download some files
2024-10-14 17:14:33,603: WARNING - W: Failed to fetch http://adelolmo.github.io/bullseye/dists/bookworm/Release: 404 Not Found [IP: 2606:50c0:8002::153 443]
2024-10-14 17:14:33,603: WARNING - E: Some index files failed to download. They have been ignored, or old ones used instead.
2024-10-14 17:14:36,606: ERROR - Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Failed to run command ‘aptitude update’
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 129, in run
aptitude_with_progress_bar(“update”)
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 update’

You have a specific source list file pointing to adelolmo.github.io, maybe something installed manually, which doesnt seem to support bookworm

1 Like

What a moron, sorry.
I didn’t realize it was something I manually put in and not something part of the upgrade.