Echec installation des dépendances suite Maj du 2024-06-03 10:54:09 (beta)

Tout est dans le titre.

Système PI4B 4G, Débian 10.13 aarch64, Jeedom 4.4.6

Dans un premier temps, voici les logs de l’installation.

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_rfxcom
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh
0007|Launch pre-install of rfxcom dependancy
0008|WARNING: Skipping serial as it is not installed.
0009|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
0010|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0011|Lecture des listes de paquets…
0012|Construction de l'arbre des dépendances…
0013|Lecture des informations d'état…
0014|Le paquet « python3-serial » n'est pas installé, et ne peut donc être supprimé
0015|0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
0016|+ echo 3
0017|++ awk '$1 <= 4'
0018|++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
0019|++ cut -f 2-
0020|+ RESULTTODELETE=
0021|++ echo ''
0022|++ sed 's, ,\ ,g'
0023|+ RESULTTODELETE2=
0024|+ echo ''
0025|+ xargs rm -rf
0026|+ echo 4
0027|+ sudo pip3 cache purge
0028|Files removed: 140
0029|+ echo 5
0030|+ sudo pip3 install --upgrade pip
0031|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0032|Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (24.0)
0033|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0034|WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
0035|WARNING: Error parsing requirements for pyudev: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
0036|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
0037|+ echo 6
0038|+ sudo pip3 install --force-reinstall --upgrade six
0039|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0040|Collecting six
0041|Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB)
0042|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0043|WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
0044|WARNING: Error parsing requirements for pyudev: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
0045|Installing collected packages: six
0046|Attempting uninstall: six
0047|Found existing installation: six 1.16.0
0048|Uninstalling six-1.16.0:
0049|Successfully uninstalled six-1.16.0
0050|Successfully installed six-1.16.0
0051|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
0052|+ echo 7
0053|+ sudo pip3 install --force-reinstall --upgrade requests
0054|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0055|Collecting requests
0056|Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
0057|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 435.7 kB/s eta 0:00:00
0058|Collecting charset-normalizer<4,>=2 (from requests)
0059|Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (33 kB)
0060|Collecting idna<4,>=2.5 (from requests)
0061|Downloading https://www.piwheels.org/simple/idna/idna-3.7-py3-none-any.whl (66 kB)
0062|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 490.4 kB/s eta 0:00:00
0063|Collecting urllib3<3,>=1.21.1 (from requests)
0064|Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.0.7-py3-none-any.whl (124 kB)
0065|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 536.1 kB/s eta 0:00:00
0066|Collecting certifi>=2017.4.17 (from requests)
0067|Downloading https://www.piwheels.org/simple/certifi/certifi-2024.6.2-py3-none-any.whl (164 kB)
0068|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.4/164.4 kB 1.4 MB/s eta 0:00:00
0069|Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (133 kB)
0070|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 3.4 MB/s eta 0:00:00
0071|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0072|WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
0073|WARNING: Error parsing requirements for pyudev: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
0074|Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
0075|Attempting uninstall: urllib3
0076|Found existing installation: urllib3 2.0.7
0077|Uninstalling urllib3-2.0.7:
0078|Successfully uninstalled urllib3-2.0.7
0079|Attempting uninstall: idna
0080|WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages
0081|Found existing installation: idna 3.3
0082|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'.
0083|+ echo 8
0084|+ sudo pip3 install --force-reinstall --upgrade setuptools
0085|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0086|Collecting setuptools
0087|Downloading https://www.piwheels.org/simple/setuptools/setuptools-68.0.0-py3-none-any.whl (804 kB)
0088|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 kB 1.7 MB/s eta 0:00:00
0089|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0090|WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
0091|WARNING: Error parsing requirements for pyudev: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
0092|Installing collected packages: setuptools
0093|Attempting uninstall: setuptools
0094|Found existing installation: setuptools 68.0.0
0095|Uninstalling setuptools-68.0.0:
0096|Successfully uninstalled setuptools-68.0.0
0097|Successfully installed setuptools-68.0.0
0098|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
0099|+ echo 9
0100|+ sudo pip3 install --force-reinstall --upgrade pyudev
0101|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0102|Collecting pyudev
0103|Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.3-py3-none-any.whl (62 kB)
0104|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 446.8 kB/s eta 0:00:00
0105|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0106|WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
0107|WARNING: Error parsing requirements for pyudev: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
0108|Installing collected packages: pyudev
0109|Attempting uninstall: pyudev
0110|WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages
0111|Found existing installation: pyudev 0.23.2
0112|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'.
0113|+ echo 10
0114|+ sudo pip3 install --force-reinstall --upgrade pyserial
0115|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0116|Collecting pyserial
0117|Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
0118|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 581.2 kB/s eta 0:00:00
0119|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0120|WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
0121|WARNING: Error parsing requirements for pyudev: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
0122|Installing collected packages: pyserial
0123|Attempting uninstall: pyserial
0124|Found existing installation: pyserial 3.5
0125|Uninstalling pyserial-3.5:
0126|Successfully uninstalled pyserial-3.5
0127|Successfully installed pyserial-3.5
0128|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
0129|+ echo 11
0130|+ sudo pip3 install --force-reinstall --upgrade jeedomdaemon
0131|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0132|Collecting jeedomdaemon
0133|Downloading https://www.piwheels.org/simple/jeedomdaemon/jeedomdaemon-0.9.8-py3-none-any.whl (12 kB)
0134|Collecting aiohttp (from jeedomdaemon)
0135|Downloading aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (7.7 kB)
0136|Collecting attrs>=17.3.0 (from aiohttp->jeedomdaemon)
0137|Downloading https://www.piwheels.org/simple/attrs/attrs-23.2.0-py3-none-any.whl (60 kB)
0138|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 410.8 kB/s eta 0:00:00
0139|Collecting charset-normalizer<4.0,>=2.0 (from aiohttp->jeedomdaemon)
0140|Using cached charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (33 kB)
0141|Collecting multidict<7.0,>=4.5 (from aiohttp->jeedomdaemon)
0142|Downloading multidict-6.0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (4.2 kB)
0143|Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp->jeedomdaemon)
0144|Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
0145|Collecting yarl<2.0,>=1.0 (from aiohttp->jeedomdaemon)
0146|Downloading yarl-1.9.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (31 kB)
0147|Collecting frozenlist>=1.1.1 (from aiohttp->jeedomdaemon)
0148|Downloading frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (4.7 kB)
0149|Collecting aiosignal>=1.1.2 (from aiohttp->jeedomdaemon)
0150|Downloading https://www.piwheels.org/simple/aiosignal/aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
0151|Collecting asynctest==0.13.0 (from aiohttp->jeedomdaemon)
0152|Downloading https://www.piwheels.org/simple/asynctest/asynctest-0.13.0-py3-none-any.whl (26 kB)
0153|Collecting typing-extensions>=3.7.4 (from aiohttp->jeedomdaemon)
0154|Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.7.1-py3-none-any.whl (33 kB)
0155|Collecting importlib-metadata (from attrs>=17.3.0->aiohttp->jeedomdaemon)
0156|Downloading https://www.piwheels.org/simple/importlib-metadata/importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
0157|Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp->jeedomdaemon)
0158|Using cached https://www.piwheels.org/simple/idna/idna-3.7-py3-none-any.whl (66 kB)
0159|Collecting zipp>=0.5 (from importlib-metadata->attrs>=17.3.0->aiohttp->jeedomdaemon)
0160|Downloading https://www.piwheels.org/simple/zipp/zipp-3.15.0-py3-none-any.whl (6.8 kB)
0161|Downloading aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (990 kB)
0162|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 990.7/990.7 kB 6.0 MB/s eta 0:00:00
0163|Using cached charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (133 kB)
0164|Downloading frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (147 kB)
0165|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.3/147.3 kB 1.0 MB/s eta 0:00:00
0166|Downloading multidict-6.0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (101 kB)
0167|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.2/101.2 kB 3.8 MB/s eta 0:00:00
0168|Downloading yarl-1.9.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (286 kB)
0169|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 286.1/286.1 kB 4.7 MB/s eta 0:00:00
0170|WARNING: Error parsing requirements for charset-normalizer: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/charset_normalizer-2.0.12.dist-info/METADATA'
0171|WARNING: Error parsing requirements for idna: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/idna-3.3.dist-info/METADATA'
0172|WARNING: Error parsing requirements for pyudev: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/pyudev-0.23.2.dist-info/METADATA'
0173|Installing collected packages: zipp, typing-extensions, multidict, idna, frozenlist, charset-normalizer, asynctest, yarl, importlib-metadata, async-timeout, aiosignal, attrs, aiohttp, jeedomdaemon
0174|Attempting uninstall: zipp
0175|Found existing installation: zipp 3.15.0
0176|Uninstalling zipp-3.15.0:
0177|Successfully uninstalled zipp-3.15.0
0178|Attempting uninstall: typing-extensions
0179|Found existing installation: typing_extensions 4.7.1
0180|Uninstalling typing_extensions-4.7.1:
0181|Successfully uninstalled typing_extensions-4.7.1
0182|Attempting uninstall: multidict
0183|Found existing installation: multidict 6.0.5
0184|Uninstalling multidict-6.0.5:
0185|Successfully uninstalled multidict-6.0.5
0186|Attempting uninstall: idna
0187|WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages
0188|Found existing installation: idna 3.3
0189|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'.
0190|+ echo 12
0191|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end rfxcom
0192|+ echo 13
0193|+ rm /tmp/jeedom_install_in_progress_rfxcom
0194|+ echo '*******************End of package installation******************'
0195|*******************End of package installation******************`

D’avance merci pour votre aide.

Bonjour,

Les logs ne sont pas lisibles, veuillez les recoller dans un Texte préformaté (bouton </>)

saisissez ou collez du code ici

Et pas une citation (bouton ")

Citation

1 « J'aime »

C’est fait dans le premier post :+1:

Bonjour,

Vous êtes sur Debian 10, on lis partout qu’il faut passer sur Debian 11.

Vous avez plusieurs paquets cassés dont leur metadata manquent. Causé probablement soit par des manipulations manuelles (ex suppression de fichiers) soit l’interruption d’une installation en cours (reboot, relance de dépendances alors que pas fini…)

Avez-vous essayé la commande proposée dans le log?

You might be able to recover from this via: 'pip install --force-reinstall --no-deps idna==3.3'.

A faire avec sudo pip3 au lieu de pip

Sinon il y a moyen parfois de réparer (je suis sur mobile mais en cherchant sur ce genre d’erreur « metadata » vous retrouverez des posts dans lesquels je donne des commandes) mais comme dit Fabrice, debian10 étant obsolète dans quelques semaines, autant réinstaller en debian11 plutôt que perdre du temps à essayer de réparer.

1 « J'aime »