ended_at: 2021-03-02 05:57:23.238940 error: "Migration 0015_migrate_to_buster did not complete, aborting. Error: Could\ \ not 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 buster main contrib\nsources.list:deb-src http://ftp.debian.org/debian\ \ buster main contrib\nsources.list:deb http://forge.yunohost.org/debian/ buster\ \ stable\nsources.list:deb http://security.debian.org/debian-security buster/updates\ \ main contrib non-free\nsources.list:deb-src http://security.debian.org/debian-security\ \ buster/updates main contrib non-free\nsources.list:deb http://ftp.debian.org/debian\ \ buster-updates main contrib non-free\nsources.list:deb-src http://ftp.debian.org/debian\ \ buster-updates main contrib non-free\nsources.list.d/sury.list:deb https://packages.sury.org/php/\ \ buster main\nsources.list.d/extra_php_version.list:deb https://packages.sury.org/php/\ \ buster main" operation: tools_migrations_migrate_forward started_at: 2021-03-02 05:57:04.598423 success: false yunohost_version: 3.8.5.9 ============ 2021-03-02 00:57:04,614: INFO - Running migration 0015_migrate_to_buster... 2021-03-02 00:57:04,624: INFO - Fetching available upgrades for system packages... 2021-03-02 00:57:05,040: DEBUG - Hit:1 https://packages.sury.org/php stretch InRelease 2021-03-02 00:57:05,141: DEBUG - Hit:2 http://security.debian.org/debian-security stretch/updates InRelease 2021-03-02 00:57:05,141: DEBUG - Ign:3 http://ftp.debian.org/debian stretch InRelease 2021-03-02 00:57:05,242: DEBUG - Hit:4 http://forge.yunohost.org/debian stretch InRelease 2021-03-02 00:57:05,242: DEBUG - Hit:5 http://ftp.debian.org/debian stretch-updates InRelease 2021-03-02 00:57:05,343: DEBUG - Hit:6 http://ftp.debian.org/debian stretch Release 2021-03-02 00:57:07,347: DEBUG - Reading package lists... 2021-03-02 00:57:07,348: WARNING - W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,350: WARNING - W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,351: WARNING - W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,351: WARNING - W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,352: WARNING - W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,353: WARNING - W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,353: WARNING - W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,354: WARNING - W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,355: WARNING - W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,355: WARNING - W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,356: WARNING - W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,357: WARNING - W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:07,458: 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://ftp.debian.org/debian stretch main contrib sources.list:deb-src http://ftp.debian.org/debian stretch main contrib sources.list:deb http://forge.yunohost.org/debian/ stretch stable sources.list:deb http://security.debian.org/debian-security stretch/updates main contrib non-free sources.list:deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free sources.list:deb http://ftp.debian.org/debian stretch-updates main contrib non-free sources.list:deb-src http://ftp.debian.org/debian stretch-updates main contrib non-free sources.list.d/sury.list:deb https://packages.sury.org/php/ stretch main sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ stretch main 2021-03-02 00:57:07,814: DEBUG - Done 2021-03-02 00:57:07,814: INFO - Nothing to do. Everything is already up-to-date. 2021-03-02 00:57:08,171: INFO - Starting migration to Buster 2021-03-02 00:57:08,345: INFO - Patching the sources.lists... 2021-03-02 00:57:08,369: INFO - Fetching available upgrades for system packages... 2021-03-02 00:57:08,685: DEBUG - Get:1 https://packages.sury.org/php buster InRelease [6771 B] 2021-03-02 00:57:08,786: DEBUG - Get:2 http://forge.yunohost.org/debian buster InRelease [18.2 kB] 2021-03-02 00:57:08,887: DEBUG - Get:3 https://packages.sury.org/php buster/main amd64 Packages [294 kB] 2021-03-02 00:57:08,888: DEBUG - Get:4 http://ftp.debian.org/debian buster InRelease [122 kB] 2021-03-02 00:57:08,888: DEBUG - Get:5 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] 2021-03-02 00:57:09,089: DEBUG - Get:6 http://forge.yunohost.org/debian buster/stable amd64 Packages [5276 B] 2021-03-02 00:57:09,189: DEBUG - Get:7 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB] 2021-03-02 00:57:09,290: DEBUG - Get:8 http://security.debian.org/debian-security buster/updates/non-free Sources [692 B] 2021-03-02 00:57:09,391: DEBUG - Get:9 http://security.debian.org/debian-security buster/updates/main Sources [179 kB] 2021-03-02 00:57:09,491: DEBUG - Get:10 http://ftp.debian.org/debian buster/contrib Sources [42.5 kB] 2021-03-02 00:57:09,592: DEBUG - Get:11 http://security.debian.org/debian-security buster/updates/main amd64 Packages [268 kB] 2021-03-02 00:57:09,593: DEBUG - Get:12 http://ftp.debian.org/debian buster/main Sources [7841 kB] 2021-03-02 00:57:09,693: DEBUG - Get:13 http://security.debian.org/debian-security buster/updates/main Translation-en [142 kB] 2021-03-02 00:57:09,694: DEBUG - Get:14 http://security.debian.org/debian-security buster/updates/non-free amd64 Packages [556 B] 2021-03-02 00:57:09,694: DEBUG - Get:15 http://security.debian.org/debian-security buster/updates/non-free Translation-en [344 B] 2021-03-02 00:57:10,696: DEBUG - Get:16 http://ftp.debian.org/debian buster/main amd64 Packages [7907 kB] 2021-03-02 00:57:12,500: DEBUG - Get:17 http://ftp.debian.org/debian buster/main Translation-en [5969 kB] 2021-03-02 00:57:13,803: DEBUG - Get:18 http://ftp.debian.org/debian buster/main amd64 DEP-11 Metadata [3807 kB] 2021-03-02 00:57:14,805: DEBUG - Get:19 http://ftp.debian.org/debian buster/main DEP-11 64x64 Icons [7596 kB] 2021-03-02 00:57:17,110: DEBUG - Get:20 http://ftp.debian.org/debian buster/contrib amd64 Packages [50.1 kB] 2021-03-02 00:57:17,111: DEBUG - Get:21 http://ftp.debian.org/debian buster/contrib Translation-en [44.2 kB] 2021-03-02 00:57:17,111: DEBUG - Get:22 http://ftp.debian.org/debian buster/contrib amd64 DEP-11 Metadata [11.5 kB] 2021-03-02 00:57:17,111: DEBUG - Get:23 http://ftp.debian.org/debian buster/contrib DEP-11 64x64 Icons [110 kB] 2021-03-02 00:57:17,112: DEBUG - Get:24 http://ftp.debian.org/debian buster-updates/non-free Sources [716 B] 2021-03-02 00:57:17,112: DEBUG - Get:25 http://ftp.debian.org/debian buster-updates/main Sources [4328 B] 2021-03-02 00:57:17,112: DEBUG - Get:26 http://ftp.debian.org/debian buster-updates/main amd64 Packages [9504 B] 2021-03-02 00:57:17,112: DEBUG - Get:27 http://ftp.debian.org/debian buster-updates/main Translation-en [6834 B] 2021-03-02 00:57:17,113: DEBUG - Get:28 http://ftp.debian.org/debian buster-updates/non-free amd64 Packages [604 B] 2021-03-02 00:57:17,314: DEBUG - Get:29 http://ftp.debian.org/debian buster-updates/non-free Translation-en [673 B] 2021-03-02 00:57:21,222: WARNING - The AppStream system cache was updated, but some errors were detected, which might lead to missing metadata. Refer to the verbose log for more information. 2021-03-02 00:57:21,324: DEBUG - Fetched 34.6 MB in 9s (3529 kB/s) 2021-03-02 00:57:23,128: DEBUG - Reading package lists... 2021-03-02 00:57:23,229: WARNING - W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,230: WARNING - W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,230: WARNING - W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,231: WARNING - W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,231: WARNING - W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,232: WARNING - W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,232: WARNING - E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' 2021-03-02 00:57:23,233: WARNING - E: Sub-process returned an error code 2021-03-02 00:57:23,233: WARNING - W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,234: WARNING - W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,234: WARNING - W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,235: WARNING - W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,235: WARNING - W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,236: WARNING - W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/sury.list:1 2021-03-02 00:57:23,237: ERROR - Migration 0015_migrate_to_buster did not complete, aborting. Error: Could not 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 buster main contrib sources.list:deb-src http://ftp.debian.org/debian buster main contrib sources.list:deb http://forge.yunohost.org/debian/ buster stable sources.list:deb http://security.debian.org/debian-security buster/updates main contrib non-free sources.list:deb-src http://security.debian.org/debian-security buster/updates main contrib non-free sources.list:deb http://ftp.debian.org/debian buster-updates main contrib non-free sources.list:deb-src http://ftp.debian.org/debian buster-updates main contrib non-free sources.list.d/sury.list:deb https://packages.sury.org/php/ buster main sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ buster main Traceback (most recent call last): File "/usr/lib/moulinette/yunohost/tools.py", line 895, in tools_migrations_migrate migration.run() File "/usr/lib/moulinette/yunohost/data_migrations/0015_migrate_to_buster.py", line 44, in run tools_update(system=True) File "/usr/lib/moulinette/yunohost/tools.py", line 447, in tools_update raise YunohostError('update_apt_cache_failed', sourceslist='\n'.join(_dump_sources_list())) YunohostError: Could not 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 buster main contrib sources.list:deb-src http://ftp.debian.org/debian buster main contrib sources.list:deb http://forge.yunohost.org/debian/ buster stable sources.list:deb http://security.debian.org/debian-security buster/updates main contrib non-free sources.list:deb-src http://security.debian.org/debian-security buster/updates main contrib non-free sources.list:deb http://ftp.debian.org/debian buster-updates main contrib non-free sources.list:deb-src http://ftp.debian.org/debian buster-updates main contrib non-free sources.list.d/sury.list:deb https://packages.sury.org/php/ buster main sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ buster main