Bon toujours pas beaucoup mieux mais je pense qu’Akenad a raison : je n’arrive pas à installer tous les packages dans le centre de mise à jour. 14 packages ne passent pas après plusieurs essais dont « cryptography » et j’ai vu dans le log un problème avec « rust » aussi…
Je commence à me demander si je ne vais pas virer le peu que j’ai en zigbee et le remplacer par du zwave ou du enocean voire du shelly, même si c’est con quand tu vois le nombre de trucs en zigbee.
Au cas-où pour les pros le log de mise à jour python2 :
+ echo '*******************Begin of package upgrade type pip2******************'
*******************Begin of package upgrade type pip2******************
+ sudo pip2 install --force-reinstall --upgrade cryptography
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cryptography
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Collecting six>=1.4.1 (from cryptography)
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Collecting enum34; python_version < "3" (from cryptography)
Using cached https://files.pythonhosted.org/packages/6f/2c/a9386903ece2ea85e9807e0e062174dc26fdce8b05f216d00491be29fad5/enum34-1.1.10-py2-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography)
Using cached https://files.pythonhosted.org/packages/c2/f8/49697181b1651d8347d24c095ce46c7346c37335ddc7d255833e7cde674d/ipaddress-1.0.23-py2.py3-none-any.whl
Collecting cffi>=1.12 (from cryptography)
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Collecting pycparser (from cffi>=1.12->cryptography)
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl
astroid 1.6.6 requires backports.functools-lru-cache; python_version < "3.4", which is not installed.
pylint 1.9.5 requires backports.functools-lru-cache; python_version == "2.7", which is not installed.
Installing collected packages: six, enum34, ipaddress, pycparser, cffi, cryptography
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Found existing installation: enum34 1.1.10
Uninstalling enum34-1.1.10:
Successfully uninstalled enum34-1.1.10
Found existing installation: ipaddress 1.0.23
Uninstalling ipaddress-1.0.23:
Successfully uninstalled ipaddress-1.0.23
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Found existing installation: cffi 1.15.1
Uninstalling cffi-1.15.1:
Successfully uninstalled cffi-1.15.1
Found existing installation: cryptography 3.3.2
Uninstalling cryptography-3.3.2:
Successfully uninstalled cryptography-3.3.2
Successfully installed cffi-1.15.1 cryptography-3.3.2 enum34-1.1.10 ipaddress-1.0.23 pycparser-2.21 six-1.16.0
+ sudo pip2 install --force-reinstall --upgrade entrypoints
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting entrypoints
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
Collecting configparser>=3.5; python_version == "2.7" (from entrypoints)
Using cached https://files.pythonhosted.org/packages/7a/2a/95ed0501cf5d8709490b1d3a3f9b5cf340da6c433f896bbe9ce08dbe6785/configparser-4.0.2-py2.py3-none-any.whl
pylint 1.9.5 requires backports.functools-lru-cache; python_version == "2.7", which is not installed.
Installing collected packages: configparser, entrypoints
Found existing installation: configparser 4.0.2
Uninstalling configparser-4.0.2:
Successfully uninstalled configparser-4.0.2
Found existing installation: entrypoints 0.3
Uninstalling entrypoints-0.3:
Successfully uninstalled entrypoints-0.3
Successfully installed configparser-4.0.2 entrypoints-0.3
+ sudo pip2 install --force-reinstall --upgrade keyring
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting keyring
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/cb/97/351c4839d78c518d8784822ec6f48f601de5cf47ab21242c0a6e5da888cc/keyring-18.0.1-py2.py3-none-any.whl
Collecting entrypoints (from keyring)
Using cached https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
Collecting secretstorage<3; (sys_platform == "linux2" or sys_platform == "linux") and python_version < "3.5" (from keyring)
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Collecting configparser>=3.5; python_version == "2.7" (from entrypoints->keyring)
Using cached https://files.pythonhosted.org/packages/7a/2a/95ed0501cf5d8709490b1d3a3f9b5cf340da6c433f896bbe9ce08dbe6785/configparser-4.0.2-py2.py3-none-any.whl
Collecting cryptography (from secretstorage<3; (sys_platform == "linux2" or sys_platform == "linux") and python_version < "3.5"->keyring)
Collecting six>=1.4.1 (from cryptography->secretstorage<3; (sys_platform == "linux2" or sys_platform == "linux") and python_version < "3.5"->keyring)
Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Collecting enum34; python_version < "3" (from cryptography->secretstorage<3; (sys_platform == "linux2" or sys_platform == "linux") and python_version < "3.5"->keyring)
Using cached https://files.pythonhosted.org/packages/6f/2c/a9386903ece2ea85e9807e0e062174dc26fdce8b05f216d00491be29fad5/enum34-1.1.10-py2-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography->secretstorage<3; (sys_platform == "linux2" or sys_platform == "linux") and python_version < "3.5"->keyring)
Using cached https://files.pythonhosted.org/packages/c2/f8/49697181b1651d8347d24c095ce46c7346c37335ddc7d255833e7cde674d/ipaddress-1.0.23-py2.py3-none-any.whl
Collecting cffi>=1.12 (from cryptography->secretstorage<3; (sys_platform == "linux2" or sys_platform == "linux") and python_version < "3.5"->keyring)
Collecting pycparser (from cffi>=1.12->cryptography->secretstorage<3; (sys_platform == "linux2" or sys_platform == "linux") and python_version < "3.5"->keyring)
Using cached https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl
astroid 1.6.6 requires backports.functools-lru-cache; python_version < "3.4", which is not installed.
pylint 1.9.5 requires backports.functools-lru-cache; python_version == "2.7", which is not installed.
Installing collected packages: configparser, entrypoints, six, enum34, ipaddress, pycparser, cffi, cryptography, secretstorage, keyring
Found existing installation: configparser 4.0.2
Uninstalling configparser-4.0.2:
Successfully uninstalled configparser-4.0.2
Found existing installation: entrypoints 0.3
Uninstalling entrypoints-0.3:
Successfully uninstalled entrypoints-0.3
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Found existing installation: enum34 1.1.10
Uninstalling enum34-1.1.10:
Successfully uninstalled enum34-1.1.10
Found existing installation: ipaddress 1.0.23
Uninstalling ipaddress-1.0.23:
Successfully uninstalled ipaddress-1.0.23
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Found existing installation: cffi 1.15.1
Uninstalling cffi-1.15.1:
Successfully uninstalled cffi-1.15.1
Found existing installation: cryptography 3.3.2
Successfully uninstalled cryptography-3.3.2
Found existing installation: SecretStorage 2.3.1
Uninstalling SecretStorage-2.3.1:
Successfully uninstalled SecretStorage-2.3.1
Found existing installation: keyring 18.0.1
Uninstalling keyring-18.0.1:
Successfully uninstalled keyring-18.0.1
Successfully installed cffi-1.15.1 configparser-4.0.2 cryptography-3.3.2 entrypoints-0.3 enum34-1.1.10 ipaddress-1.0.23 keyring-18.0.1 pycparser-2.21 secretstorage-2.3.1 six-1.16.0
+ sudo pip2 install --force-reinstall --upgrade pycurl
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pycurl
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/ef/05/4b773f74f830a90a326b06f9b24e65506302ab049e825a3c0b60b1a6e26a/pycurl-7.43.0.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-_1hIJj/pycurl/setup.py", line 961, in
ext = get_extension(sys.argv, split_extension_source=split_extension_source)
File "/tmp/pip-install-_1hIJj/pycurl/setup.py", line 623, in get_extension
ext_config = ExtensionConfiguration(argv)
File "/tmp/pip-install-_1hIJj/pycurl/setup.py", line 101, in __init__
self.configure()
File "/tmp/pip-install-_1hIJj/pycurl/setup.py", line 238, in configure_unix
raise ConfigurationError(msg)
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-_1hIJj/pycurl/
+ sudo pip2 install --force-reinstall --upgrade PyGObject
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting PyGObject
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/93/41/bf9ab8929f51dac2979ae81bb094728bacee3ceb049def72d3fc1bcb4241/PyGObject-3.36.1.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'error'
Complete output from command /usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-AsfkGy --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel pycairo:
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Collecting setuptools
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006ec932b4/setuptools-44.1.1-py2.py3-none-any.whl
Collecting wheel
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl
Collecting pycairo
Using cached https://files.pythonhosted.org/packages/3c/1a/c0478ecab31baae50fda9956547788afbd0ca563adc52c9b03cab30f17eb/pycairo-1.18.2.tar.gz
Building wheels for collected packages: pycairo
Running setup.py bdist_wheel for pycairo: started
Running setup.py bdist_wheel for pycairo: finished with status 'error'
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yFemvv/pycairo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-4h9YOl --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/cairo
copying cairo/__init__.py -> build/lib.linux-armv7l-2.7/cairo
copying cairo/__init__.pyi -> build/lib.linux-armv7l-2.7/cairo
copying cairo/py.typed -> build/lib.linux-armv7l-2.7/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1
----------------------------------------
Failed building wheel for pycairo
Running setup.py clean for pycairo
Failed to build pycairo
Installing collected packages: setuptools, wheel, pycairo
Running setup.py install for pycairo: started
Running setup.py install for pycairo: finished with status 'error'
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yFemvv/pycairo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-aBW0Vh/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-AsfkGy --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/cairo
copying cairo/__init__.py -> build/lib.linux-armv7l-2.7/cairo
copying cairo/__init__.pyi -> build/lib.linux-armv7l-2.7/cairo
copying cairo/py.typed -> build/lib.linux-armv7l-2.7/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-yFemvv/pycairo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-aBW0Vh/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-AsfkGy --compile" failed with error code 1 in /tmp/pip-install-yFemvv/pycairo/
----------------------------------------
Command "/usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-AsfkGy --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel pycairo" failed with error code 1 in None
+ sudo pip2 install --force-reinstall --upgrade pyxdg
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyxdg
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/e5/8d/cf41b66a8110670e3ad03dab9b759704eeed07fa96e90fdc0357b2ba70e2/pyxdg-0.28-py2.py3-none-any.whl
Installing collected packages: pyxdg
Found existing installation: pyxdg 0.28
Uninstalling pyxdg-0.28:
Successfully uninstalled pyxdg-0.28
Successfully installed pyxdg-0.28
+ sudo pip2 install --force-reinstall --upgrade SecretStorage
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting SecretStorage
Collecting cryptography (from SecretStorage)
Collecting six>=1.4.1 (from cryptography->SecretStorage)
Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Collecting enum34; python_version < "3" (from cryptography->SecretStorage)
Using cached https://files.pythonhosted.org/packages/6f/2c/a9386903ece2ea85e9807e0e062174dc26fdce8b05f216d00491be29fad5/enum34-1.1.10-py2-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography->SecretStorage)
Using cached https://files.pythonhosted.org/packages/c2/f8/49697181b1651d8347d24c095ce46c7346c37335ddc7d255833e7cde674d/ipaddress-1.0.23-py2.py3-none-any.whl
Collecting cffi>=1.12 (from cryptography->SecretStorage)
Collecting pycparser (from cffi>=1.12->cryptography->SecretStorage)
Using cached https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl
astroid 1.6.6 requires backports.functools-lru-cache; python_version < "3.4", which is not installed.
pylint 1.9.5 requires backports.functools-lru-cache; python_version == "2.7", which is not installed.
Installing collected packages: six, enum34, ipaddress, pycparser, cffi, cryptography, SecretStorage
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Found existing installation: enum34 1.1.10
Uninstalling enum34-1.1.10:
Successfully uninstalled enum34-1.1.10
Found existing installation: ipaddress 1.0.23
Uninstalling ipaddress-1.0.23:
Successfully uninstalled ipaddress-1.0.23
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Found existing installation: cffi 1.15.1
Uninstalling cffi-1.15.1:
Successfully uninstalled cffi-1.15.1
Found existing installation: cryptography 3.3.2
Uninstalling cryptography-3.3.2:
Successfully uninstalled cryptography-3.3.2
Found existing installation: SecretStorage 2.3.1
Uninstalling SecretStorage-2.3.1:
Successfully uninstalled SecretStorage-2.3.1
Successfully installed SecretStorage-2.3.1 cffi-1.15.1 cryptography-3.3.2 enum34-1.1.10 ipaddress-1.0.23 pycparser-2.21 six-1.16.0
+ sudo pip2 install --force-reinstall --upgrade zha-quirks
/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting zha-quirks
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Could not find a version that satisfies the requirement zha-quirks (from versions: )
No matching distribution found for zha-quirks
+ echo '*******************End of package installation******************'
*******************End of package installation******************