My YunoHost server
Hardware: 2012 Mac mini running Yunohost in VirtualBox 6.1.36 at home. Provisioned with a single processor and 8GB of RAM.
YunoHost version: 4.4.2.5
I have access to my server : Through SSH, webadmin, via keyboard and screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : No
Description of my issue
I know this is going around, with migration issues and it being connected to the APT cache. I’ve tried everything over here in this thread:
But so far, I keep hitting the wall. Something I haven’t come across while searching the forum are the key verification problems I’m seeing. I’ve been running into those for a while now, but it hasn’t been a problem until recently. The log file share is below but, one note: I ran the Yunohost upgrade before beginning the migration. When things didn’t work out, I reverted to a back up. So I’m currently running 4.4.2.5 even though the log files say I’m running 4.4.2.10.
ended_at: 2022-08-22 11:22:28.209114
error: "Migration 0021_migrate_to_bullseye did not complete, aborting. Error: 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: \nsources.list:deb http://ftp.debian.org/debian\
\ bullseye main contrib\nsources.list:deb-src http://ftp.debian.org/debian bullseye\
\ main contrib\nsources.list:deb http://forge.yunohost.org/debian/ bullseye stable\n\
sources.list:deb http://security.debian.org/debian-security bullseye-security main\
\ contrib non-free\nsources.list:deb-src http://security.debian.org/debian-security\
\ bullseye-security main contrib non-free\nsources.list:deb http://ftp.debian.org/debian\
\ bullseye-updates main contrib non-free\nsources.list:deb-src http://ftp.debian.org/debian\
\ bullseye-updates main contrib non-free\nsources.list.d/extra_php_version.list:deb\
\ https://packages.sury.org/php/ bullseye main"
interface: cli
operation: tools_migrations_migrate_forward
parent: null
started_at: 2022-08-22 11:22:19.414257
success: false
yunohost_version: 4.4.2.10
============
2022-08-22 06:22:19,424: INFO - Running migration 0021_migrate_to_bullseye...
2022-08-22 06:22:19,441: INFO - Starting migration to Bullseye
2022-08-22 06:22:20,935: INFO - Patching the sources.lists...
2022-08-22 06:22:24,068: INFO - Fetching available upgrades for system packages...
2022-08-22 06:22:24,376: DEBUG - Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
2022-08-22 06:22:24,376: DEBUG - Hit:2 http://ftp.debian.org/debian bullseye InRelease
2022-08-22 06:22:24,425: DEBUG - Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
2022-08-22 06:22:24,775: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2022-08-22 06:22:25,036: DEBUG - Get:5 https://packages.sury.org/php bullseye InRelease [6841 B]
2022-08-22 06:22:25,446: DEBUG - Err:5 https://packages.sury.org/php bullseye InRelease
2022-08-22 06:22:25,447: DEBUG - The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
2022-08-22 06:22:27,123: DEBUG - Reading package lists...
2022-08-22 06:22:27,184: WARNING - W: GPG error: https://packages.sury.org/php bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
2022-08-22 06:22:27,189: WARNING - E: The repository 'https://packages.sury.org/php bullseye InRelease' is not signed.
2022-08-22 06:22:28,191: ERROR - Migration 0021_migrate_to_bullseye did not complete, aborting. Error: 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 bullseye main contrib
sources.list:deb-src http://ftp.debian.org/debian bullseye main contrib
sources.list:deb http://forge.yunohost.org/debian/ bullseye stable
sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb http://ftp.debian.org/debian bullseye-updates main contrib non-free
sources.list:deb-src http://ftp.debian.org/debian bullseye-updates main contrib non-free
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main
Traceback (most recent call last):
File "/usr/lib/moulinette/yunohost/tools.py", line 944, in tools_migrations_run
migration.run()
File "/usr/lib/moulinette/yunohost/data_migrations/0021_migrate_to_bullseye.py", line 121, in run
tools_update(target="system")
File "/usr/lib/moulinette/yunohost/tools.py", line 385, in tools_update
raise YunohostError(
yunohost.utils.error.YunohostError: 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 bullseye main contrib
sources.list:deb-src http://ftp.debian.org/debian bullseye main contrib
sources.list:deb http://forge.yunohost.org/debian/ bullseye stable
sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb http://ftp.debian.org/debian bullseye-updates main contrib non-free
sources.list:deb-src http://ftp.debian.org/debian bullseye-updates main contrib non-free
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main