+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_modbus + echo 1 + echo 2 ++ cut -f 2- ++ awk '$1 <= 4' ++ find /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' + + RESULTTODELETE= ++ sed 's, ,\ ,g' ++ echo '' + RESULTTODELETE2= + xargs rm -rf + echo '' + echo 3 + sudo pip3 cache purge Files removed: 80 + echo 4 + sudo pip3 install --upgrade pip Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.1.1) WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown' WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. + 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 2.9 MB/s eta 0:00:00 WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown' 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, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. + echo 6 + sudo python3 -m pip install --force-reinstall --upgrade requests Collecting requests Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting charset-normalizer<4,>=2 (from requests) Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.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.2.2-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests) Downloading certifi-2024.6.2-py3-none-any.whl.metadata (2.2 kB) Downloading requests-2.32.3-py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 3.9 MB/s eta 0:00:00 Downloading certifi-2024.6.2-py3-none-any.whl (164 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.4/164.4 kB 8.2 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.3/142.3 kB 8.2 MB/s eta 0:00:00 Downloading idna-3.7-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 5.6 MB/s eta 0:00:00 Downloading urllib3-2.2.2-py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.4/121.4 kB 7.9 MB/s eta 0:00:00 WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown' Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests Attempting uninstall: urllib3 Found existing installation: urllib3 2.2.2 Uninstalling urllib3-2.2.2: Successfully uninstalled urllib3-2.2.2 Attempting uninstall: idna Found existing installation: idna 3.7 Uninstalling idna-3.7: Successfully uninstalled idna-3.7 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 2024.6.2 Uninstalling certifi-2024.6.2: Successfully uninstalled certifi-2024.6.2 Attempting uninstall: requests Found existing installation: requests 2.32.3 Uninstalling requests-2.32.3: Successfully uninstalled requests-2.32.3 Successfully installed certifi-2024.6.2 charset-normalizer-3.3.2 idna-3.7 requests-2.32.3 urllib3-2.2.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. + echo 7 + sudo python3 -m pip install --force-reinstall --upgrade setuptools Collecting setuptools Downloading setuptools-70.1.1-py3-none-any.whl.metadata (6.0 kB) Downloading setuptools-70.1.1-py3-none-any.whl (883 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 883.3/883.3 kB 8.1 MB/s eta 0:00:00 WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown' Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 70.1.1 Uninstalling setuptools-70.1.1: Successfully uninstalled setuptools-70.1.1 Successfully installed setuptools-70.1.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. + echo 8 + sudo python3 -m pip install --force-reinstall --upgrade wheel Collecting wheel Downloading wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB) Downloading wheel-0.43.0-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 2.4 MB/s eta 0:00:00 WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown' Installing collected packages: wheel Attempting uninstall: wheel Found existing installation: wheel 0.43.0 Uninstalling wheel-0.43.0: Successfully uninstalled wheel-0.43.0 Successfully installed wheel-0.43.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. + echo 9 + 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 4.1 MB/s eta 0:00:00 WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown' 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, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. + echo 10 + sudo python3 -m pip install --force-reinstall --upgrade bitstring Collecting bitstring Downloading bitstring-4.2.3-py3-none-any.whl.metadata (5.0 kB) Collecting bitarray<3.0.0,>=2.9.0 (from bitstring) Downloading bitarray-2.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB) Downloading bitstring-4.2.3-py3-none-any.whl (71 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.7/71.7 kB 2.8 MB/s eta 0:00:00 Downloading bitarray-2.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (286 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 286.0/286.0 kB 9.3 MB/s eta 0:00:00 WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown' Installing collected packages: bitarray, bitstring Attempting uninstall: bitarray Found existing installation: bitarray 2.9.2 Uninstalling bitarray-2.9.2: Successfully uninstalled bitarray-2.9.2 Attempting uninstall: bitstring Found existing installation: bitstring 4.2.3 Uninstalling bitstring-4.2.3: Successfully uninstalled bitstring-4.2.3 Successfully installed bitarray-2.9.2 bitstring-4.2.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. + echo 11 + sudo chmod +x /var/www/html/core/class/../../plugins/modbus/resources/post_install.sh + sudo /var/www/html/core/class/../../plugins/modbus/resources/post_install.sh ******************************************************** * Installation des dépendances * ******************************************************** jeu. 27 juin 2024 11:20:46 CEST 5 10 Atteint :1 http://security.debian.org/debian-security bullseye-security InRelease Atteint :2 http://deb.debian.org/debian bullseye InRelease Atteint :3 http://deb.debian.org/debian bullseye-updates InRelease Atteint :4 https://deb.nodesource.com/node_18.x nodistro InRelease Lecture des listes de paquets… 20 ***************************** Install modules using apt-get ***************************** WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Lecture des listes de paquets… Construction de l'arbre des dépendances… Lecture des informations d'état… python3-pip est déjà la version la plus récente (20.3.4-4+deb11u1). python3-dev est déjà la version la plus récente (3.9.2-3). 0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour. 40 Collecting pymodbus<3.0.0 Downloading pymodbus-2.5.3-py2.py3-none-any.whl.metadata (3.1 kB) Collecting six>=1.15.0 (from pymodbus<3.0.0) Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Collecting pyserial>=3.4 (from pymodbus<3.0.0) Using cached pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB) Downloading pymodbus-2.5.3-py2.py3-none-any.whl (154 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.5/154.5 kB 4.7 MB/s eta 0:00:00 Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown' Installing collected packages: pyserial, six, pymodbus Attempting uninstall: pyserial Found existing installation: pyserial 3.5 Uninstalling pyserial-3.5: Successfully uninstalled pyserial-3.5 Attempting uninstall: six Found existing installation: six 1.16.0 Uninstalling six-1.16.0: Successfully uninstalled six-1.16.0 Attempting uninstall: pymodbus Found existing installation: pymodbus 2.5.3 Uninstalling pymodbus-2.5.3: Successfully uninstalled pymodbus-2.5.3 Successfully installed pymodbus-2.5.3 pyserial-3.5 six-1.16.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. 100 ******************************************************** * Installation terminée * ******************************************************** + echo 12 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end modbus + echo 13 + rm /tmp/jeedom_install_in_progress_modbus + echo '*******************End of package installation******************' *******************End of package installation******************