je fais appel à votre aide. Suite à la mise à la mise à jour de 2 plugins fait ce jour (wifilight et androidTV), les dépendances de mes plugin in Xiaomi Home et Broadlink ne veulent plus se lancer et le deamon est ko.
Autant broalink, je m’en moque un peu, c’est pas grave, mais Xiaomi Home ca me pose problème (sonde température pour gérer le chauffage). Ca semble être un problème python mais ca dépasse mes compétences là.
Je tourne sous Jeedom 4.1.27 en VM sur Freebox DELTA
voici les logs de l’installation des dépendances :
* Installation des dépendances *
********************************************************
Reading package lists...
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Installation des dépendances apt
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-9).
libssl-dev is already the newest version (1.1.1d-0+deb10u7).
python3-cryptography is already the newest version (2.6.1-3+deb10u2).
python3-pip is already the newest version (18.1-5).
python3-setuptools is already the newest version (40.8.0-1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
cloud-init : Depends: lsb-release but it is not going to be installed
Recommends: cloud-guest-utils but it is not going to be installed
dh-python : Depends: python3-distutils but it is not going to be installed or
python3 (< 3.6.5~rc1-1) but 3.7.3-1 is to be installed
python3 : Depends: python3.7 (>= 3.7.3-1~) but it is not going to be installed
python3-cryptography : Depends: python3-cffi-backend-api-min (<= 9729)
Depends: python3-cffi-backend-api-max (>= 9729)
python3-dev : Depends: python3.7-dev (>= 3.7.3-1~) but it is not going to be installed
Depends: python3-distutils (>= 3.7.2-1~) but it is not going to be installed
python3-pip : Depends: python3-distutils but it is not going to be installed
python3-setuptools : Depends: python3-distutils but it is not going to be installed
python3-software-properties : Depends: lsb-release but it is not going to be installed
Recommends: unattended-upgrades but it is not going to be installed
python3-virtualenv : Depends: python3-distutils but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff8e5a6010 (most recent call first):
Installation du module construct pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff8967f010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 20: 31065 Aborted sudo pip3 install construct
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff9bb4d010 (most recent call first):
Installation du module pyudev pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffa9161010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 26: 31071 Aborted sudo pip3 install pyudev
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffba49c010 (most recent call first):
Installation du module requests pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffb1e0b010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 32: 31077 Aborted sudo pip3 install requests
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff9dcd4010 (most recent call first):
Installation du module pyserial pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffb9a6f010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 38: 31085 Aborted sudo pip3 install pyserial
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff9810e010 (most recent call first):
Installation du module future pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffa7d6b010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 44: 31101 Aborted sudo pip3 install future
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff9f7c4010 (most recent call first):
Installation du module pycrypto pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff888cc010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 50: 31111 Aborted sudo pip3 install pycrypto
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff803fb010 (most recent call first):
Installation du module cryptography pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff95428010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 56: 31122 Aborted sudo pip3 install cryptography
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffb9d10010 (most recent call first):
Installation du module enum34 pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff8b880010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 62: 31132 Aborted sudo pip3 install enum34
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff9b8f6010 (most recent call first):
Installation du module enum-compat pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffbd8a0010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 68: 31138 Aborted sudo pip3 install enum-compat
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff811e6010 (most recent call first):
Installation du module wheel pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffb7901010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 74: 31144 Aborted sudo pip3 install wheel
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffb0624010 (most recent call first):
Installation du module yeelight pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff93bc7010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 80: 31153 Aborted sudo pip3 install yeelight
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffb2ab6010 (most recent call first):
Installation du module miio pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffa8846010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 86: 31159 Aborted sudo pip3 install python-miio
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffffb8728010 (most recent call first):
Installation du module thread pour python
Fatal Python error: initfsencoding: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding
Current thread 0x0000ffff9226b010 (most recent call first):
/var/www/html/plugins/xiaomihome/core/class/../../resources/install_apt.sh: line 92: 31165 Aborted sudo pip3 install _thread
********************************************************
* Installation terminée *
********************************************************
Bonjour après maintes recherches et tentatives, je n’ai pas réussi à régler le problème.
J’ai finalement réinstallé une nouvelle vm jeedom et recharger ma sauvegarde.
Tout est ok.