+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_eufy + echo 1 + echo 2 + 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. Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 https://download.docker.com/linux/debian buster InRelease [53.9 kB] Hit:3 http://archive.raspberrypi.org/debian buster InRelease Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease Fetched 68.9 kB in 1s (57.2 kB/s) Reading package lists... Building dependency tree... Reading state information... All packages are up to date. + echo 3 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3 is already the newest version (3.7.3-1). The following packages were automatically installed and are no longer required: libdav1d3 lxplug-volume python-pyicu python3-acme python3-augeas python3-certbot python3-configargparse python3-configobj python3-future python3-josepy python3-mock python3-parsedatetime python3-pbr python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + echo 4 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pip WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-pip is already the newest version (18.1-5+rpt1). The following packages were automatically installed and are no longer required: libdav1d3 lxplug-volume python-pyicu python3-acme python3-augeas python3-certbot python3-configargparse python3-configobj python3-future python3-josepy python3-mock python3-parsedatetime python3-pbr python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + echo 5 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-pyudev is already the newest version (0.21.0-1). The following packages were automatically installed and are no longer required: libdav1d3 lxplug-volume python-pyicu python3-acme python3-augeas python3-certbot python3-configargparse python3-configobj python3-future python3-josepy python3-mock python3-parsedatetime python3-pbr python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + echo 6 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3-requests WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-requests is already the newest version (2.21.0-1+deb10u1). The following packages were automatically installed and are no longer required: libdav1d3 lxplug-volume python-pyicu python3-acme python3-augeas python3-certbot python3-configargparse python3-configobj python3-future python3-josepy python3-mock python3-parsedatetime python3-pbr python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + echo 7 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3-setuptools WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-setuptools is already the newest version (40.8.0-1). The following packages were automatically installed and are no longer required: libdav1d3 lxplug-volume python-pyicu python3-acme python3-augeas python3-certbot python3-configargparse python3-configobj python3-future python3-josepy python3-mock python3-parsedatetime python3-pbr python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + echo 8 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3-dev WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-dev is already the newest version (3.7.3-1). The following packages were automatically installed and are no longer required: libdav1d3 lxplug-volume python-pyicu python3-acme python3-augeas python3-certbot python3-configargparse python3-configobj python3-future python3-josepy python3-mock python3-parsedatetime python3-pbr python3-requests-toolbelt python3-rfc3339 python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + echo 9 ++ 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= + echo '' + xargs rm -rf + echo 10 + sudo pip3 cache purge Files removed: 64 + echo 11 + sudo pip3 install --upgrade pip Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (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 12 + sudo python3 -m pip install --force-reinstall --upgrade wheel Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting wheel Downloading https://www.piwheels.org/simple/wheel/wheel-0.42.0-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 929.2 kB/s eta 0:00:00 Installing collected packages: wheel Attempting uninstall: wheel Found existing installation: wheel 0.42.0 Uninstalling wheel-0.42.0: Successfully uninstalled wheel-0.42.0 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 13 + sudo python3 -m pip install --force-reinstall --upgrade requests Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting requests Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 49.5 kB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 (from requests) Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.4.0-py3-none-any.whl (49 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.4/49.4 kB 53.7 kB/s eta 0:00:00 Collecting idna<4,>=2.5 (from requests) Downloading https://www.piwheels.org/simple/idna/idna-3.10-py3-none-any.whl (70 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 143.8 kB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 (from requests) Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.0.7-py3-none-any.whl (124 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 1.2 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 (from requests) Downloading https://www.piwheels.org/simple/certifi/certifi-2024.8.30-py3-none-any.whl (167 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 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.10 Uninstalling idna-3.10: Successfully uninstalled idna-3.10 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 3.4.0 Uninstalling charset-normalizer-3.4.0: Successfully uninstalled charset-normalizer-3.4.0 Attempting uninstall: certifi Found existing installation: certifi 2024.8.30 Uninstalling certifi-2024.8.30: Successfully uninstalled certifi-2024.8.30 Attempting uninstall: requests Found existing installation: requests 2.31.0 Uninstalling requests-2.31.0: Successfully uninstalled requests-2.31.0 Successfully installed certifi-2024.8.30 charset-normalizer-3.4.0 idna-3.10 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 14 + sudo python3 -m pip install --force-reinstall --upgrade pyudev Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pyudev Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.3-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 709.7 kB/s eta 0:00:00 Installing collected packages: pyudev Attempting uninstall: pyudev Found existing installation: pyudev 0.24.3 Uninstalling pyudev-0.24.3: Successfully uninstalled pyudev-0.24.3 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 15 + sudo python3 -m pip install --force-reinstall --upgrade six Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting six Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB) Installing collected packages: six Attempting uninstall: six Found existing installation: six 1.16.0 Uninstalling six-1.16.0: Successfully uninstalled six-1.16.0 Successfully installed six-1.16.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 pyserial Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pyserial Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 1.8 MB/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 17 + sudo python3 -m pip install --force-reinstall --upgrade websocket-client Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting websocket-client Downloading https://www.piwheels.org/simple/websocket-client/websocket_client-1.6.1-py3-none-any.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 1.0 MB/s eta 0:00:00 Installing collected packages: websocket-client Attempting uninstall: websocket-client Found existing installation: websocket-client 1.6.1 Uninstalling websocket-client-1.6.1: Successfully uninstalled websocket-client-1.6.1 Successfully installed websocket-client-1.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 18 + sudo chmod +x /var/www/html/core/class/../../plugins/eufy/resources/setup_eufy.sh + sudo /var/www/html/core/class/../../plugins/eufy/resources/setup_eufy.sh + echo 19 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end eufy + echo 20 + rm /tmp/jeedom_install_in_progress_eufy + echo '*******************End of package installation******************' *******************End of package installation******************