+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_xiaomihome + echo 1 + echo 2 ++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' + ++ awk '$1 <= 4' ++ cut -f 2- + RESULTTODELETE= ++ echo '' ++ sed 's, ,\ ,g' + RESULTTODELETE2= + echo '' + xargs rm -rf + echo 3 + sudo pip3 cache purge Files removed: 222 + echo 4 + sudo pip3 install --upgrade pip Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.3.2) Collecting pip Downloading pip-24.0-py3-none-any.whl.metadata (3.6 kB) Downloading pip-24.0-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 7.3 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.3.2 Uninstalling pip-23.3.2: Successfully uninstalled pip-23.3.2 Successfully installed pip-24.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 5 + sudo python3 -m pip install --force-reinstall --upgrade pyudev Collecting pyudev Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB) Downloading pyudev-0.24.3-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 1.1 MB/s eta 0:00:00 Installing collected packages: pyudev Attempting uninstall: pyudev Found existing installation: pyudev 0.24.1 Uninstalling pyudev-0.24.1: Successfully uninstalled pyudev-0.24.1 Successfully installed pyudev-0.24.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 6 + sudo python3 -m pip install --force-reinstall --upgrade construct Collecting construct Downloading construct-2.10.70-py3-none-any.whl.metadata (4.2 kB) Downloading construct-2.10.70-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 1.5 MB/s eta 0:00:00 Installing collected packages: construct Attempting uninstall: construct Found existing installation: construct 2.10.68 Uninstalling construct-2.10.68: Successfully uninstalled construct-2.10.68 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-miio 0.5.12 requires click>=8, but you have click 7.1.2 which is incompatible. Successfully installed construct-2.10.70 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 7 + sudo python3 -m pip install --force-reinstall --upgrade requests Collecting requests Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting charset-normalizer<4,>=2 (from requests) Downloading charset_normalizer-3.3.2-py3-none-any.whl.metadata (33 kB) Collecting idna<4,>=2.5 (from requests) Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB) Collecting urllib3<3,>=1.21.1 (from requests) Downloading urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB) Collecting certifi>=2017.4.17 (from requests) Downloading certifi-2024.7.4-py3-none-any.whl.metadata (2.2 kB) Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 1.8 MB/s eta 0:00:00 Downloading certifi-2024.7.4-py3-none-any.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 2.3 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.5/48.5 kB 1.5 MB/s eta 0:00:00 Downloading idna-3.7-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 614.7 kB/s eta 0:00:00 Downloading urllib3-2.0.7-py3-none-any.whl (124 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 1.4 MB/s eta 0:00:00 Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests Attempting uninstall: urllib3 Found existing installation: urllib3 2.0.7 Uninstalling urllib3-2.0.7: Successfully uninstalled urllib3-2.0.7 Attempting uninstall: idna Found existing installation: idna 3.6 Uninstalling idna-3.6: Successfully uninstalled idna-3.6 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 3.3.2 Uninstalling charset-normalizer-3.3.2: Successfully uninstalled charset-normalizer-3.3.2 Attempting uninstall: certifi Found existing installation: certifi 2023.11.17 Uninstalling certifi-2023.11.17: Successfully uninstalled certifi-2023.11.17 Attempting uninstall: requests Found existing installation: requests 2.31.0 Uninstalling requests-2.31.0: Successfully uninstalled requests-2.31.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-miio 0.5.12 requires click>=8, but you have click 7.1.2 which is incompatible. Successfully installed certifi-2024.7.4 charset-normalizer-3.3.2 idna-3.7 requests-2.31.0 urllib3-2.0.7 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 8 + sudo python3 -m pip install --force-reinstall --upgrade pyserial Collecting pyserial Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB) Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 871.1 kB/s eta 0:00:00 Installing collected packages: pyserial Attempting uninstall: pyserial Found existing installation: pyserial 3.5 Uninstalling pyserial-3.5: Successfully uninstalled pyserial-3.5 Successfully installed pyserial-3.5 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 9 + sudo python3 -m pip install --force-reinstall --upgrade future Collecting future Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Downloading future-1.0.0-py3-none-any.whl (491 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 4.4 MB/s eta 0:00:00 Installing collected packages: future Attempting uninstall: future Found existing installation: future 0.18.2 Uninstalling future-0.18.2: Successfully uninstalled future-0.18.2 Successfully installed future-1.0.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 10 + sudo python3 -m pip install --force-reinstall --upgrade pycrypto Collecting pycrypto Downloading pycrypto-2.6.1.tar.gz (446 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 kB 3.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: pycrypto Building wheel for pycrypto (setup.py): started Building wheel for pycrypto (setup.py): finished with status 'done' Created wheel for pycrypto: filename=pycrypto-2.6.1-cp37-cp37m-linux_armv7l.whl size=497306 sha256=2a99175217378284684a89aa23097d97cbc827932035341a601bf005b86706c1 Stored in directory: /root/.cache/pip/wheels/cf/85/ba/bbd7c96add459de7598fb424e5ff2309baf2095c844ac0f191 Successfully built pycrypto Installing collected packages: pycrypto Attempting uninstall: pycrypto Found existing installation: pycrypto 2.6.1 Uninstalling pycrypto-2.6.1: Successfully uninstalled pycrypto-2.6.1 Successfully installed pycrypto-2.6.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 11 + sudo python3 -m pip install --force-reinstall --upgrade cryptography Collecting cryptography Downloading cryptography-43.0.0.tar.gz (686 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 686.9/686.9 kB 5.9 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: still running... Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Cargo, the Rust package manager, is not installed or is not on PATH. This package requires Rust and Cargo to compile extensions. Install it through the system's package manager or via https://rustup.rs/ Checking for Rust toolchain.... [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. + echo 12 + sudo python3 -m pip install --force-reinstall --upgrade enum34 Collecting enum34 Downloading enum34-1.1.10-py3-none-any.whl.metadata (1.6 kB) Downloading enum34-1.1.10-py3-none-any.whl (11 kB) Installing collected packages: enum34 Attempting uninstall: enum34 Found existing installation: enum34 1.1.10 Uninstalling enum34-1.1.10: Successfully uninstalled enum34-1.1.10 Successfully installed enum34-1.1.10 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 13 + sudo python3 -m pip install --force-reinstall --upgrade enum-compat Collecting enum-compat Downloading enum_compat-0.0.3-py3-none-any.whl.metadata (954 bytes) Downloading enum_compat-0.0.3-py3-none-any.whl (1.3 kB) Installing collected packages: enum-compat Attempting uninstall: enum-compat Found existing installation: enum-compat 0.0.3 Uninstalling enum-compat-0.0.3: Successfully uninstalled enum-compat-0.0.3 Successfully installed enum-compat-0.0.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 14 + sudo python3 -m pip install --force-reinstall --upgrade wheel Collecting wheel Downloading wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB) Downloading wheel-0.42.0-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 900.4 kB/s eta 0:00:00 Installing collected packages: wheel Attempting uninstall: wheel Found existing installation: wheel 0.38.4 Uninstalling wheel-0.38.4: Successfully uninstalled wheel-0.38.4 Successfully installed wheel-0.42.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 15 + sudo python3 -m pip install --force-reinstall --upgrade yeelight Collecting yeelight Downloading yeelight-0.7.14-py3-none-any.whl.metadata (10 kB) Collecting future (from yeelight) Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Collecting ifaddr (from yeelight) Downloading ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB) Collecting importlib_metadata (from yeelight) Downloading importlib_metadata-6.7.0-py3-none-any.whl.metadata (4.9 kB) Collecting async-timeout (from yeelight) Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Collecting typing-extensions>=3.6.5 (from async-timeout->yeelight) Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB) Collecting zipp>=0.5 (from importlib_metadata->yeelight) Downloading zipp-3.15.0-py3-none-any.whl.metadata (3.7 kB) Downloading yeelight-0.7.14-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.1/40.1 kB 302.7 kB/s eta 0:00:00 Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Using cached future-1.0.0-py3-none-any.whl (491 kB) Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB) Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB) Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB) Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB) Installing collected packages: ifaddr, zipp, typing-extensions, future, importlib_metadata, async-timeout, yeelight Attempting uninstall: ifaddr Found existing installation: ifaddr 0.2.0 Uninstalling ifaddr-0.2.0: Successfully uninstalled ifaddr-0.2.0 Attempting uninstall: zipp Found existing installation: zipp 3.11.0 Uninstalling zipp-3.11.0: Successfully uninstalled zipp-3.11.0 Attempting uninstall: typing-extensions Found existing installation: typing-extensions 3.10.0.0 Uninstalling typing-extensions-3.10.0.0: Successfully uninstalled typing-extensions-3.10.0.0 Attempting uninstall: future Found existing installation: future 1.0.0 Uninstalling future-1.0.0: Successfully uninstalled future-1.0.0 Attempting uninstall: importlib_metadata Found existing installation: importlib-metadata 1.7.0 Uninstalling importlib-metadata-1.7.0: Successfully uninstalled importlib-metadata-1.7.0 Attempting uninstall: async-timeout Found existing installation: async-timeout 3.0.1 Uninstalling async-timeout-3.0.1: Successfully uninstalled async-timeout-3.0.1 Attempting uninstall: yeelight Found existing installation: yeelight 0.6.1 Uninstalling yeelight-0.6.1: Successfully uninstalled yeelight-0.6.1 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. aiohttp 3.7.4.post0 requires async-timeout<4.0,>=3.0, but you have async-timeout 4.0.3 which is incompatible. python-miio 0.5.12 requires click>=8, but you have click 7.1.2 which is incompatible. python-miio 0.5.12 requires importlib_metadata<2,>=1; python_version <= "3.7", but you have importlib-metadata 6.7.0 which is incompatible. Successfully installed async-timeout-4.0.2 future-1.0.0 ifaddr-0.2.0 importlib_metadata-4.10.1 typing-extensions-4.0.1 yeelight-0.7.10 zipp-3.15.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 16 + sudo python3 -m pip install --force-reinstall --upgrade python-miio Collecting python-miio Downloading python_miio-0.5.12-py3-none-any.whl.metadata (12 kB) Collecting PyYAML<7,>=5 (from python-miio) Downloading PyYAML-6.0.1.tar.gz (125 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.2/125.2 kB 2.1 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting android_backup<1,>=0 (from python-miio) Downloading android_backup-0.2.0.tar.gz (6.1 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting appdirs<2,>=1 (from python-miio) Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB) Collecting attrs (from python-miio) Downloading attrs-24.2.0-py3-none-any.whl.metadata (11 kB) Collecting click>=8 (from python-miio) Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting construct<3.0.0,>=2.10.56 (from python-miio) Using cached construct-2.10.70-py3-none-any.whl.metadata (4.2 kB) Collecting croniter>=1 (from python-miio) Downloading croniter-3.0.3-py2.py3-none-any.whl.metadata (28 kB) Collecting cryptography>=35 (from python-miio) Using cached cryptography-43.0.0.tar.gz (686 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Cargo, the Rust package manager, is not installed or is not on PATH. This package requires Rust and Cargo to compile extensions. Install it through the system's package manager or via https://rustup.rs/ Checking for Rust toolchain.... [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. + echo 17 + sudo killall apt apt-get unattended-upgr apt: no process found apt-get: no process found unattended-upgr: no process found + sudo rm /var/lib/apt/lists/lock + sudo rm /var/cache/apt/archives/lock + sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend + sudo sudo dpkg --configure -a --force-confdef + sudo apt update WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease Reading package lists... Building dependency tree... Reading state information... 102 packages can be upgraded. Run 'apt list --upgradable' to see them. + echo 18 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3-cryptography WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-cryptography is already the newest version (2.6.1-3+deb10u4). 0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded. + echo 19 + sudo apt install -o Dpkg::Options::=--force-confdef -y libffi-dev WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... libffi-dev is already the newest version (3.2.1-9). 0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded. + echo 20 + sudo apt install -o Dpkg::Options::=--force-confdef -y libssl-dev WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... libssl-dev is already the newest version (1.1.1n-0+deb10u6). 0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded. + echo 21 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome + echo 22 + rm /tmp/jeedom_install_in_progress_xiaomihome + echo '*******************End of package installation******************' *******************End of package installation******************