args:
  app: homeassistant
  force: false
  label: undefined
  no_remove_on_failure: false
ended_at: 2023-08-04 15:06:24.138465
env:
  YNH_APP_ACTION: install
  YNH_APP_ARG_COUNTRY: US
  YNH_APP_ARG_CURRENCY: USD
  YNH_APP_ARG_DOMAIN: domain2.tld
  YNH_APP_ARG_ELEVATION: '430'
  YNH_APP_ARG_HOME: Home
  YNH_APP_ARG_INIT_MAIN_PERMISSION: visitors
  YNH_APP_ARG_LATITUDE: '32.87336'
  YNH_APP_ARG_LONGITUDE: '117.22743'
  YNH_APP_ARG_TIME_ZONE: America/Los_Angeles
  YNH_APP_ARG_UNIT_SYSTEM: metric
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_w9uucxy5
  YNH_APP_ID: homeassistant
  YNH_APP_INSTANCE_NAME: homeassistant
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 2023.7.3~ynh1
  YNH_APP_PACKAGING_FORMAT: '2.0'
  YNH_ARCH: amd64
  YNH_DEBIAN_VERSION: bullseye
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
  - homeassistant
started_at: 2023-08-04 15:05:51.212200
success: false
yunohost_version: 11.2.3

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

2023-08-04 11:05:51,222: INFO - Installing homeassistant...
2023-08-04 11:05:51,230: INFO - Provisionning system_user...
2023-08-04 11:05:51,334: INFO - Provisionning install_dir...
2023-08-04 11:05:51,346: INFO - Provisionning data_dir...
2023-08-04 11:05:51,355: INFO - Provisionning permissions...
2023-08-04 11:05:51,632: DEBUG - Permission 'homeassistant.main' updated
2023-08-04 11:05:51,748: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230804-150551-permission_url-homeassistant" style="text-decoration:underline">Update URL related to permission 'homeassistant'</a>'
2023-08-04 11:05:51,959: DEBUG - Permission 'homeassistant.main' created
2023-08-04 11:05:51,959: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230804-150551-permission_create-homeassistant" style="text-decoration:underline">Create permission 'homeassistant'</a>'
2023-08-04 11:05:52,337: DEBUG - Permission 'homeassistant.main' updated
2023-08-04 11:05:52,337: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230804-150552-user_permission_update-homeassistant" style="text-decoration:underline">Update accesses for permission 'homeassistant'</a>'
2023-08-04 11:05:52,616: DEBUG - Nothing to update in LDAP
2023-08-04 11:05:52,616: DEBUG - Permission 'homeassistant.main' updated
2023-08-04 11:05:52,714: DEBUG - Full log of this operation: '<a href="#/tools/logs/20230804-150552-permission_url-homeassistant" style="text-decoration:underline">Update URL related to permission 'homeassistant'</a>'
2023-08-04 11:05:52,857: DEBUG - The permission database has been resynchronized
2023-08-04 11:05:53,028: DEBUG - SSOwat configuration regenerated
2023-08-04 11:05:53,038: INFO - Provisionning ports...
2023-08-04 11:05:53,061: INFO - Provisionning apt...
2023-08-04 11:05:53,088: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2023-08-04 11:05:53,098: DEBUG - + source /usr/share/yunohost/helpers
2023-08-04 11:05:53,099: DEBUG - +++ set +o
2023-08-04 11:05:53,099: DEBUG - +++ grep xtrace
2023-08-04 11:05:53,101: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-08-04 11:05:53,101: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-08-04 11:05:53,125: DEBUG - + ynh_abort_if_errors
2023-08-04 11:05:53,126: DEBUG - + trap ynh_exit_properly EXIT
2023-08-04 11:05:53,126: DEBUG - + ynh_install_app_dependencies mariadb-server python3-dev python3-venv python3-pip libffi-dev autoconf build-essential libopenjp2-7-dev libtiff-dev libturbojpeg0-dev libmariadb-dev-compat rustc tk-dev libreadline-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libbz2-dev libexpat1-dev liblzma-dev wget tar libnss3-dev ffmpeg
2023-08-04 11:05:53,126: DEBUG - + local 'dependencies=mariadb-server python3-dev python3-venv python3-pip libffi-dev autoconf build-essential libopenjp2-7-dev libtiff-dev libturbojpeg0-dev libmariadb-dev-compat rustc tk-dev libreadline-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libbz2-dev libexpat1-dev liblzma-dev wget tar libnss3-dev ffmpeg'
2023-08-04 11:05:53,127: DEBUG - ++ echo 'mariadb-server python3-dev python3-venv python3-pip libffi-dev autoconf build-essential libopenjp2-7-dev libtiff-dev libturbojpeg0-dev libmariadb-dev-compat rustc tk-dev libreadline-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libbz2-dev libexpat1-dev liblzma-dev wget tar libnss3-dev ffmpeg'
2023-08-04 11:05:53,127: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2023-08-04 11:05:53,131: DEBUG - + dependencies='mariadb-server, python3-dev, python3-venv, python3-pip, libffi-dev, autoconf, build-essential, libopenjp2-7-dev, libtiff-dev, libturbojpeg0-dev, libmariadb-dev-compat, rustc, tk-dev, libreadline-dev, libdb5.3-dev, libgdbm-dev, libsqlite3-dev, libbz2-dev, libexpat1-dev, liblzma-dev, wget, tar, libnss3-dev, ffmpeg'
2023-08-04 11:05:53,132: DEBUG - + local 'dependencies=mariadb-server, python3-dev, python3-venv, python3-pip, libffi-dev, autoconf, build-essential, libopenjp2-7-dev, libtiff-dev, libturbojpeg0-dev, libmariadb-dev-compat, rustc, tk-dev, libreadline-dev, libdb5.3-dev, libgdbm-dev, libsqlite3-dev, libbz2-dev, libexpat1-dev, liblzma-dev, wget, tar, libnss3-dev, ffmpeg'
2023-08-04 11:05:53,133: DEBUG - ++ ynh_read_manifest --manifest_key=version
2023-08-04 11:05:53,156: DEBUG - ++ '[' '!' -e '' ']'
2023-08-04 11:05:53,157: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_yg_1y7t2/manifest.json ']'
2023-08-04 11:05:53,157: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_yg_1y7t2/manifest.toml ']'
2023-08-04 11:05:53,157: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_yg_1y7t2/manifest.toml
2023-08-04 11:05:53,157: DEBUG - ++ grep -q '\.json$'
2023-08-04 11:05:53,158: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_yg_1y7t2/manifest.toml
2023-08-04 11:05:53,160: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_yg_1y7t2/manifest.toml
2023-08-04 11:05:53,160: DEBUG - ++ jq .version --raw-output
2023-08-04 11:05:53,162: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2023-08-04 11:05:53,207: DEBUG - + local version=2023.7.3~ynh1
2023-08-04 11:05:53,207: DEBUG - + '[' -z 2023.7.3~ynh1 ']'
2023-08-04 11:05:53,208: DEBUG - + '[' 2023.7.3~ynh1 == null ']'
2023-08-04 11:05:53,208: DEBUG - + local dep_app=homeassistant
2023-08-04 11:05:53,208: DEBUG - + [[ mariadb-server, python3-dev, python3-venv, python3-pip, libffi-dev, autoconf, build-essential, libopenjp2-7-dev, libtiff-dev, libturbojpeg0-dev, libmariadb-dev-compat, rustc, tk-dev, libreadline-dev, libdb5.3-dev, libgdbm-dev, libsqlite3-dev, libbz2-dev, libexpat1-dev, liblzma-dev, wget, tar, libnss3-dev, ffmpeg =~ [<=>] ]]
2023-08-04 11:05:53,208: DEBUG - ++ sort -u
2023-08-04 11:05:53,208: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2023-08-04 11:05:53,210: DEBUG - ++ echo mariadb-server, python3-dev, python3-venv, python3-pip, libffi-dev, autoconf, build-essential, libopenjp2-7-dev, libtiff-dev, libturbojpeg0-dev, libmariadb-dev-compat, rustc, tk-dev, libreadline-dev, libdb5.3-dev, libgdbm-dev, libsqlite3-dev, libbz2-dev, libexpat1-dev, liblzma-dev, wget, tar, libnss3-dev, ffmpeg
2023-08-04 11:05:53,211: DEBUG - + local specific_php_version=
2023-08-04 11:05:53,212: DEBUG - + grep --quiet php
2023-08-04 11:05:53,213: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-08-04 11:05:53,223: DEBUG - ++ ynh_wait_dpkg_free
2023-08-04 11:05:53,420: DEBUG - ++ return 0
2023-08-04 11:05:53,421: DEBUG - ++ grep --count 'ok installed'
2023-08-04 11:05:53,421: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-08-04 11:05:53,458: DEBUG - ++ echo no
2023-08-04 11:05:53,459: DEBUG - + local psql_installed=no
2023-08-04 11:05:53,459: DEBUG - + [[ true == \t\r\u\e ]]
2023-08-04 11:05:53,459: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2023-08-04 11:05:53,459: DEBUG - + cat
2023-08-04 11:05:53,461: DEBUG - + ynh_package_install_from_equivs /tmp/homeassistant-ynh-deps.control
2023-08-04 11:05:53,462: DEBUG - + local controlfile=/tmp/homeassistant-ynh-deps.control
2023-08-04 11:05:53,462: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-08-04 11:05:53,463: DEBUG - ++ grep '^Package: ' /tmp/homeassistant-ynh-deps.control
2023-08-04 11:05:53,466: DEBUG - + local pkgname=homeassistant-ynh-deps
2023-08-04 11:05:53,467: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-08-04 11:05:53,467: DEBUG - ++ grep '^Version: ' /tmp/homeassistant-ynh-deps.control
2023-08-04 11:05:53,472: DEBUG - + local pkgversion=2023.7.3~ynh1
2023-08-04 11:05:53,472: DEBUG - + [[ -z homeassistant-ynh-deps ]]
2023-08-04 11:05:53,472: DEBUG - + [[ -z 2023.7.3~ynh1 ]]
2023-08-04 11:05:53,472: DEBUG - + ynh_package_update
2023-08-04 11:05:53,472: DEBUG - + ynh_apt update
2023-08-04 11:05:53,472: DEBUG - + ynh_wait_dpkg_free
2023-08-04 11:05:53,659: DEBUG - + return 0
2023-08-04 11:05:53,660: DEBUG - + LC_ALL=C
2023-08-04 11:05:53,660: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-08-04 11:05:53,660: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-08-04 11:05:54,166: DEBUG - Ign:1 http://ppa.launchpad.net/ondrej/php/ubuntu mantic InRelease
2023-08-04 11:05:54,232: DEBUG - Hit:2 http://deb.debian.org/debian bullseye InRelease
2023-08-04 11:05:54,233: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2023-08-04 11:05:54,346: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2023-08-04 11:05:54,373: DEBUG - Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
2023-08-04 11:05:54,433: DEBUG - Err:6 http://ppa.launchpad.net/ondrej/php/ubuntu mantic Release
2023-08-04 11:05:54,433: DEBUG -   404  Not Found [IP: 2620:2d:4000:1::3e 80]
2023-08-04 11:05:54,475: DEBUG - Hit:7 https://download.docker.com/linux/debian bullseye InRelease
2023-08-04 11:05:54,524: DEBUG - Hit:8 https://packages.sury.org/php bullseye InRelease
2023-08-04 11:05:55,911: DEBUG - Reading package lists...
2023-08-04 11:05:55,927: WARNING - E: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu mantic Release' does not have a Release file.
2023-08-04 11:05:55,929: 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/php.list:1
2023-08-04 11:05:55,929: 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/php.list:1
2023-08-04 11:05:55,930: 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/php.list:1
2023-08-04 11:05:55,930: 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/php.list:1
2023-08-04 11:05:55,931: 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/php.list:1
2023-08-04 11:05:55,931: WARNING - W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php.list:1
2023-08-04 11:05:55,932: 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/php.list:1
2023-08-04 11:05:55,932: 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/php.list:1
2023-08-04 11:05:55,933: 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/php.list:1
2023-08-04 11:05:55,933: 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/php.list:1
2023-08-04 11:05:55,934: 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/php.list:1
2023-08-04 11:05:55,934: 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/php.list:1
2023-08-04 11:05:55,935: WARNING - W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php.list:1
2023-08-04 11:05:55,935: 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/php.list:1
2023-08-04 11:05:55,935: DEBUG - ++ mktemp --directory
2023-08-04 11:05:55,936: DEBUG - + local TMPDIR=/tmp/tmp.yiUC7fwiXh
2023-08-04 11:05:55,936: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2023-08-04 11:05:55,936: DEBUG - + ynh_wait_dpkg_free
2023-08-04 11:05:56,091: DEBUG - + return 0
2023-08-04 11:05:56,092: DEBUG - + cp /tmp/homeassistant-ynh-deps.control /tmp/tmp.yiUC7fwiXh/control
2023-08-04 11:05:56,093: DEBUG - + cd /tmp/tmp.yiUC7fwiXh
2023-08-04 11:05:56,094: DEBUG - + LC_ALL=C
2023-08-04 11:05:56,095: DEBUG - + equivs-build ./control
2023-08-04 11:05:56,290: DEBUG - dpkg-buildpackage: info: source package homeassistant-ynh-deps
2023-08-04 11:05:56,291: DEBUG - dpkg-buildpackage: info: source version 2023.7.3~ynh1
2023-08-04 11:05:56,291: DEBUG - dpkg-buildpackage: info: source distribution unstable
2023-08-04 11:05:56,291: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2023-08-04 11:05:56,343: DEBUG -  dpkg-source --before-build .
2023-08-04 11:05:56,343: DEBUG - dpkg-buildpackage: info: host architecture amd64
2023-08-04 11:05:56,463: DEBUG -  debian/rules clean
2023-08-04 11:05:56,465: DEBUG - dh clean
2023-08-04 11:05:56,557: DEBUG -    dh_clean
2023-08-04 11:05:56,602: DEBUG -  debian/rules binary
2023-08-04 11:05:56,603: DEBUG - dh binary
2023-08-04 11:05:56,687: DEBUG -    dh_update_autotools_config
2023-08-04 11:05:56,724: DEBUG -    dh_autoreconf
2023-08-04 11:05:56,772: DEBUG -    create-stamp debian/debhelper-build-stamp
2023-08-04 11:05:56,772: DEBUG -    dh_prep
2023-08-04 11:05:56,807: DEBUG -    dh_install
2023-08-04 11:05:56,846: DEBUG -    dh_installdocs
2023-08-04 11:05:56,890: DEBUG -    dh_installchangelogs
2023-08-04 11:05:56,998: DEBUG -    dh_perl
2023-08-04 11:05:57,039: DEBUG -    dh_link
2023-08-04 11:05:57,077: DEBUG -    dh_strip_nondeterminism
2023-08-04 11:05:57,157: DEBUG -    dh_compress
2023-08-04 11:05:57,216: DEBUG -    dh_fixperms
2023-08-04 11:05:57,281: DEBUG -    dh_missing
2023-08-04 11:05:57,312: DEBUG -    dh_installdeb
2023-08-04 11:05:57,348: DEBUG -    dh_gencontrol
2023-08-04 11:05:57,482: DEBUG -    dh_md5sums
2023-08-04 11:05:57,528: DEBUG -    dh_builddeb
2023-08-04 11:05:57,565: DEBUG - dpkg-deb: building package 'homeassistant-ynh-deps' in '../homeassistant-ynh-deps_2023.7.3~ynh1_all.deb'.
2023-08-04 11:05:57,604: DEBUG -  dpkg-genbuildinfo --build=binary
2023-08-04 11:05:58,159: DEBUG -  dpkg-genchanges --build=binary >../homeassistant-ynh-deps_2023.7.3~ynh1_amd64.changes
2023-08-04 11:05:58,251: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2023-08-04 11:05:58,255: DEBUG -  dpkg-source --after-build .
2023-08-04 11:05:58,376: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2023-08-04 11:05:58,384: DEBUG - 
2023-08-04 11:05:58,385: DEBUG - The package has been created.
2023-08-04 11:05:58,385: DEBUG - Attention, the package has been created in the current directory,
2023-08-04 11:05:58,385: DEBUG - not in ".." as indicated by the message above!
2023-08-04 11:05:58,386: DEBUG - + tee ./dpkg_log
2023-08-04 11:05:58,387: DEBUG - + LC_ALL=C
2023-08-04 11:05:58,387: DEBUG - + dpkg --force-depends --install ./homeassistant-ynh-deps_2023.7.3~ynh1_all.deb
2023-08-04 11:05:58,459: DEBUG - Selecting previously unselected package homeassistant-ynh-deps.
2023-08-04 11:05:58,586: DEBUG - (Reading database ... 165731 files and directories currently installed.)
2023-08-04 11:05:58,593: DEBUG - Preparing to unpack .../homeassistant-ynh-deps_2023.7.3~ynh1_all.deb ...
2023-08-04 11:05:58,595: DEBUG - Unpacking homeassistant-ynh-deps (2023.7.3~ynh1) ...
2023-08-04 11:05:58,677: DEBUG - dpkg: homeassistant-ynh-deps: dependency problems, but configuring anyway as you requested:
2023-08-04 11:05:58,678: DEBUG -  homeassistant-ynh-deps depends on libffi-dev; however:
2023-08-04 11:05:58,678: DEBUG -   Package libffi-dev is not installed.
2023-08-04 11:05:58,678: DEBUG -  homeassistant-ynh-deps depends on libopenjp2-7-dev; however:
2023-08-04 11:05:58,678: DEBUG -   Package libopenjp2-7-dev is not installed.
2023-08-04 11:05:58,678: DEBUG -  homeassistant-ynh-deps depends on libtiff-dev; however:
2023-08-04 11:05:58,678: DEBUG -   Package libtiff-dev is not installed.
2023-08-04 11:05:58,678: DEBUG -  homeassistant-ynh-deps depends on libturbojpeg0-dev; however:
2023-08-04 11:05:58,678: DEBUG -   Package libturbojpeg0-dev is not installed.
2023-08-04 11:05:58,679: DEBUG -  homeassistant-ynh-deps depends on rustc; however:
2023-08-04 11:05:58,679: DEBUG -   Package rustc is not installed.
2023-08-04 11:05:58,679: DEBUG -  homeassistant-ynh-deps depends on tk-dev; however:
2023-08-04 11:05:58,679: DEBUG -   Package tk-dev is not installed.
2023-08-04 11:05:58,679: DEBUG -  homeassistant-ynh-deps depends on libreadline-dev; however:
2023-08-04 11:05:58,679: DEBUG -   Package libreadline-dev is not installed.
2023-08-04 11:05:58,679: DEBUG -  homeassistant-ynh-deps depends on libdb5.3-dev; however:
2023-08-04 11:05:58,679: DEBUG -   Package libdb5.3-dev is not installed.
2023-08-04 11:05:58,679: DEBUG -  homeassistant-ynh-deps depends on libgdbm-dev; however:
2023-08-04 11:05:58,680: DEBUG -   Package libgdbm-dev is not installed.
2023-08-04 11:05:58,680: DEBUG -  homeassistant-ynh-deps depends on libsqlite3-dev; however:
2023-08-04 11:05:58,680: DEBUG -   Package libsqlite3-dev is not installed.
2023-08-04 11:05:58,680: DEBUG -  homeassistant-ynh-deps depends on libbz2-dev; however:
2023-08-04 11:05:58,680: DEBUG -   Package libbz2-dev is not installed.
2023-08-04 11:05:58,680: DEBUG -  homeassistant-ynh-deps depends on liblzma-dev; however:
2023-08-04 11:05:58,680: DEBUG -   Package liblzma-dev is not installed.
2023-08-04 11:05:58,680: DEBUG - 
2023-08-04 11:05:58,680: DEBUG - Setting up homeassistant-ynh-deps (2023.7.3~ynh1) ...
2023-08-04 11:05:58,712: DEBUG - + ynh_package_install --fix-broken
2023-08-04 11:05:58,713: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-08-04 11:05:58,713: DEBUG - + ynh_wait_dpkg_free
2023-08-04 11:05:58,905: DEBUG - + return 0
2023-08-04 11:05:58,905: DEBUG - + LC_ALL=C
2023-08-04 11:05:58,905: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-08-04 11:05:58,906: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-08-04 11:05:59,036: DEBUG - Reading package lists...
2023-08-04 11:05:59,213: DEBUG - Building dependency tree...
2023-08-04 11:05:59,215: DEBUG - Reading state information...
2023-08-04 11:05:59,306: DEBUG - Correcting dependencies... Done
2023-08-04 11:05:59,421: DEBUG - The following additional packages will be installed:
2023-08-04 11:05:59,421: DEBUG -   cargo libbrotli-dev libbz2-dev libdb5.3-dev libdeflate-dev libffi-dev
2023-08-04 11:05:59,422: DEBUG -   libfontconfig-dev libfontconfig1-dev libfreetype-dev libfreetype6-dev
2023-08-04 11:05:59,422: DEBUG -   libgdbm-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblzma-dev
2023-08-04 11:05:59,423: DEBUG -   libncurses-dev libopenjp2-7-dev libpng-dev libpng-tools libreadline-dev
2023-08-04 11:05:59,423: DEBUG -   libsqlite3-dev libstd-rust-1.48 libstd-rust-dev libtcl8.6 libtiff-dev
2023-08-04 11:05:59,423: DEBUG -   libtiffxx5 libtk8.6 libturbojpeg0 libturbojpeg0-dev libxext-dev libxft-dev
2023-08-04 11:05:59,423: DEBUG -   libxrender-dev libxss-dev rust-gdb rustc tcl tcl-dev tcl8.6 tcl8.6-dev tk
2023-08-04 11:05:59,424: DEBUG -   tk-dev tk8.6 tk8.6-dev uuid-dev x11proto-scrnsaver-dev x11proto-xext-dev
2023-08-04 11:05:59,424: DEBUG - Suggested packages:
2023-08-04 11:05:59,424: DEBUG -   cargo-doc db5.3-doc freetype2-doc liblzma-doc ncurses-doc readline-doc
2023-08-04 11:05:59,424: DEBUG -   sqlite3-doc libxext-doc gdb-doc rust-doc rust-src lld-11 tcl-doc
2023-08-04 11:05:59,425: DEBUG -   tcl-tclreadline tcl8.6-doc tk-doc tk8.6-doc
2023-08-04 11:05:59,425: DEBUG - Recommended packages:
2023-08-04 11:05:59,425: DEBUG -   cargo
2023-08-04 11:05:59,434: DEBUG - The following NEW packages will be installed:
2023-08-04 11:05:59,435: DEBUG -   cargo libbrotli-dev libbz2-dev libdb5.3-dev libdeflate-dev libffi-dev
2023-08-04 11:05:59,435: DEBUG -   libfontconfig-dev libfontconfig1-dev libfreetype-dev libfreetype6-dev
2023-08-04 11:05:59,435: DEBUG -   libgdbm-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblzma-dev
2023-08-04 11:05:59,436: DEBUG -   libncurses-dev libopenjp2-7-dev libpng-dev libpng-tools libreadline-dev
2023-08-04 11:05:59,436: DEBUG -   libsqlite3-dev libstd-rust-1.48 libstd-rust-dev libtcl8.6 libtiff-dev
2023-08-04 11:05:59,436: DEBUG -   libtiffxx5 libtk8.6 libturbojpeg0 libturbojpeg0-dev libxext-dev libxft-dev
2023-08-04 11:05:59,436: DEBUG -   libxrender-dev libxss-dev rust-gdb rustc tcl tcl-dev tcl8.6 tcl8.6-dev tk
2023-08-04 11:05:59,437: DEBUG -   tk-dev tk8.6 tk8.6-dev uuid-dev x11proto-scrnsaver-dev x11proto-xext-dev
2023-08-04 11:06:00,127: DEBUG - 0 upgraded, 46 newly installed, 0 to remove and 13 not upgraded.
2023-08-04 11:06:00,127: DEBUG - Need to get 0 B/65.7 MB of archives.
2023-08-04 11:06:00,127: DEBUG - After this operation, 304 MB of additional disk space will be used.
2023-08-04 11:06:00,173: DEBUG - Selecting previously unselected package libstd-rust-1.48:amd64.
2023-08-04 11:06:00,277: DEBUG - (Reading database ... 165735 files and directories currently installed.)
2023-08-04 11:06:00,283: DEBUG - Preparing to unpack .../00-libstd-rust-1.48_1.48.0+dfsg1-2_amd64.deb ...
2023-08-04 11:06:00,285: DEBUG - Unpacking libstd-rust-1.48:amd64 (1.48.0+dfsg1-2) ...
2023-08-04 11:06:02,741: DEBUG - Selecting previously unselected package libstd-rust-dev:amd64.
2023-08-04 11:06:02,760: DEBUG - Preparing to unpack .../01-libstd-rust-dev_1.48.0+dfsg1-2_amd64.deb ...
2023-08-04 11:06:02,761: DEBUG - Unpacking libstd-rust-dev:amd64 (1.48.0+dfsg1-2) ...
2023-08-04 11:06:06,185: DEBUG - Selecting previously unselected package rustc.
2023-08-04 11:06:06,201: DEBUG - Preparing to unpack .../02-rustc_1.48.0+dfsg1-2_amd64.deb ...
2023-08-04 11:06:06,203: DEBUG - Unpacking rustc (1.48.0+dfsg1-2) ...
2023-08-04 11:06:06,449: DEBUG - Selecting previously unselected package cargo.
2023-08-04 11:06:06,468: DEBUG - Preparing to unpack .../03-cargo_0.47.0-3+b1_amd64.deb ...
2023-08-04 11:06:06,469: DEBUG - Unpacking cargo (0.47.0-3+b1) ...
2023-08-04 11:06:06,853: DEBUG - Selecting previously unselected package libbrotli-dev:amd64.
2023-08-04 11:06:06,868: DEBUG - Preparing to unpack .../04-libbrotli-dev_1.0.9-2+b2_amd64.deb ...
2023-08-04 11:06:06,869: DEBUG - Unpacking libbrotli-dev:amd64 (1.0.9-2+b2) ...
2023-08-04 11:06:06,933: DEBUG - Selecting previously unselected package libbz2-dev:amd64.
2023-08-04 11:06:06,951: DEBUG - Preparing to unpack .../05-libbz2-dev_1.0.8-4_amd64.deb ...
2023-08-04 11:06:06,953: DEBUG - Unpacking libbz2-dev:amd64 (1.0.8-4) ...
2023-08-04 11:06:06,997: DEBUG - Selecting previously unselected package libdb5.3-dev.
2023-08-04 11:06:07,014: DEBUG - Preparing to unpack .../06-libdb5.3-dev_5.3.28+dfsg1-0.8_amd64.deb ...
2023-08-04 11:06:07,016: DEBUG - Unpacking libdb5.3-dev (5.3.28+dfsg1-0.8) ...
2023-08-04 11:06:07,157: DEBUG - Selecting previously unselected package libdeflate-dev:amd64.
2023-08-04 11:06:07,176: DEBUG - Preparing to unpack .../07-libdeflate-dev_1.7-1_amd64.deb ...
2023-08-04 11:06:07,177: DEBUG - Unpacking libdeflate-dev:amd64 (1.7-1) ...
2023-08-04 11:06:07,217: DEBUG - Selecting previously unselected package libffi-dev:amd64.
2023-08-04 11:06:07,234: DEBUG - Preparing to unpack .../08-libffi-dev_3.3-6_amd64.deb ...
2023-08-04 11:06:07,235: DEBUG - Unpacking libffi-dev:amd64 (3.3-6) ...
2023-08-04 11:06:07,281: DEBUG - Selecting previously unselected package libpng-dev:amd64.
2023-08-04 11:06:07,294: DEBUG - Preparing to unpack .../09-libpng-dev_1.6.37-3_amd64.deb ...
2023-08-04 11:06:07,295: DEBUG - Unpacking libpng-dev:amd64 (1.6.37-3) ...
2023-08-04 11:06:07,357: DEBUG - Selecting previously unselected package libfreetype-dev:amd64.
2023-08-04 11:06:07,373: DEBUG - Preparing to unpack .../10-libfreetype-dev_2.10.4+dfsg-1+deb11u1_amd64.deb ...
2023-08-04 11:06:07,375: DEBUG - Unpacking libfreetype-dev:amd64 (2.10.4+dfsg-1+deb11u1) ...
2023-08-04 11:06:07,493: DEBUG - Selecting previously unselected package libfreetype6-dev:amd64.
2023-08-04 11:06:07,510: DEBUG - Preparing to unpack .../11-libfreetype6-dev_2.10.4+dfsg-1+deb11u1_amd64.deb ...
2023-08-04 11:06:07,519: DEBUG - Unpacking libfreetype6-dev:amd64 (2.10.4+dfsg-1+deb11u1) ...
2023-08-04 11:06:07,561: DEBUG - Selecting previously unselected package uuid-dev:amd64.
2023-08-04 11:06:07,576: DEBUG - Preparing to unpack .../12-uuid-dev_2.36.1-8+deb11u1_amd64.deb ...
2023-08-04 11:06:07,577: DEBUG - Unpacking uuid-dev:amd64 (2.36.1-8+deb11u1) ...
2023-08-04 11:06:07,625: DEBUG - Selecting previously unselected package libfontconfig-dev:amd64.
2023-08-04 11:06:07,642: DEBUG - Preparing to unpack .../13-libfontconfig-dev_2.13.1-4.2_amd64.deb ...
2023-08-04 11:06:07,643: DEBUG - Unpacking libfontconfig-dev:amd64 (2.13.1-4.2) ...
2023-08-04 11:06:07,701: DEBUG - Selecting previously unselected package libfontconfig1-dev:amd64.
2023-08-04 11:06:07,719: DEBUG - Preparing to unpack .../14-libfontconfig1-dev_2.13.1-4.2_amd64.deb ...
2023-08-04 11:06:07,721: DEBUG - Unpacking libfontconfig1-dev:amd64 (2.13.1-4.2) ...
2023-08-04 11:06:07,765: DEBUG - Selecting previously unselected package libgdbm-dev:amd64.
2023-08-04 11:06:07,783: DEBUG - Preparing to unpack .../15-libgdbm-dev_1.19-2_amd64.deb ...
2023-08-04 11:06:07,784: DEBUG - Unpacking libgdbm-dev:amd64 (1.19-2) ...
2023-08-04 11:06:07,833: DEBUG - Selecting previously unselected package libjbig-dev:amd64.
2023-08-04 11:06:07,852: DEBUG - Preparing to unpack .../16-libjbig-dev_2.1-3.1+b2_amd64.deb ...
2023-08-04 11:06:07,853: DEBUG - Unpacking libjbig-dev:amd64 (2.1-3.1+b2) ...
2023-08-04 11:06:07,893: DEBUG - Selecting previously unselected package libjpeg62-turbo-dev:amd64.
2023-08-04 11:06:07,913: DEBUG - Preparing to unpack .../17-libjpeg62-turbo-dev_1%3a2.0.6-4_amd64.deb ...
2023-08-04 11:06:07,915: DEBUG - Unpacking libjpeg62-turbo-dev:amd64 (1:2.0.6-4) ...
2023-08-04 11:06:07,981: DEBUG - Selecting previously unselected package libjpeg-dev:amd64.
2023-08-04 11:06:07,999: DEBUG - Preparing to unpack .../18-libjpeg-dev_1%3a2.0.6-4_amd64.deb ...
2023-08-04 11:06:08,000: DEBUG - Unpacking libjpeg-dev:amd64 (1:2.0.6-4) ...
2023-08-04 11:06:08,036: DEBUG - Selecting previously unselected package liblzma-dev:amd64.
2023-08-04 11:06:08,054: DEBUG - Preparing to unpack .../19-liblzma-dev_5.2.5-2.1~deb11u1_amd64.deb ...
2023-08-04 11:06:08,056: DEBUG - Unpacking liblzma-dev:amd64 (5.2.5-2.1~deb11u1) ...
2023-08-04 11:06:08,117: DEBUG - Selecting previously unselected package libncurses-dev:amd64.
2023-08-04 11:06:08,131: DEBUG - Preparing to unpack .../20-libncurses-dev_6.2+20201114-2+deb11u1_amd64.deb ...
2023-08-04 11:06:08,132: DEBUG - Unpacking libncurses-dev:amd64 (6.2+20201114-2+deb11u1) ...
2023-08-04 11:06:08,225: DEBUG - Selecting previously unselected package libopenjp2-7-dev.
2023-08-04 11:06:08,241: DEBUG - Preparing to unpack .../21-libopenjp2-7-dev_2.4.0-3_amd64.deb ...
2023-08-04 11:06:08,243: DEBUG - Unpacking libopenjp2-7-dev (2.4.0-3) ...
2023-08-04 11:06:08,301: DEBUG - Selecting previously unselected package libpng-tools.
2023-08-04 11:06:08,318: DEBUG - Preparing to unpack .../22-libpng-tools_1.6.37-3_amd64.deb ...
2023-08-04 11:06:08,320: DEBUG - Unpacking libpng-tools (1.6.37-3) ...
2023-08-04 11:06:08,362: DEBUG - Selecting previously unselected package libreadline-dev:amd64.
2023-08-04 11:06:08,380: DEBUG - Preparing to unpack .../23-libreadline-dev_8.1-1_amd64.deb ...
2023-08-04 11:06:08,382: DEBUG - Unpacking libreadline-dev:amd64 (8.1-1) ...
2023-08-04 11:06:08,433: DEBUG - Selecting previously unselected package libsqlite3-dev:amd64.
2023-08-04 11:06:08,450: DEBUG - Preparing to unpack .../24-libsqlite3-dev_3.34.1-3_amd64.deb ...
2023-08-04 11:06:08,452: DEBUG - Unpacking libsqlite3-dev:amd64 (3.34.1-3) ...
2023-08-04 11:06:08,585: DEBUG - Selecting previously unselected package libtcl8.6:amd64.
2023-08-04 11:06:08,603: DEBUG - Preparing to unpack .../25-libtcl8.6_8.6.11+dfsg-1_amd64.deb ...
2023-08-04 11:06:08,609: DEBUG - Unpacking libtcl8.6:amd64 (8.6.11+dfsg-1) ...
2023-08-04 11:06:08,809: DEBUG - Selecting previously unselected package libtiffxx5:amd64.
2023-08-04 11:06:08,828: DEBUG - Preparing to unpack .../26-libtiffxx5_4.2.0-1+deb11u4_amd64.deb ...
2023-08-04 11:06:08,829: DEBUG - Unpacking libtiffxx5:amd64 (4.2.0-1+deb11u4) ...
2023-08-04 11:06:08,867: DEBUG - Selecting previously unselected package libtiff-dev:amd64.
2023-08-04 11:06:08,888: DEBUG - Preparing to unpack .../27-libtiff-dev_4.2.0-1+deb11u4_amd64.deb ...
2023-08-04 11:06:08,890: DEBUG - Unpacking libtiff-dev:amd64 (4.2.0-1+deb11u4) ...
2023-08-04 11:06:08,970: DEBUG - Selecting previously unselected package libtk8.6:amd64.
2023-08-04 11:06:08,987: DEBUG - Preparing to unpack .../28-libtk8.6_8.6.11-2_amd64.deb ...
2023-08-04 11:06:08,988: DEBUG - Unpacking libtk8.6:amd64 (8.6.11-2) ...
2023-08-04 11:06:09,121: DEBUG - Selecting previously unselected package libturbojpeg0:amd64.
2023-08-04 11:06:09,141: DEBUG - Preparing to unpack .../29-libturbojpeg0_1%3a2.0.6-4_amd64.deb ...
2023-08-04 11:06:09,143: DEBUG - Unpacking libturbojpeg0:amd64 (1:2.0.6-4) ...
2023-08-04 11:06:09,192: DEBUG - Selecting previously unselected package libturbojpeg0-dev:amd64.
2023-08-04 11:06:09,211: DEBUG - Preparing to unpack .../30-libturbojpeg0-dev_1%3a2.0.6-4_amd64.deb ...
2023-08-04 11:06:09,213: DEBUG - Unpacking libturbojpeg0-dev:amd64 (1:2.0.6-4) ...
2023-08-04 11:06:09,265: DEBUG - Selecting previously unselected package x11proto-xext-dev.
2023-08-04 11:06:09,283: DEBUG - Preparing to unpack .../31-x11proto-xext-dev_2020.1-1_all.deb ...
2023-08-04 11:06:09,285: DEBUG - Unpacking x11proto-xext-dev (2020.1-1) ...
2023-08-04 11:06:09,311: DEBUG - Selecting previously unselected package libxext-dev:amd64.
2023-08-04 11:06:09,330: DEBUG - Preparing to unpack .../32-libxext-dev_2%3a1.3.3-1.1_amd64.deb ...
2023-08-04 11:06:09,331: DEBUG - Unpacking libxext-dev:amd64 (2:1.3.3-1.1) ...
2023-08-04 11:06:09,382: DEBUG - Selecting previously unselected package libxrender-dev:amd64.
2023-08-04 11:06:09,401: DEBUG - Preparing to unpack .../33-libxrender-dev_1%3a0.9.10-1_amd64.deb ...
2023-08-04 11:06:09,402: DEBUG - Unpacking libxrender-dev:amd64 (1:0.9.10-1) ...
2023-08-04 11:06:09,435: DEBUG - Selecting previously unselected package libxft-dev:amd64.
2023-08-04 11:06:09,454: DEBUG - Preparing to unpack .../34-libxft-dev_2.3.2-2_amd64.deb ...
2023-08-04 11:06:09,456: DEBUG - Unpacking libxft-dev:amd64 (2.3.2-2) ...
2023-08-04 11:06:09,500: DEBUG - Selecting previously unselected package x11proto-scrnsaver-dev.
2023-08-04 11:06:09,520: DEBUG - Preparing to unpack .../35-x11proto-scrnsaver-dev_2020.1-1_all.deb ...
2023-08-04 11:06:09,521: DEBUG - Unpacking x11proto-scrnsaver-dev (2020.1-1) ...
2023-08-04 11:06:09,548: DEBUG - Selecting previously unselected package libxss-dev:amd64.
2023-08-04 11:06:09,568: DEBUG - Preparing to unpack .../36-libxss-dev_1%3a1.2.3-1_amd64.deb ...
2023-08-04 11:06:09,569: DEBUG - Unpacking libxss-dev:amd64 (1:1.2.3-1) ...
2023-08-04 11:06:09,602: DEBUG - Selecting previously unselected package rust-gdb.
2023-08-04 11:06:09,621: DEBUG - Preparing to unpack .../37-rust-gdb_1.48.0+dfsg1-2_all.deb ...
2023-08-04 11:06:09,624: DEBUG - Unpacking rust-gdb (1.48.0+dfsg1-2) ...
2023-08-04 11:06:09,665: DEBUG - Selecting previously unselected package tcl8.6.
2023-08-04 11:06:09,683: DEBUG - Preparing to unpack .../38-tcl8.6_8.6.11+dfsg-1_amd64.deb ...
2023-08-04 11:06:09,684: DEBUG - Unpacking tcl8.6 (8.6.11+dfsg-1) ...
2023-08-04 11:06:09,729: DEBUG - Selecting previously unselected package tcl.
2023-08-04 11:06:09,748: DEBUG - Preparing to unpack .../39-tcl_8.6.11+1_amd64.deb ...
2023-08-04 11:06:09,755: DEBUG - Unpacking tcl (8.6.11+1) ...
2023-08-04 11:06:09,782: DEBUG - Selecting previously unselected package tcl8.6-dev:amd64.
2023-08-04 11:06:09,801: DEBUG - Preparing to unpack .../40-tcl8.6-dev_8.6.11+dfsg-1_amd64.deb ...
2023-08-04 11:06:09,803: DEBUG - Unpacking tcl8.6-dev:amd64 (8.6.11+dfsg-1) ...
2023-08-04 11:06:09,954: DEBUG - Selecting previously unselected package tcl-dev:amd64.
2023-08-04 11:06:09,975: DEBUG - Preparing to unpack .../41-tcl-dev_8.6.11+1_amd64.deb ...
2023-08-04 11:06:09,977: DEBUG - Unpacking tcl-dev:amd64 (8.6.11+1) ...
2023-08-04 11:06:10,010: DEBUG - Selecting previously unselected package tk8.6.
2023-08-04 11:06:10,029: DEBUG - Preparing to unpack .../42-tk8.6_8.6.11-2_amd64.deb ...
2023-08-04 11:06:10,031: DEBUG - Unpacking tk8.6 (8.6.11-2) ...
2023-08-04 11:06:10,071: DEBUG - Selecting previously unselected package tk.
2023-08-04 11:06:10,089: DEBUG - Preparing to unpack .../43-tk_8.6.11+1_amd64.deb ...
2023-08-04 11:06:10,095: DEBUG - Unpacking tk (8.6.11+1) ...
2023-08-04 11:06:10,123: DEBUG - Selecting previously unselected package tk8.6-dev:amd64.
2023-08-04 11:06:10,143: DEBUG - Preparing to unpack .../44-tk8.6-dev_8.6.11-2_amd64.deb ...
2023-08-04 11:06:10,145: DEBUG - Unpacking tk8.6-dev:amd64 (8.6.11-2) ...
2023-08-04 11:06:10,273: DEBUG - Selecting previously unselected package tk-dev:amd64.
2023-08-04 11:06:10,291: DEBUG - Preparing to unpack .../45-tk-dev_8.6.11+1_amd64.deb ...
2023-08-04 11:06:10,293: DEBUG - Unpacking tk-dev:amd64 (8.6.11+1) ...
2023-08-04 11:06:10,375: DEBUG - Setting up libncurses-dev:amd64 (6.2+20201114-2+deb11u1) ...
2023-08-04 11:06:10,379: DEBUG - Setting up libpng-tools (1.6.37-3) ...
2023-08-04 11:06:10,382: DEBUG - Setting up libpng-dev:amd64 (1.6.37-3) ...
2023-08-04 11:06:10,385: DEBUG - Setting up libjbig-dev:amd64 (2.1-3.1+b2) ...
2023-08-04 11:06:10,388: DEBUG - Setting up libreadline-dev:amd64 (8.1-1) ...
2023-08-04 11:06:10,391: DEBUG - Setting up libffi-dev:amd64 (3.3-6) ...
2023-08-04 11:06:10,393: DEBUG - Setting up rust-gdb (1.48.0+dfsg1-2) ...
2023-08-04 11:06:10,396: DEBUG - Setting up libturbojpeg0:amd64 (1:2.0.6-4) ...
2023-08-04 11:06:10,399: DEBUG - Setting up libturbojpeg0-dev:amd64 (1:2.0.6-4) ...
2023-08-04 11:06:10,403: DEBUG - Setting up libsqlite3-dev:amd64 (3.34.1-3) ...
2023-08-04 11:06:10,406: DEBUG - Setting up libjpeg62-turbo-dev:amd64 (1:2.0.6-4) ...
2023-08-04 11:06:10,409: DEBUG - Setting up libopenjp2-7-dev (2.4.0-3) ...
2023-08-04 11:06:10,411: DEBUG - Setting up uuid-dev:amd64 (2.36.1-8+deb11u1) ...
2023-08-04 11:06:10,414: DEBUG - Setting up libtcl8.6:amd64 (8.6.11+dfsg-1) ...
2023-08-04 11:06:10,417: DEBUG - Setting up libstd-rust-1.48:amd64 (1.48.0+dfsg1-2) ...
2023-08-04 11:06:10,419: DEBUG - Setting up liblzma-dev:amd64 (5.2.5-2.1~deb11u1) ...
2023-08-04 11:06:10,422: DEBUG - Setting up x11proto-xext-dev (2020.1-1) ...
2023-08-04 11:06:10,425: DEBUG - Setting up libdb5.3-dev (5.3.28+dfsg1-0.8) ...
2023-08-04 11:06:10,427: DEBUG - Setting up libgdbm-dev:amd64 (1.19-2) ...
2023-08-04 11:06:10,430: DEBUG - Setting up x11proto-scrnsaver-dev (2020.1-1) ...
2023-08-04 11:06:10,432: DEBUG - Setting up libdeflate-dev:amd64 (1.7-1) ...
2023-08-04 11:06:10,437: DEBUG - Setting up libxrender-dev:amd64 (1:0.9.10-1) ...
2023-08-04 11:06:10,440: DEBUG - Setting up libbrotli-dev:amd64 (1.0.9-2+b2) ...
2023-08-04 11:06:10,442: DEBUG - Setting up libtiffxx5:amd64 (4.2.0-1+deb11u4) ...
2023-08-04 11:06:10,445: DEBUG - Setting up libbz2-dev:amd64 (1.0.8-4) ...
2023-08-04 11:06:10,448: DEBUG - Setting up tcl8.6 (8.6.11+dfsg-1) ...
2023-08-04 11:06:10,453: DEBUG - Setting up tcl8.6-dev:amd64 (8.6.11+dfsg-1) ...
2023-08-04 11:06:10,456: DEBUG - Setting up libtk8.6:amd64 (8.6.11-2) ...
2023-08-04 11:06:10,459: DEBUG - Setting up libjpeg-dev:amd64 (1:2.0.6-4) ...
2023-08-04 11:06:10,461: DEBUG - Setting up libfreetype-dev:amd64 (2.10.4+dfsg-1+deb11u1) ...
2023-08-04 11:06:10,464: DEBUG - Setting up libstd-rust-dev:amd64 (1.48.0+dfsg1-2) ...
2023-08-04 11:06:10,466: DEBUG - Setting up libtiff-dev:amd64 (4.2.0-1+deb11u4) ...
2023-08-04 11:06:10,469: DEBUG - Setting up libxext-dev:amd64 (2:1.3.3-1.1) ...
2023-08-04 11:06:10,471: DEBUG - Setting up rustc (1.48.0+dfsg1-2) ...
2023-08-04 11:06:10,474: DEBUG - Setting up tcl (8.6.11+1) ...
2023-08-04 11:06:10,476: DEBUG - Setting up tk8.6 (8.6.11-2) ...
2023-08-04 11:06:10,481: DEBUG - Setting up libxss-dev:amd64 (1:1.2.3-1) ...
2023-08-04 11:06:10,484: DEBUG - Setting up libfreetype6-dev:amd64 (2.10.4+dfsg-1+deb11u1) ...
2023-08-04 11:06:10,491: DEBUG - Setting up cargo (0.47.0-3+b1) ...
2023-08-04 11:06:10,494: DEBUG - Setting up tcl-dev:amd64 (8.6.11+1) ...
2023-08-04 11:06:10,496: DEBUG - Setting up tk (8.6.11+1) ...
2023-08-04 11:06:10,499: DEBUG - Setting up libfontconfig-dev:amd64 (2.13.1-4.2) ...
2023-08-04 11:06:10,501: DEBUG - Setting up libxft-dev:amd64 (2.3.2-2) ...
2023-08-04 11:06:10,504: DEBUG - Setting up libfontconfig1-dev:amd64 (2.13.1-4.2) ...
2023-08-04 11:06:10,509: DEBUG - Setting up tk8.6-dev:amd64 (8.6.11-2) ...
2023-08-04 11:06:10,514: DEBUG - Setting up tk-dev:amd64 (8.6.11+1) ...
2023-08-04 11:06:10,518: DEBUG - Processing triggers for man-db (2.9.4-2) ...
2023-08-04 11:06:11,254: DEBUG - Processing triggers for libc-bin (2.31-13+deb11u6) ...
2023-08-04 11:06:11,453: DEBUG - + [[ -n /tmp/tmp.yiUC7fwiXh ]]
2023-08-04 11:06:11,454: DEBUG - + rm --recursive --force /tmp/tmp.yiUC7fwiXh
2023-08-04 11:06:11,455: DEBUG - + ynh_package_is_installed homeassistant-ynh-deps
2023-08-04 11:06:11,464: DEBUG - + ynh_wait_dpkg_free
2023-08-04 11:06:11,622: DEBUG - + return 0
2023-08-04 11:06:11,624: DEBUG - + dpkg-query --show '--showformat=${Status}' homeassistant-ynh-deps
2023-08-04 11:06:11,625: DEBUG - + grep --count 'ok installed'
2023-08-04 11:06:11,652: DEBUG - + rm /tmp/homeassistant-ynh-deps.control
2023-08-04 11:06:11,653: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-08-04 11:06:11,666: DEBUG - ++ ynh_wait_dpkg_free
2023-08-04 11:06:11,880: DEBUG - ++ return 0
2023-08-04 11:06:11,880: DEBUG - ++ grep --count 'ok installed'
2023-08-04 11:06:11,882: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-08-04 11:06:11,915: DEBUG - ++ echo no
2023-08-04 11:06:11,917: DEBUG - + local psql_installed2=no
2023-08-04 11:06:11,917: DEBUG - + [[ no != \n\o ]]
2023-08-04 11:06:11,917: DEBUG - + ynh_exit_properly
2023-08-04 11:06:11,917: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2023-08-04 11:06:12,921: INFO - Provisionning database...
2023-08-04 11:06:12,979: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_database"  7>&1']'
2023-08-04 11:06:12,987: DEBUG - + source /usr/share/yunohost/helpers
2023-08-04 11:06:12,988: DEBUG - +++ set +o
2023-08-04 11:06:12,989: DEBUG - +++ grep xtrace
2023-08-04 11:06:12,991: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-08-04 11:06:12,991: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-08-04 11:06:13,014: DEBUG - + ynh_abort_if_errors
2023-08-04 11:06:13,015: DEBUG - + trap ynh_exit_properly EXIT
2023-08-04 11:06:13,015: DEBUG - + ynh_mysql_create_db homeassistant homeassistant 3d2de5b016267ad1f8ad6287
2023-08-04 11:06:13,015: DEBUG - + local db=homeassistant
2023-08-04 11:06:13,016: DEBUG - + local 'sql=CREATE DATABASE homeassistant;'
2023-08-04 11:06:13,016: DEBUG - + [[ 3 -gt 1 ]]
2023-08-04 11:06:13,016: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON homeassistant.* TO '\''homeassistant'\''@'\''localhost'\'''
2023-08-04 11:06:13,016: DEBUG - + [[ -n 3d2de5b016267ad1f8ad6287 ]]
2023-08-04 11:06:13,016: DEBUG - + sql+=' IDENTIFIED BY '\''3d2de5b016267ad1f8ad6287'\'''
2023-08-04 11:06:13,017: DEBUG - + sql+=' WITH GRANT OPTION;'
2023-08-04 11:06:13,017: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE homeassistant; GRANT ALL PRIVILEGES ON homeassistant.* TO '\''homeassistant'\''@'\''localhost'\'' IDENTIFIED BY '\''3d2de5b016267ad1f8ad6287'\'' WITH GRANT OPTION;'
2023-08-04 11:06:13,038: DEBUG - + database=
2023-08-04 11:06:13,038: DEBUG - + '[' -n '' ']'
2023-08-04 11:06:13,038: DEBUG - + mysql -B ''
2023-08-04 11:06:13,052: DEBUG - + ynh_exit_properly
2023-08-04 11:06:13,052: DEBUG - + [[ provision_database =~ ^install$|^upgrade$|^restore$ ]]
2023-08-04 11:06:14,081: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2023-08-04 11:06:14,088: DEBUG - + source _common.sh
2023-08-04 11:06:14,088: DEBUG - ++ app_version=2023.7.3
2023-08-04 11:06:14,088: DEBUG - ++ py_required_version=3.11.4
2023-08-04 11:06:14,088: DEBUG - ++ pip_required='pip (<23.2,>=21.3.1)'
2023-08-04 11:06:14,088: DEBUG - ++ failregex='^%(__prefix_line)s.*\[homeassistant.components.http.ban\] Login attempt or request with invalid authentication from.* \(<HOST>\).* Requested URL: ./auth/.*'
2023-08-04 11:06:14,089: DEBUG - + source /usr/share/yunohost/helpers
2023-08-04 11:06:14,090: DEBUG - +++ set +o
2023-08-04 11:06:14,091: DEBUG - +++ grep xtrace
2023-08-04 11:06:14,093: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-08-04 11:06:14,093: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-08-04 11:06:14,117: DEBUG - + log_file=/var/log/homeassistant/homeassistant.log
2023-08-04 11:06:14,117: DEBUG - + ynh_app_setting_set --app=homeassistant --key=log_file --value=/var/log/homeassistant/homeassistant.log
2023-08-04 11:06:14,118: DEBUG - + local _globalapp=homeassistant
2023-08-04 11:06:14,190: DEBUG - + app=homeassistant
2023-08-04 11:06:14,191: DEBUG - + [[ log_file =~ (unprotected|protected|skipped)_ ]]
2023-08-04 11:06:14,191: DEBUG - + ynh_app_setting set homeassistant log_file /var/log/homeassistant/homeassistant.log
2023-08-04 11:06:14,361: INFO - [++..................] > Check Python version & compile the required one if needed...
2023-08-04 11:06:14,363: DEBUG - + myynh_install_python --python=3.11.4
2023-08-04 11:06:14,373: DEBUG - ++ python3 --version
2023-08-04 11:06:14,374: DEBUG - ++ cut -d ' ' -f 2
2023-08-04 11:06:14,376: DEBUG - + local py_apt_version=3.9.2
2023-08-04 11:06:14,376: DEBUG - + local python_major=3.11
2023-08-04 11:06:14,377: DEBUG - + '[' -e /usr/local/bin/python3.11 ']'
2023-08-04 11:06:14,377: DEBUG - ++ /usr/local/bin/python3.11 --version
2023-08-04 11:06:14,377: DEBUG - ++ cut -d ' ' -f 2
2023-08-04 11:06:14,383: DEBUG - + local py_built_version=3.11.4
2023-08-04 11:06:14,383: DEBUG - ++ dpkg --compare-versions 3.9.2 ge 3.11.4
2023-08-04 11:06:14,386: DEBUG - ++ dpkg --compare-versions 3.11.4 ge 3.11.4
2023-08-04 11:06:14,389: DEBUG - + ynh_print_info '--message=Using already used python3 built version...'
2023-08-04 11:06:14,400: INFO - Using already used python3 built version...
2023-08-04 11:06:14,401: DEBUG - + py_app_version=/usr/local/bin/python3.11
2023-08-04 11:06:14,401: DEBUG - + ynh_app_setting_set --app=homeassistant --key=python --value=3.11.4
2023-08-04 11:06:14,401: DEBUG - + local _globalapp=homeassistant
2023-08-04 11:06:14,467: DEBUG - + app=homeassistant
2023-08-04 11:06:14,467: DEBUG - + [[ python =~ (unprotected|protected|skipped)_ ]]
2023-08-04 11:06:14,467: DEBUG - + ynh_app_setting set homeassistant python 3.11.4
2023-08-04 11:06:14,584: INFO - [##+++...............] > Setting up source files...
2023-08-04 11:06:14,584: DEBUG - + myynh_create_dir /var/www/homeassistant
2023-08-04 11:06:14,585: DEBUG - + '[' -z /var/www/homeassistant ']'
2023-08-04 11:06:14,585: DEBUG - + '[' -d /var/www/homeassistant ']'
2023-08-04 11:06:14,585: DEBUG - + myynh_create_dir /home/yunohost.app/homeassistant/.cache
2023-08-04 11:06:14,585: DEBUG - + '[' -z /home/yunohost.app/homeassistant/.cache ']'
2023-08-04 11:06:14,585: DEBUG - + '[' -d /home/yunohost.app/homeassistant/.cache ']'
2023-08-04 11:06:14,585: DEBUG - + chown -R homeassistant: /home/yunohost.app/homeassistant
2023-08-04 11:06:14,601: DEBUG - ++ dirname /var/log/homeassistant/homeassistant.log
2023-08-04 11:06:14,602: DEBUG - + mkdir -p /var/log/homeassistant
2023-08-04 11:06:14,605: DEBUG - + touch /var/log/homeassistant/homeassistant.log
2023-08-04 11:06:14,654: INFO - [#####+++............] > Installing Home Assistant in a virtual environment...
2023-08-04 11:06:14,655: DEBUG - + myynh_install_homeassistant
2023-08-04 11:06:14,655: DEBUG - + ynh_exec_as homeassistant /usr/local/bin/python3.11 -m venv --without-pip /var/www/homeassistant
2023-08-04 11:06:14,655: DEBUG - + local user=homeassistant
2023-08-04 11:06:14,655: DEBUG - + shift 1
2023-08-04 11:06:14,655: DEBUG - ++ whoami
2023-08-04 11:06:14,657: DEBUG - + [[ homeassistant = root ]]
2023-08-04 11:06:14,657: DEBUG - + sudo -u homeassistant /usr/local/bin/python3.11 -m venv --without-pip /var/www/homeassistant
2023-08-04 11:06:14,749: DEBUG - + source /var/www/homeassistant/bin/activate
2023-08-04 11:06:14,750: DEBUG - ++ deactivate nondestructive
2023-08-04 11:06:14,750: DEBUG - ++ '[' -n '' ']'
2023-08-04 11:06:14,750: DEBUG - ++ '[' -n '' ']'
2023-08-04 11:06:14,750: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2023-08-04 11:06:14,750: DEBUG - ++ hash -r
2023-08-04 11:06:14,751: DEBUG - ++ '[' -n '' ']'
2023-08-04 11:06:14,751: DEBUG - ++ unset VIRTUAL_ENV
2023-08-04 11:06:14,751: DEBUG - ++ unset VIRTUAL_ENV_PROMPT
2023-08-04 11:06:14,751: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2023-08-04 11:06:14,751: DEBUG - ++ VIRTUAL_ENV=/var/www/homeassistant
2023-08-04 11:06:14,751: DEBUG - ++ export VIRTUAL_ENV
2023-08-04 11:06:14,751: DEBUG - ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-08-04 11:06:14,752: DEBUG - ++ PATH=/var/www/homeassistant/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-08-04 11:06:14,752: DEBUG - ++ export PATH
2023-08-04 11:06:14,752: DEBUG - ++ '[' -n '' ']'
2023-08-04 11:06:14,752: DEBUG - ++ '[' -z '' ']'
2023-08-04 11:06:14,752: DEBUG - ++ _OLD_VIRTUAL_PS1=
2023-08-04 11:06:14,752: DEBUG - ++ PS1='(homeassistant) '
2023-08-04 11:06:14,753: DEBUG - ++ export PS1
2023-08-04 11:06:14,753: DEBUG - ++ VIRTUAL_ENV_PROMPT='(homeassistant) '
2023-08-04 11:06:14,753: DEBUG - ++ export VIRTUAL_ENV_PROMPT
2023-08-04 11:06:14,753: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2023-08-04 11:06:14,753: DEBUG - ++ hash -r
2023-08-04 11:06:14,753: DEBUG - + ynh_exec_as homeassistant /var/www/homeassistant/bin/python3 -m ensurepip
2023-08-04 11:06:14,754: DEBUG - + local user=homeassistant
2023-08-04 11:06:14,754: DEBUG - + shift 1
2023-08-04 11:06:14,755: DEBUG - ++ whoami
2023-08-04 11:06:14,757: DEBUG - + [[ homeassistant = root ]]
2023-08-04 11:06:14,757: DEBUG - + sudo -u homeassistant /var/www/homeassistant/bin/python3 -m ensurepip
2023-08-04 11:06:16,753: DEBUG - Looking in links: /tmp/tmph397wn9l
2023-08-04 11:06:16,768: DEBUG - Processing /tmp/tmph397wn9l/setuptools-65.5.0-py3-none-any.whl
2023-08-04 11:06:16,783: DEBUG - Processing /tmp/tmph397wn9l/pip-23.1.2-py3-none-any.whl
2023-08-04 11:06:16,886: DEBUG - Installing collected packages: setuptools, pip
2023-08-04 11:06:18,760: DEBUG - Successfully installed pip-23.1.2 setuptools-65.5.0
2023-08-04 11:06:18,855: DEBUG - + ynh_exec_warn_less ynh_exec_as homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade 'pip (<23.2,>=21.3.1)'
2023-08-04 11:06:18,856: DEBUG - + [[ 8 -eq 1 ]]
2023-08-04 11:06:18,856: DEBUG - + ynh_exec_as homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade 'pip (<23.2,>=21.3.1)'
2023-08-04 11:06:18,856: DEBUG - + local user=homeassistant
2023-08-04 11:06:18,856: DEBUG - + shift 1
2023-08-04 11:06:18,856: DEBUG - ++ whoami
2023-08-04 11:06:18,858: DEBUG - + [[ homeassistant = root ]]
2023-08-04 11:06:18,858: DEBUG - + sudo -u homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade 'pip (<23.2,>=21.3.1)'
2023-08-04 11:06:19,312: DEBUG - Requirement already satisfied: pip<23.2,>=21.3.1 in /var/www/homeassistant/lib/python3.11/site-packages (23.1.2)
2023-08-04 11:06:19,484: DEBUG - 
2023-08-04 11:06:19,484: DEBUG - [notice] A new release of pip is available: 23.1.2 -> 23.2.1
2023-08-04 11:06:19,484: DEBUG - [notice] To update, run: /var/www/homeassistant/bin/python3 -m pip install --upgrade pip
2023-08-04 11:06:19,559: DEBUG - + ynh_exec_warn_less ynh_exec_as homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade wheel
2023-08-04 11:06:19,559: DEBUG - + [[ 8 -eq 1 ]]
2023-08-04 11:06:19,560: DEBUG - + ynh_exec_as homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade wheel
2023-08-04 11:06:19,560: DEBUG - + local user=homeassistant
2023-08-04 11:06:19,560: DEBUG - + shift 1
2023-08-04 11:06:19,560: DEBUG - ++ whoami
2023-08-04 11:06:19,561: DEBUG - + [[ homeassistant = root ]]
2023-08-04 11:06:19,562: DEBUG - + sudo -u homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade wheel
2023-08-04 11:06:20,098: DEBUG - Collecting wheel
2023-08-04 11:06:20,100: DEBUG -   Using cached wheel-0.41.0-py3-none-any.whl (64 kB)
2023-08-04 11:06:20,152: DEBUG - Installing collected packages: wheel
2023-08-04 11:06:20,208: DEBUG - Successfully installed wheel-0.41.0
2023-08-04 11:06:20,239: DEBUG - 
2023-08-04 11:06:20,240: DEBUG - [notice] A new release of pip is available: 23.1.2 -> 23.2.1
2023-08-04 11:06:20,240: DEBUG - [notice] To update, run: /var/www/homeassistant/bin/python3 -m pip install --upgrade pip
2023-08-04 11:06:20,323: DEBUG - + ynh_exec_warn_less ynh_exec_as homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade setuptools
2023-08-04 11:06:20,323: DEBUG - + [[ 8 -eq 1 ]]
2023-08-04 11:06:20,324: DEBUG - + ynh_exec_as homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade setuptools
2023-08-04 11:06:20,324: DEBUG - + local user=homeassistant
2023-08-04 11:06:20,324: DEBUG - + shift 1
2023-08-04 11:06:20,324: DEBUG - ++ whoami
2023-08-04 11:06:20,325: DEBUG - + [[ homeassistant = root ]]
2023-08-04 11:06:20,326: DEBUG - + sudo -u homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade setuptools
2023-08-04 11:06:20,783: DEBUG - Requirement already satisfied: setuptools in /var/www/homeassistant/lib/python3.11/site-packages (65.5.0)
2023-08-04 11:06:21,065: DEBUG - Collecting setuptools
2023-08-04 11:06:21,071: DEBUG -   Using cached setuptools-68.0.0-py3-none-any.whl (804 kB)
2023-08-04 11:06:21,211: DEBUG - Installing collected packages: setuptools
2023-08-04 11:06:21,211: DEBUG -   Attempting uninstall: setuptools
2023-08-04 11:06:21,215: DEBUG -     Found existing installation: setuptools 65.5.0
2023-08-04 11:06:21,241: DEBUG -     Uninstalling setuptools-65.5.0:
2023-08-04 11:06:21,255: DEBUG -       Successfully uninstalled setuptools-65.5.0
2023-08-04 11:06:21,821: DEBUG - Successfully installed setuptools-68.0.0
2023-08-04 11:06:21,855: DEBUG - 
2023-08-04 11:06:21,855: DEBUG - [notice] A new release of pip is available: 23.1.2 -> 23.2.1
2023-08-04 11:06:21,855: DEBUG - [notice] To update, run: /var/www/homeassistant/bin/python3 -m pip install --upgrade pip
2023-08-04 11:06:21,948: DEBUG - + ynh_exec_warn_less ynh_exec_as homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade mysqlclient
2023-08-04 11:06:21,949: DEBUG - + [[ 8 -eq 1 ]]
2023-08-04 11:06:21,949: DEBUG - + ynh_exec_as homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade mysqlclient
2023-08-04 11:06:21,949: DEBUG - + local user=homeassistant
2023-08-04 11:06:21,949: DEBUG - + shift 1
2023-08-04 11:06:21,949: DEBUG - ++ whoami
2023-08-04 11:06:21,950: DEBUG - + [[ homeassistant = root ]]
2023-08-04 11:06:21,950: DEBUG - + sudo -u homeassistant /var/www/homeassistant/bin/pip3 --cache-dir /home/yunohost.app/homeassistant/.cache install --upgrade mysqlclient
2023-08-04 11:06:22,520: DEBUG - ERROR: Exception:
2023-08-04 11:06:22,521: DEBUG - Traceback (most recent call last):
2023-08-04 11:06:22,521: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper
2023-08-04 11:06:22,522: DEBUG -     status = run_func(*args)
2023-08-04 11:06:22,522: DEBUG -              ^^^^^^^^^^^^^^^
2023-08-04 11:06:22,522: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
2023-08-04 11:06:22,522: DEBUG -     return func(self, options, args)
2023-08-04 11:06:22,523: DEBUG -            ^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,523: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/commands/install.py", line 377, in run
2023-08-04 11:06:22,523: DEBUG -     requirement_set = resolver.resolve(
2023-08-04 11:06:22,523: DEBUG -                       ^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,524: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
2023-08-04 11:06:22,524: DEBUG -     result = self._result = resolver.resolve(
2023-08-04 11:06:22,524: DEBUG -                             ^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,524: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
2023-08-04 11:06:22,525: DEBUG -     state = resolution.resolve(requirements, max_rounds=max_rounds)
2023-08-04 11:06:22,525: DEBUG -             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,525: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve
2023-08-04 11:06:22,525: DEBUG -     self._add_to_criteria(self.state.criteria, r, parent=None)
2023-08-04 11:06:22,526: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria
2023-08-04 11:06:22,526: DEBUG -     if not criterion.candidates:
2023-08-04 11:06:22,526: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__
2023-08-04 11:06:22,526: DEBUG -     return bool(self._sequence)
2023-08-04 11:06:22,527: DEBUG -            ^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,527: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
2023-08-04 11:06:22,527: DEBUG -     return any(self)
2023-08-04 11:06:22,527: DEBUG -            ^^^^^^^^^
2023-08-04 11:06:22,528: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
2023-08-04 11:06:22,528: DEBUG -     return (c for c in iterator if id(c) not in self._incompatible_ids)
2023-08-04 11:06:22,528: DEBUG -            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,528: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
2023-08-04 11:06:22,529: DEBUG -     candidate = func()
2023-08-04 11:06:22,529: DEBUG -                 ^^^^^^
2023-08-04 11:06:22,529: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
2023-08-04 11:06:22,529: DEBUG -     self._link_candidate_cache[link] = LinkCandidate(
2023-08-04 11:06:22,530: DEBUG -                                        ^^^^^^^^^^^^^^
2023-08-04 11:06:22,530: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 262, in __init__
2023-08-04 11:06:22,530: DEBUG -     cache_entry = factory.get_wheel_cache_entry(source_link, name)
2023-08-04 11:06:22,530: DEBUG -                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,530: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 540, in get_wheel_cache_entry
2023-08-04 11:06:22,530: DEBUG -     return self._wheel_cache.get_cache_entry(
2023-08-04 11:06:22,530: DEBUG -            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,531: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/cache.py", line 245, in get_cache_entry
2023-08-04 11:06:22,531: DEBUG -     return CacheEntry(retval, persistent=True)
2023-08-04 11:06:22,531: DEBUG -            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,531: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/cache.py", line 197, in __init__
2023-08-04 11:06:22,531: DEBUG -     self.origin = DirectUrl.from_json(origin_direct_url_path.read_text())
2023-08-04 11:06:22,531: DEBUG -                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,531: DEBUG -   File "/var/www/homeassistant/lib/python3.11/site-packages/pip/_internal/models/direct_url.py", line 231, in from_json
2023-08-04 11:06:22,531: DEBUG -     return cls.from_dict(json.loads(s))
2023-08-04 11:06:22,531: DEBUG -                          ^^^^^^^^^^^^^
2023-08-04 11:06:22,532: DEBUG -   File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
2023-08-04 11:06:22,532: DEBUG -     return _default_decoder.decode(s)
2023-08-04 11:06:22,532: DEBUG -            ^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,532: DEBUG -   File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
2023-08-04 11:06:22,532: DEBUG -     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2023-08-04 11:06:22,532: DEBUG -                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-08-04 11:06:22,532: DEBUG -   File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
2023-08-04 11:06:22,532: DEBUG -     raise JSONDecodeError("Expecting value", s, err.value) from None
2023-08-04 11:06:22,532: DEBUG - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2023-08-04 11:06:22,554: DEBUG - 
2023-08-04 11:06:22,555: DEBUG - [notice] A new release of pip is available: 23.1.2 -> 23.2.1
2023-08-04 11:06:22,555: DEBUG - [notice] To update, run: /var/www/homeassistant/bin/python3 -m pip install --upgrade pip
2023-08-04 11:06:22,629: DEBUG - + ynh_exit_properly
2023-08-04 11:06:22,630: DEBUG - + local exit_code=2
2023-08-04 11:06:22,631: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2023-08-04 11:06:22,631: DEBUG - + '[' 2 -eq 0 ']'
2023-08-04 11:06:24,137: ERROR - Unable to install homeassistant: An error occurred inside the app installation script