+ echo '*******************Begin of package installation******************' *******************Begin of package installation****************** + touch /tmp/jeedom_install_in_progress_rfxcom + echo 1 + sudo apt-get --allow-releaseinfo-change E: Command line option --allow-releaseinfo-change is not understood in combination with the other options + echo 2 + sudo chmod +x /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh + sudo /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh Launch pre-install of rfxcom dependancy WARNING: Skipping serial 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. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: python3-serial 0 upgraded, 0 newly installed, 1 to remove and 443 not upgraded. After this operation, 379 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109066 files and directories currently installed.) Removing python3-serial (3.4-4) ... + 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:1 http://phoscon.de/apt/deconz buster InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:3 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease Reading package lists... E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable' E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable' + 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.7.3-1). 0 upgraded, 0 newly installed, 0 to remove and 443 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 (18.1-5+rpt1). 0 upgraded, 0 newly installed, 0 to remove and 443 not upgraded. + echo 6 + sudo apt install -o Dpkg::Options::=--force-confdef -y build-essential WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.6). 0 upgraded, 0 newly installed, 0 to remove and 443 not upgraded. + echo 7 + 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). 0 upgraded, 0 newly installed, 0 to remove and 443 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). 0 upgraded, 0 newly installed, 0 to remove and 443 not upgraded. + echo 9 + 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). 0 upgraded, 0 newly installed, 0 to remove and 443 not upgraded. + echo 10 + 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). 0 upgraded, 0 newly installed, 0 to remove and 443 not upgraded. + echo 11 ++ 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 12 + sudo pip3 cache purge Files removed: 130 + echo 13 + 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: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA' WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA' 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 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) WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA' WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA' 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 15 + 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 957.2 kB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 (from requests) Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.3.2-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.5/48.5 kB 831.8 kB/s eta 0:00:00 Collecting idna<4,>=2.5 (from requests) Downloading https://www.piwheels.org/simple/idna/idna-3.7-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 1.6 MB/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.5 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 (from requests) Downloading https://www.piwheels.org/simple/certifi/certifi-2024.7.4-py3-none-any.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 1.4 MB/s eta 0:00:00 WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA' WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA' 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 WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages Found existing installation: idna 3.3 ERROR: Cannot uninstall idna 3.3, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps idna==3.3'. + echo 16 + sudo python3 -m pip install --force-reinstall --upgrade setuptools Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting setuptools Downloading https://www.piwheels.org/simple/setuptools/setuptools-68.0.0-py3-none-any.whl (804 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 kB 3.0 MB/s eta 0:00:00 WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA' WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA' Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 68.0.0 Uninstalling setuptools-68.0.0: Successfully uninstalled setuptools-68.0.0 Successfully installed setuptools-68.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 17 + 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 990.7 kB/s eta 0:00:00 WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA' WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA' Installing collected packages: pyudev Attempting uninstall: pyudev WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages Found existing installation: pyudev 0.23.2 ERROR: Cannot uninstall pyudev 0.23.2, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps pyudev==0.23.2'. + echo 18 + 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.3 MB/s eta 0:00:00 WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA' WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA' 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 19 + sudo python3 -m pip install --force-reinstall --upgrade jeedomdaemon Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting jeedomdaemon Downloading https://www.piwheels.org/simple/jeedomdaemon/jeedomdaemon-0.10.1-py3-none-any.whl (12 kB) Collecting aiohttp (from jeedomdaemon) Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.8.6-cp37-cp37m-linux_armv7l.whl (506 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 506.2/506.2 kB 1.9 MB/s eta 0:00:00 Collecting attrs>=17.3.0 (from aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/attrs/attrs-23.2.0-py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 814.8 kB/s eta 0:00:00 Collecting charset-normalizer<4.0,>=2.0 (from aiohttp->jeedomdaemon) Using cached https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.3.2-py3-none-any.whl (48 kB) Collecting multidict<7.0,>=4.5 (from aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/multidict/multidict-6.0.5-cp37-cp37m-linux_armv7l.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.8/54.8 kB 648.4 kB/s eta 0:00:00 Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Collecting yarl<2.0,>=1.0 (from aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/yarl/yarl-1.9.4-cp37-cp37m-linux_armv7l.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.4/123.4 kB 1.1 MB/s eta 0:00:00 Collecting frozenlist>=1.1.1 (from aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/frozenlist/frozenlist-1.3.3-cp37-cp37m-linux_armv7l.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.1/66.1 kB 690.4 kB/s eta 0:00:00 Collecting aiosignal>=1.1.2 (from aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/aiosignal/aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting asynctest==0.13.0 (from aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/asynctest/asynctest-0.13.0-py3-none-any.whl (26 kB) Collecting typing-extensions>=3.7.4 (from aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting importlib-metadata (from attrs>=17.3.0->aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/importlib-metadata/importlib_metadata-6.7.0-py3-none-any.whl (22 kB) Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp->jeedomdaemon) Using cached https://www.piwheels.org/simple/idna/idna-3.7-py3-none-any.whl (66 kB) Collecting zipp>=0.5 (from importlib-metadata->attrs>=17.3.0->aiohttp->jeedomdaemon) Downloading https://www.piwheels.org/simple/zipp/zipp-3.15.0-py3-none-any.whl (6.8 kB) WARNING: Error parsing requirements for idna: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA' WARNING: Error parsing requirements for pyudev: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA' Installing collected packages: zipp, typing-extensions, multidict, idna, frozenlist, charset-normalizer, asynctest, yarl, importlib-metadata, async-timeout, aiosignal, attrs, aiohttp, jeedomdaemon Attempting uninstall: zipp Found existing installation: zipp 3.15.0 Uninstalling zipp-3.15.0: Successfully uninstalled zipp-3.15.0 Attempting uninstall: typing-extensions Found existing installation: typing_extensions 4.7.1 Uninstalling typing_extensions-4.7.1: Successfully uninstalled typing_extensions-4.7.1 Attempting uninstall: multidict Found existing installation: multidict 6.0.5 Uninstalling multidict-6.0.5: Successfully uninstalled multidict-6.0.5 Attempting uninstall: idna WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages Found existing installation: idna 3.3 ERROR: Cannot uninstall idna 3.3, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps idna==3.3'. + echo 20 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end rfxcom + echo 21 + rm /tmp/jeedom_install_in_progress_rfxcom + echo '*******************End of package installation******************' *******************End of package installation******************