+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_PoeleAgua + echo 1 + echo 2 + sudo chmod +x /var/www/html/core/class/../../plugins/PoeleAgua/resources/pre-install.sh + sudo /var/www/html/core/class/../../plugins/PoeleAgua/resources/pre-install.sh uninstall py-agua-iot WARNING: Skipping py-agua-ipt as it is not installed. 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. uninstall py-agua-iot ok mise a jour certificat Clearing symlinks in /etc/ssl/certs... done. Updating certificates in /etc/ssl/certs... 129 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. mise a jour certificat ok + echo 3 + 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:2 https://deb.nodesource.com/node_20.x nodistro InRelease Get:4 http://deb.volian.org/volian scar InRelease [99 B] Err:4 http://deb.volian.org/volian scar InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Get:1 https://ryanfortner.github.io/box64-debs/debian ./ InRelease [2115 B] Hit:3 http://mirror.vinehost.net/armbian/apt bullseye InRelease Reading package lists... E: Failed to fetch http://deb.volian.org/volian/dists/scar/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'http://deb.volian.org/volian scar InRelease' is not signed. + echo 4 + 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.9.2-3). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. + echo 5 + 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 (20.3.4-4+deb11u1). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. + echo 6 + 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.22.0-2). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. + echo 7 + 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.9.2-3). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. + echo 8 + 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.25.1+dfsg-2). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. + echo 9 + 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 (52.0.0-4+deb11u1). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. + echo 10 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3-certifi WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-certifi is already the newest version (2020.6.20-1). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. + echo 11 + sudo apt install -o Dpkg::Options::=--force-confdef -y python3-serial WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package python3-serial + echo 12 ++ find /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' + ++ cut -f 2- ++ awk '$1 <= 4' + RESULTTODELETE= ++ echo '' ++ sed 's, ,\ ,g' + RESULTTODELETE2= + echo '' + xargs rm -rf + echo 13 + sudo pip3 cache purge Files removed: 104 + echo 14 + sudo pip3 install --upgrade pip Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.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 15 + sudo python3 -m pip install --force-reinstall --upgrade six Collecting six Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Downloading 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, 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 16 + 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) 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 17 + sudo python3 -m pip install --force-reinstall --upgrade pyjwt Collecting pyjwt Downloading PyJWT-2.9.0-py3-none-any.whl.metadata (3.0 kB) Downloading PyJWT-2.9.0-py3-none-any.whl (22 kB) Installing collected packages: pyjwt Attempting uninstall: pyjwt Found existing installation: PyJWT 2.9.0 Uninstalling PyJWT-2.9.0: Successfully uninstalled PyJWT-2.9.0 Successfully installed pyjwt-2.9.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 18 + 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) 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 19 + 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_aarch64.manylinux2014_aarch64.whl.metadata (33 kB) Collecting idna<4,>=2.5 (from requests) Downloading idna-3.8-py3-none-any.whl.metadata (9.9 kB) Collecting urllib3<3,>=1.21.1 (from requests) Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB) Collecting certifi>=2017.4.17 (from requests) Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB) Downloading requests-2.32.3-py3-none-any.whl (64 kB) Downloading certifi-2024.8.30-py3-none-any.whl (167 kB) Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (138 kB) Downloading idna-3.8-py3-none-any.whl (66 kB) Downloading urllib3-2.2.3-py3-none-any.whl (126 kB) Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests Attempting uninstall: urllib3 Found existing installation: urllib3 2.2.3 Uninstalling urllib3-2.2.3: Successfully uninstalled urllib3-2.2.3 Attempting uninstall: idna Found existing installation: idna 3.8 Uninstalling idna-3.8: Successfully uninstalled idna-3.8 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.8.30 Uninstalling certifi-2024.8.30: Successfully uninstalled certifi-2024.8.30 Attempting uninstall: requests Found existing installation: requests 2.32.3 Uninstalling requests-2.32.3: Successfully uninstalled requests-2.32.3 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. nala 0.9.0 requires anyio<4.0.0,>=3.5.0, but you have anyio 4.4.0 which is incompatible. nala 0.9.0 requires httpx<0.23.0,>=0.22.0, but you have httpx 0.27.2 which is incompatible. nala 0.9.0 requires rich<13.0.0,>=12.1.0, but you have rich 8.0.0 which is incompatible. nala 0.9.0 requires typing-extensions<4.0.0.0,>=3.10.0.2, but you have typing-extensions 4.12.2 which is incompatible. Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 idna-3.8 requests-2.32.3 urllib3-2.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 20 + sudo python3 -m pip install --force-reinstall --upgrade certifi Collecting certifi Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB) Using cached certifi-2024.8.30-py3-none-any.whl (167 kB) Installing collected packages: certifi Attempting uninstall: certifi Found existing installation: certifi 2024.8.30 Uninstalling certifi-2024.8.30: Successfully uninstalled certifi-2024.8.30 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. nala 0.9.0 requires anyio<4.0.0,>=3.5.0, but you have anyio 4.4.0 which is incompatible. nala 0.9.0 requires httpx<0.23.0,>=0.22.0, but you have httpx 0.27.2 which is incompatible. nala 0.9.0 requires rich<13.0.0,>=12.1.0, but you have rich 8.0.0 which is incompatible. nala 0.9.0 requires typing-extensions<4.0.0.0,>=3.10.0.2, but you have typing-extensions 4.12.2 which is incompatible. Successfully installed certifi-2024.8.30 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 21 + sudo python3 -m pip install --force-reinstall --upgrade setuptools Collecting setuptools Downloading setuptools-74.1.2-py3-none-any.whl.metadata (6.7 kB) Downloading setuptools-74.1.2-py3-none-any.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 7.9 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 74.1.2 Uninstalling setuptools-74.1.2: Successfully uninstalled setuptools-74.1.2 Successfully installed setuptools-74.1.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 22 + sudo python3 -m pip install --force-reinstall --upgrade httpx Collecting httpx Downloading httpx-0.27.2-py3-none-any.whl.metadata (7.1 kB) Collecting anyio (from httpx) Downloading anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB) Collecting certifi (from httpx) Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB) Collecting httpcore==1.* (from httpx) Downloading httpcore-1.0.5-py3-none-any.whl.metadata (20 kB) Collecting idna (from httpx) Using cached idna-3.8-py3-none-any.whl.metadata (9.9 kB) Collecting sniffio (from httpx) Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB) Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx) Downloading h11-0.14.0-py3-none-any.whl.metadata (8.2 kB) Collecting exceptiongroup>=1.0.2 (from anyio->httpx) Downloading exceptiongroup-1.2.2-py3-none-any.whl.metadata (6.6 kB) Collecting typing-extensions>=4.1 (from anyio->httpx) Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Downloading httpx-0.27.2-py3-none-any.whl (76 kB) Downloading httpcore-1.0.5-py3-none-any.whl (77 kB) Downloading anyio-4.4.0-py3-none-any.whl (86 kB) Using cached idna-3.8-py3-none-any.whl (66 kB) Downloading sniffio-1.3.1-py3-none-any.whl (10 kB) Using cached certifi-2024.8.30-py3-none-any.whl (167 kB) Downloading exceptiongroup-1.2.2-py3-none-any.whl (16 kB) Downloading h11-0.14.0-py3-none-any.whl (58 kB) Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB) Installing collected packages: typing-extensions, sniffio, idna, h11, exceptiongroup, certifi, httpcore, anyio, httpx Attempting uninstall: typing-extensions Found existing installation: typing_extensions 4.12.2 Uninstalling typing_extensions-4.12.2: Successfully uninstalled typing_extensions-4.12.2 Attempting uninstall: sniffio Found existing installation: sniffio 1.3.1 Uninstalling sniffio-1.3.1: Successfully uninstalled sniffio-1.3.1 Attempting uninstall: idna Found existing installation: idna 3.8 Uninstalling idna-3.8: Successfully uninstalled idna-3.8 Attempting uninstall: h11 Found existing installation: h11 0.14.0 Uninstalling h11-0.14.0: Successfully uninstalled h11-0.14.0 Attempting uninstall: exceptiongroup Found existing installation: exceptiongroup 1.2.2 Uninstalling exceptiongroup-1.2.2: Successfully uninstalled exceptiongroup-1.2.2 Attempting uninstall: certifi Found existing installation: certifi 2024.8.30 Uninstalling certifi-2024.8.30: Successfully uninstalled certifi-2024.8.30 Attempting uninstall: httpcore Found existing installation: httpcore 1.0.5 Uninstalling httpcore-1.0.5: Successfully uninstalled httpcore-1.0.5 Attempting uninstall: anyio Found existing installation: anyio 4.4.0 Uninstalling anyio-4.4.0: Successfully uninstalled anyio-4.4.0 Attempting uninstall: httpx Found existing installation: httpx 0.27.2 Uninstalling httpx-0.27.2: Successfully uninstalled httpx-0.27.2 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. nala 0.9.0 requires anyio<4.0.0,>=3.5.0, but you have anyio 4.4.0 which is incompatible. nala 0.9.0 requires httpx<0.23.0,>=0.22.0, but you have httpx 0.27.2 which is incompatible. nala 0.9.0 requires rich<13.0.0,>=12.1.0, but you have rich 8.0.0 which is incompatible. nala 0.9.0 requires typing-extensions<4.0.0.0,>=3.10.0.2, but you have typing-extensions 4.12.2 which is incompatible. Successfully installed anyio-4.4.0 certifi-2024.8.30 exceptiongroup-1.2.2 h11-0.14.0 httpcore-1.0.5 httpx-0.27.2 idna-3.8 sniffio-1.3.1 typing-extensions-4.12.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 23 + sudo chmod +x /var/www/html/core/class/../../plugins/PoeleAgua/resources/post-install.sh + sudo /var/www/html/core/class/../../plugins/PoeleAgua/resources/post-install.sh liaison request certifi /usr/local/lib/python3.9/dist-packages/certifi/cacert.pem liaison request certifi ok + echo 24 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end PoeleAgua + echo 25 + rm /tmp/jeedom_install_in_progress_PoeleAgua + echo '*******************End of package installation******************' *******************End of package installation******************