je permets de vous contacter parce que je ne sais plus quoi faire. j’ai les dépendances du plugiciel RFXcom qui peuvent plus s’installer. j’ai désinstallé complètement le plugiciel à plusieurs reprises mais je suis toujours au même point.
vous serait-il possible de m’aider.
D’avance merci
Le contenu du log doit être copié dans un Texte préformaté (bouton </>), pas de pièce jointe.
Perso je n’ouvre pas, c’est trop pénible surtout sur mobile.
Il faut également préciser le type de machine/box et une capture écran de la page config du plugin.
Vous êtes sous debian10, version qui n’est plus supporté (par debian et par conséquent par tout le monde), selon la box une installation de debian 11 va être nécessaire.
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_rfxcom
+ echo 1
+ 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.
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
Le paquet « python3-serial » n'est pas installé, et ne peut donc être supprimé
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
+ echo 3
++ awk '$1 <= 4'
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 4
+ sudo pip3 cache purge
Files removed: 130
+ echo 5
+ 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 certifi: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/certifi-2021.10.8.dist-info/METADATA'
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'
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'
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'
WARNING: Error parsing requirements for voluptuous: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/voluptuous-0.13.1.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 6
+ 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 certifi: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/certifi-2021.10.8.dist-info/METADATA'
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'
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'
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'
WARNING: Error parsing requirements for voluptuous: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/voluptuous-0.13.1.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 7
+ 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 242.6 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 347.6 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 3.7 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 528.5 kB/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.3 MB/s eta 0:00:00
WARNING: Error parsing requirements for certifi: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/certifi-2021.10.8.dist-info/METADATA'
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'
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'
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'
WARNING: Error parsing requirements for voluptuous: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/voluptuous-0.13.1.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 8
+ 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 1.7 MB/s eta 0:00:00
WARNING: Error parsing requirements for certifi: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/certifi-2021.10.8.dist-info/METADATA'
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'
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'
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'
WARNING: Error parsing requirements for voluptuous: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/voluptuous-0.13.1.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 9
+ 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 448.1 kB/s eta 0:00:00
WARNING: Error parsing requirements for certifi: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/certifi-2021.10.8.dist-info/METADATA'
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'
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'
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'
WARNING: Error parsing requirements for voluptuous: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/voluptuous-0.13.1.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 10
+ 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 364.1 kB/s eta 0:00:00
WARNING: Error parsing requirements for certifi: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/certifi-2021.10.8.dist-info/METADATA'
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'
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'
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'
WARNING: Error parsing requirements for voluptuous: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/voluptuous-0.13.1.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 11
+ 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.1 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 4.3 MB/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 396.7 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 355.4 kB/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 4.0 MB/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 certifi: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/certifi-2021.10.8.dist-info/METADATA'
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'
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'
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'
WARNING: Error parsing requirements for voluptuous: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/local/lib/python3.7/dist-packages/voluptuous-0.13.1.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 12
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end rfxcom
+ echo 13
+ rm /tmp/jeedom_install_in_progress_rfxcom
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Vos packages sont corrompus (erreur sur « metadata » … et « record file not found… »)
Le plus souvent causé par des manips manuelles (suppression de fichier manuellement?) Ou interruption d’une installation en cours? (Reboot forcé ou non?)
Bref, c’est souvent une galère à réparer. Si vous cherchez sur community avec les lignes d’erreurs vous trouverez des commandes que j’ai déjà donnée pour essayer de réparer mais je pense que ca ne vaut pas la peine et qu’il sera plus utile de réinstaller sous debian11 et ensuite de restaurer un backup jeedom.