+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_xiaomihome + echo 1 + echo 2 ++ awk '$1 <= 4' ++ cut -f 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 '{}' + + RESULTTODELETE= ++ echo '' ++ sed 's, ,\ ,g' + RESULTTODELETE2= + xargs rm -rf + echo '' + echo 3 + sudo pip3 cache purge Files removed: 94 + echo 4 + sudo pip3 install --upgrade pip Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (22.3.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 5 + sudo pip3 install --force-reinstall --upgrade pyudev Collecting pyudev Downloading pyudev-0.24.0-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 kB 292.4 kB/s eta 0:00:00 Installing collected packages: pyudev Attempting uninstall: pyudev Found existing installation: pyudev 0.24.0 Uninstalling pyudev-0.24.0: Successfully uninstalled pyudev-0.24.0 Successfully installed pyudev-0.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 6 + sudo pip3 install --force-reinstall --upgrade construct Collecting construct Downloading construct-2.10.68.tar.gz (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.9/57.9 kB 299.4 kB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: construct Building wheel for construct (setup.py): started Building wheel for construct (setup.py): finished with status 'done' Created wheel for construct: filename=construct-2.10.68-py3-none-any.whl size=59224 sha256=0d5ea33e63ddff2be03a942607d290bbb876b8b29631f9efb56adcf802fc85bf Stored in directory: /root/.cache/pip/wheels/37/27/e3/ebee993c1fbc7837cc7729f5005881cb2ecb8c5478dbe5b0f1 Successfully built construct 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 Successfully installed construct-2.10.68 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 pip3 install --force-reinstall --upgrade requests Collecting requests Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 228.4 kB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 227.9 kB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.9.24-py3-none-any.whl (161 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 412.0 kB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 432.4 kB/s eta 0:00:00 Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests Attempting uninstall: urllib3 Found existing installation: urllib3 1.26.12 Uninstalling urllib3-1.26.12: Successfully uninstalled urllib3-1.26.12 Attempting uninstall: idna Found existing installation: idna 3.4 Uninstalling idna-3.4: Successfully uninstalled idna-3.4 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 2.1.1 Uninstalling charset-normalizer-2.1.1: Successfully uninstalled charset-normalizer-2.1.1 Attempting uninstall: certifi Found existing installation: certifi 2022.9.24 Uninstalling certifi-2022.9.24: Successfully uninstalled certifi-2022.9.24 Attempting uninstall: requests Found existing installation: requests 2.28.1 Uninstalling requests-2.28.1: Successfully uninstalled requests-2.28.1 Successfully installed certifi-2022.9.24 charset-normalizer-2.1.1 idna-3.4 requests-2.28.1 urllib3-1.26.12 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 pip3 install --force-reinstall --upgrade pyserial Collecting pyserial Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 311.6 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 pip3 install --force-reinstall --upgrade future Collecting future Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 469.2 kB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: future Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491059 sha256=561edcd1f76952b11d60443df8b44af3afa18a84965e984413c29ec467143af7 Stored in directory: /root/.cache/pip/wheels/3e/3c/b4/7132d27620dd551cf00823f798a7190e7320ae7ffb71d1e989 Successfully built future 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-0.18.2 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 pip3 install --force-reinstall --upgrade pycrypto Collecting pycrypto Downloading pycrypto-2.6.1.tar.gz (446 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 kB 528.3 kB/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): still running... Building wheel for pycrypto (setup.py): finished with status 'done' Created wheel for pycrypto: filename=pycrypto-2.6.1-cp37-cp37m-linux_aarch64.whl size=498637 sha256=4dc2db802f5c7fe21c18e6de12331b4f8322edfb094a3a9c14b47c51c17bfb54 Stored in directory: /root/.cache/pip/wheels/57/8b/74/7dc9b0ad863a980ff5940454215f3728c6126f10241df3af09 Successfully built pycrypto Installing collected packages: pycrypto Attempting uninstall: pycrypto Found existing installation: pycrypto 2.6.1 ERROR: Cannot uninstall 'pycrypto'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. + echo 11 + sudo pip3 install --force-reinstall --upgrade cryptography Collecting cryptography Downloading cryptography-38.0.3-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.0/4.0 MB 574.5 kB/s eta 0:00:00 Collecting cffi>=1.12 Downloading cffi-1.15.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (435 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 435.6/435.6 kB 694.2 kB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 490.4 kB/s eta 0:00:00 Installing collected packages: pycparser, cffi, cryptography Attempting uninstall: pycparser Found existing installation: pycparser 2.21 Uninstalling pycparser-2.21: Successfully uninstalled pycparser-2.21 Attempting uninstall: cffi Found existing installation: cffi 1.15.1 Uninstalling cffi-1.15.1: Successfully uninstalled cffi-1.15.1 Attempting uninstall: cryptography Found existing installation: cryptography 38.0.3 Uninstalling cryptography-38.0.3: Successfully uninstalled cryptography-38.0.3 Successfully installed cffi-1.15.1 cryptography-38.0.3 pycparser-2.21 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 12 + sudo pip3 install --force-reinstall --upgrade enum34 Collecting enum34 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 pip3 install --force-reinstall --upgrade enum-compat Collecting enum-compat 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 pip3 install --force-reinstall --upgrade wheel Collecting wheel Downloading wheel-0.38.4-py3-none-any.whl (36 kB) 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.38.4 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 pip3 install --force-reinstall --upgrade yeelight Collecting yeelight Downloading yeelight-0.7.10-py3-none-any.whl (39 kB) Collecting future Using cached future-0.18.2-py3-none-any.whl Collecting ifaddr Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB) Installing collected packages: ifaddr, future, yeelight Attempting uninstall: ifaddr Found existing installation: ifaddr 0.2.0 Uninstalling ifaddr-0.2.0: Successfully uninstalled ifaddr-0.2.0 Attempting uninstall: future Found existing installation: future 0.18.2 Uninstalling future-0.18.2: Successfully uninstalled future-0.18.2 Attempting uninstall: yeelight Found existing installation: yeelight 0.7.10 Uninstalling yeelight-0.7.10: Successfully uninstalled yeelight-0.7.10 Successfully installed future-0.18.2 ifaddr-0.2.0 yeelight-0.7.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 16 + sudo pip3 install --force-reinstall --upgrade python-miio Collecting python-miio Downloading python_miio-0.5.12-py3-none-any.whl (330 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 331.0/331.0 kB 403.3 kB/s eta 0:00:00 Collecting netifaces<1,>=0 Downloading netifaces-0.11.0.tar.gz (30 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting importlib_metadata<2,>=1 Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB) Collecting construct<3.0.0,>=2.10.56 Using cached construct-2.10.68-py3-none-any.whl Collecting attrs Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 252.7 kB/s eta 0:00:00 Collecting click>=8 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 325.5 kB/s eta 0:00:00 Collecting cryptography>=35 Using cached cryptography-38.0.3-cp36-abi3-manylinux_2_28_aarch64.whl (4.0 MB) Collecting zeroconf<1,>=0 Downloading zeroconf-0.39.4-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.4/106.4 kB 384.5 kB/s eta 0:00:00 Collecting android_backup<1,>=0 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 defusedxml<1,>=0 Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting micloud Downloading micloud-0.5.tar.gz (7.8 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting croniter>=1 Downloading croniter-1.3.7-py2.py3-none-any.whl (17 kB) Collecting appdirs<2,>=1 Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting pytz Downloading pytz-2022.6-py2.py3-none-any.whl (498 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 498.1/498.1 kB 496.3 kB/s eta 0:00:00 Collecting tqdm<5,>=4 Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 308.0 kB/s eta 0:00:00 Collecting PyYAML<7,>=5 Downloading PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (656 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 657.0/657.0 kB 579.5 kB/s eta 0:00:00 Collecting python-dateutil Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 626.9 kB/s eta 0:00:00 Collecting cffi>=1.12 Using cached cffi-1.15.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (435 kB) Collecting zipp>=0.5 Downloading zipp-3.10.0-py3-none-any.whl (6.2 kB) Collecting async-timeout>=4.0.1 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting ifaddr>=0.1.7 Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB) Collecting requests Using cached requests-2.28.1-py3-none-any.whl (62 kB) Collecting tzlocal Downloading tzlocal-4.2-py3-none-any.whl (19 kB) Collecting pycryptodome Downloading pycryptodome-3.15.0-cp35-abi3-manylinux2014_aarch64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 520.8 kB/s eta 0:00:00 Collecting typing-extensions>=3.6.5 Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting charset-normalizer<3,>=2 Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting idna<4,>=2.5 Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting certifi>=2017.4.17 Using cached certifi-2022.9.24-py3-none-any.whl (161 kB) Collecting urllib3<1.27,>=1.21.1 Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB) Collecting backports.zoneinfo Downloading backports.zoneinfo-0.2.1.tar.gz (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.1/74.1 kB 297.1 kB/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 pytz-deprecation-shim Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB) Collecting tzdata Downloading tzdata-2022.6-py2.py3-none-any.whl (338 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 338.8/338.8 kB 512.1 kB/s eta 0:00:00 Building wheels for collected packages: android_backup, netifaces, micloud, backports.zoneinfo Building wheel for android_backup (setup.py): started Building wheel for android_backup (setup.py): finished with status 'done' Created wheel for android_backup: filename=android_backup-0.2.0-py3-none-any.whl size=7614 sha256=434b720c33f83b046e53cf16c34f8c9014f9982bdbcf130b44f74e9ab14064c7 Stored in directory: /root/.cache/pip/wheels/07/e6/b4/33e56a5de663e2c3f13db7365219a9b9c83b2a52db9608ab3c Building wheel for netifaces (setup.py): started Building wheel for netifaces (setup.py): finished with status 'done' Created wheel for netifaces: filename=netifaces-0.11.0-cp37-cp37m-linux_aarch64.whl size=39880 sha256=08aff3b15b1885b4d756244ee2804f3e52be4fecbd86ff783d85084ecd212301 Stored in directory: /root/.cache/pip/wheels/75/5b/0e/b8897ba99cf371bd7e71edc46b745a7741660beb343d809863 Building wheel for micloud (setup.py): started Building wheel for micloud (setup.py): finished with status 'done' Created wheel for micloud: filename=micloud-0.5-py3-none-any.whl size=8002 sha256=b132409d9ac005fac03687709c44a0f46250c6a08729daa18efdaf1c9afacea3 Stored in directory: /root/.cache/pip/wheels/44/73/34/4126c014f2f0cd522933f72e55d11e1b164941e80f5be5b7d0 Building wheel for backports.zoneinfo (pyproject.toml): started Building wheel for backports.zoneinfo (pyproject.toml): finished with status 'done' Created wheel for backports.zoneinfo: filename=backports.zoneinfo-0.2.1-cp37-cp37m-linux_aarch64.whl size=78851 sha256=931b76dfca021e111623788b4a6c9588b73a4d1d08165628ff61aac393519d86 Stored in directory: /root/.cache/pip/wheels/0e/ee/db/44fb35db781c56c37a9563512be38958feb019f09d53522e34 Successfully built android_backup netifaces micloud backports.zoneinfo Installing collected packages: pytz, netifaces, ifaddr, appdirs, android_backup, zipp, urllib3, tzdata, typing-extensions, tqdm, six, PyYAML, pycryptodome, pycparser, idna, defusedxml, construct, charset-normalizer, certifi, backports.zoneinfo, attrs, requests, pytz-deprecation-shim, python-dateutil, importlib_metadata, cffi, async-timeout, zeroconf, tzlocal, cryptography, croniter, click, micloud, python-miio Attempting uninstall: pytz Found existing installation: pytz 2022.6 Uninstalling pytz-2022.6: Successfully uninstalled pytz-2022.6 Attempting uninstall: netifaces Found existing installation: netifaces 0.11.0 Uninstalling netifaces-0.11.0: Successfully uninstalled netifaces-0.11.0 Attempting uninstall: ifaddr Found existing installation: ifaddr 0.2.0 Uninstalling ifaddr-0.2.0: Successfully uninstalled ifaddr-0.2.0 Attempting uninstall: appdirs Found existing installation: appdirs 1.4.4 Uninstalling appdirs-1.4.4: Attempting uninstall: android_backup Found existing installation: android-backup 0.2.0 Uninstalling android-backup-0.2.0: Successfully uninstalled android-backup-0.2.0 Attempting uninstall: zipp Found existing installation: zipp 3.10.0 Uninstalling zipp-3.10.0: Successfully uninstalled zipp-3.10.0 Attempting uninstall: urllib3 Found existing installation: urllib3 1.26.12 Uninstalling urllib3-1.26.12: Successfully uninstalled urllib3-1.26.12 Attempting uninstall: tzdata Found existing installation: tzdata 2022.6 Uninstalling tzdata-2022.6: Successfully uninstalled tzdata-2022.6 Attempting uninstall: typing-extensions Found existing installation: typing_extensions 4.4.0 Uninstalling typing_extensions-4.4.0: Successfully uninstalled typing_extensions-4.4.0 Attempting uninstall: tqdm Found existing installation: tqdm 4.64.1 Uninstalling tqdm-4.64.1: Successfully uninstalled tqdm-4.64.1 Attempting uninstall: six Found existing installation: six 1.16.0 Uninstalling six-1.16.0: Successfully uninstalled six-1.16.0 Attempting uninstall: PyYAML Found existing installation: PyYAML 3.13 ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. + echo 17 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end xiaomihome + rm /tmp/jeedom_install_in_progress_xiaomihome + echo '*******************End of package installation******************' *******************End of package installation******************