Bonjour à tous, j’ai tenté de trouver une réponse sur le forum sans succès.
Je n’y connais pas grand chose en lignes de commande et je pensais surtout que la jeedom smart mettait à jour les différents logiciels toute seule, bref.
Je suis en Jeedom 4.3.17 sur Jeedom smart et je n’arrive pas à installer les dépendances BLEA.
0000|********************************************************
0001|* Installation des dépendances *
0002|********************************************************
0003|Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
0004|Get:2 http://www.deb-multimedia.org buster InRelease [18.1 kB]
0005|Get:4 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
0006|Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
0007|Hit:6 https://oph.mdrjr.net/meveric all InRelease
0008|Hit:7 https://oph.mdrjr.net/meveric buster InRelease
0009|Err:3 https://repo.jeedom.com/odroid stable InRelease
0010|502 Bad Gateway [IP: 57.128.120.126 443]
0011|Reading package lists...
0012|E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
0013|E: Repository 'http://www.deb-multimedia.org buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
0014|E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
0015|E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'oldstable-updates' to 'oldoldstable-updates'
0016|Reading package lists...
0017|Building dependency tree...
0018|Reading state information...
0019|libatlas-base-dev is already the newest version (3.10.3-8).
0020|build-essential is already the newest version (12.6).
0021|libffi-dev is already the newest version (3.2.1-9).
0022|libopenjp2-7 is already the newest version (2.3.0-2+deb10u2).
0023|libssl-dev is already the newest version (1.1.1n-0+deb10u3).
0024|python3-serial is already the newest version (3.4-4).
0025|python3-setuptools is already the newest version (40.8.0-1).
0026|python3-dev is already the newest version (3.7.3-1).
0027|python3-pyudev is already the newest version (0.21.0-1).
0028|python3-requests is already the newest version (2.21.0-1).
0029|libtiff5 is already the newest version (4.1.0+git191117-2~deb10u4).
0030|rfkill is already the newest version (2.33.1-0.1).
0031|bluetooth is already the newest version (5.50-1.2~deb10u3).
0032|libbluetooth-dev is already the newest version (5.50-1.2~deb10u3).
0033|0 upgraded, 0 newly installed, 0 to remove and 236 not upgraded.
0034|Reading package lists...
0035|Building dependency tree...
0036|Reading state information...
0037|debconf: unable to initialize frontend: Dialog
0038|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0039|debconf: falling back to frontend: Readline
0040|debconf: unable to initialize frontend: Readline
0041|debconf: (This frontend requires a controlling tty.)
0042|debconf: falling back to frontend: Teletype
0043|dpkg-preconfigure: unable to re-open stdin:
0044|0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 236 not upgraded.
0045|Need to get 0 B/1191 kB of archives.
0046|After this operation, 0 B of additional disk space will be used.
0047|(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 ... 78086 files and directories currently installed.)
0048|Preparing to unpack .../python3_3.7.3-1_arm64.deb ...
0049|running python pre-rtupdate hooks for python3.7...
0050|Unpacking python3 (3.7.3-1) over (3.7.3-1) ...
0051|Preparing to unpack .../bluez_5.50-1.2~deb10u3_arm64.deb ...
0052|Unpacking bluez (5.50-1.2~deb10u3) over (5.50-1.2~deb10u3) ...
0053|Preparing to unpack .../python3-pip_18.1-5_all.deb ...
0054|Unpacking python3-pip (18.1-5) over (18.1-5) ...
0055|Setting up python3 (3.7.3-1) ...
0056|running python rtupdate hooks for python3.7...
0057|running python post-rtupdate hooks for python3.7...
0058|Setting up bluez (5.50-1.2~deb10u3) ...
0059|Setting up python3-pip (18.1-5) ...
0060|Processing triggers for dbus (1.12.16-1) ...
0061|Processing triggers for systemd (241-7~deb10u4) ...
0062|Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (58.0.0)
0063|Collecting setuptools
0064|Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl.metadata
0065|Downloading setuptools-68.0.0-py3-none-any.whl.metadata (6.4 kB)
0066|Using cached setuptools-68.0.0-py3-none-any.whl (804 kB)
0067|Installing collected packages: setuptools
0068|Attempting uninstall: setuptools
0069|Found existing installation: setuptools 58.0.0
0070|Uninstalling setuptools-58.0.0:
0071|Successfully uninstalled setuptools-58.0.0
0072|Successfully installed setuptools-68.0.0
0073|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
0074|Reading package lists...
0075|Building dependency tree...
0076|Reading state information...
0077|The following additional packages will be installed:
0078|libblkid-dev libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev-bin
0079|libmount-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5
0080|libselinux1-dev libsepol1-dev pkg-config uuid-dev
0081|Suggested packages:
0082|git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
0083|gitweb git-cvs git-mediawiki git-svn libglib2.0-doc libgdk-pixbuf2.0-bin
0084|| libgdk-pixbuf2.0-dev libxml2-utils
0085|Recommended packages:
0086|less xdg-user-dirs
0087|The following NEW packages will be installed:
0088|libblkid-dev libglib2.0-bin libglib2.0-data libglib2.0-dev
0089|libglib2.0-dev-bin libmount-dev libpcre16-3 libpcre3-dev libpcre32-3
0090|libpcrecpp0v5 libselinux1-dev libsepol1-dev pkg-config uuid-dev
0091|The following packages will be upgraded:
0092|git libglib2.0-0
0093|2 upgraded, 14 newly installed, 0 to remove and 234 not upgraded.
0094|Need to get 5509 kB/11.9 MB of archives.
0095|After this operation, 27.8 MB of additional disk space will be used.
0096|Err:1 http://security.debian.org/debian-security buster/updates/main arm64 git arm64 1:2.20.1-2+deb10u4
0097|404 Not Found [IP: 199.232.170.132 80]
0098|E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/g/git/git_2.20.1-2+deb10u4_arm64.deb 404 Not Found [IP: 199.232.170.132 80]
0099|E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
0100|Requirement already satisfied: pyudev in /usr/local/lib/python3.7/dist-packages (0.24.0)
0101|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
0102|Requirement already satisfied: pyserial in /usr/local/lib/python3.7/dist-packages (3.5)
0103|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
0104|Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (2.28.1)
0105|Requirement already satisfied: charset-normalizer<3,>=2 in /usr/local/lib/python3.7/dist-packages (from requests) (2.1.1)
0106|Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests) (3.4)
0107|Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests) (1.26.12)
0108|Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests) (2022.9.24)
0109|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
0110|Collecting pybluez
0111|Using cached PyBluez-0.23.tar.gz (97 kB)
0112|Preparing metadata (setup.py): started
0113|Preparing metadata (setup.py): finished with status 'error'
0114|error: subprocess-exited-with-error
0115|× python setup.py egg_info did not run successfully.
0116|│ exit code: 1
0117|╰─> [1 lines of output]
0118|error in PyBluez setup command: use_2to3 is invalid.
0119|[end of output]
0120|note: This error originates from a subprocess, and is likely not a problem with pip.
0121|error: metadata-generation-failed
0122|× Encountered error while generating package metadata.
0123|╰─> See above for output.
0124|note: This is an issue with the package mentioned above, not pip.
0125|hint: See above for details.
0126|Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (9.5.0)
0127|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
0128|Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (1.21.6)
0129|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
0130|Collecting bluepy
0131|Using cached bluepy-1.3.0.tar.gz (217 kB)
0132|Preparing metadata (setup.py): started
0133|Preparing metadata (setup.py): finished with status 'done'
0134|Building wheels for collected packages: bluepy
0135|Building wheel for bluepy (setup.py): started
0136|Building wheel for bluepy (setup.py): finished with status 'error'
0137|error: subprocess-exited-with-error
0138|× python setup.py bdist_wheel did not run successfully.
0139|│ exit code: 1
0140|╰─> [26 lines of output]
0141|/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
0142|!!
0143|********************************************************************************
0144|Usage of dash-separated 'description-file' will not be supported in future
0145|versions. Please use the underscore name 'description_file' instead.
0146|By 2023-Sep-26, you need to update your project and remove deprecated calls
0147|or your builds will no longer be supported.
0148|See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
0149|********************************************************************************
0150|!!
0151|opt = self.warn_dash_deprecation(opt, section)
0152|running bdist_wheel
0153|running build
0154|running build_py
0155|Working dir is /tmp/pip-install-k88xmg65/bluepy_45fa3d5b410149e8a600f914228ede9c
0156|execute make -C ./bluepy clean
0157|execute make -C bluepy -j1
0158|Failed to compile bluepy-helper. Exiting install.
0159|Command was 'make -C bluepy -j1' in /tmp/pip-install-k88xmg65/bluepy_45fa3d5b410149e8a600f914228ede9c
0160|Return code was 2
0161|Output was:
0162|b"make: Entering directory '/tmp/pip-install-k88xmg65/bluepy_45fa3d5b410149e8a600f914228ede9c/bluepy'
0163|tar xzf bluez-src.tgz
0164|touch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c
0165|make: pkg-config: Command not found
0166|make: pkg-config: Command not found
0167|cc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c
0168|bluepy-helper.c:33:10: fatal error: glib.h: No such file or directory
0169|#include
0170|^~~~~~~~
0171|compilation terminated.
0172|./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory
0173|#include
0174|^~~~~~~~
0175|compilation terminated.
0176|./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory
0177|#include
0178|^~~~~~~~
0179|compilation terminated.
0180|./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory
0181|#include
0182|^~~~~~~~
0183|compilation terminated.
0184|./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory
0185|#include
0186|^~~~~~~~
0187|compilation terminated.
0188|./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory
0189|#include
0190|^~~~~~~~
0191|compilation terminated.
0192|./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory
0193|#include
0194|^~~~~~~~
0195|compilation terminated.
0196|./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory
0197|#include
0198|^~~~~~~~
0199|compilation terminated.
0200|./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory
0201|#include
0202|^~~~~~~~
0203|compilation terminated.
0204|make: *** [Makefile:30: bluepy-helper] Error 1
0205|make: Leaving directory '/tmp/pip-install-k88xmg65/bluepy_45fa3d5b410149e8a600f914228ede9c/bluepy'
0206|"
0207|[end of output]
0208|note: This error originates from a subprocess, and is likely not a problem with pip.
0209|ERROR: Failed building wheel for bluepy
0210|Running setup.py clean for bluepy
0211|Failed to build bluepy
0212|ERROR: Could not build wheels for bluepy, which is required to install pyproject.toml-based projects
0213|Cloning into 'bluepy'...
0214|running build
0215|running build_py
0216|creating build
0217|creating build/lib
0218|creating build/lib/bluepy
0219|copying bluepy/scan_fuzz.py -> build/lib/bluepy
0220|copying bluepy/sensortag.py -> build/lib/bluepy
0221|copying bluepy/get_services.py -> build/lib/bluepy
0222|copying bluepy/thingy52.py -> build/lib/bluepy
0223|copying bluepy/scanner.py -> build/lib/bluepy
0224|copying bluepy/blescan.py -> build/lib/bluepy
0225|copying bluepy/__init__.py -> build/lib/bluepy
0226|copying bluepy/btle.py -> build/lib/bluepy
0227|copying bluepy/uuids.json -> build/lib/bluepy
0228|copying bluepy/bluez-src.tgz -> build/lib/bluepy
0229|copying bluepy/bluepy-helper.c -> build/lib/bluepy
0230|copying bluepy/Makefile -> build/lib/bluepy
0231|/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
0232|!!
0233|********************************************************************************
0234|Usage of dash-separated 'description-file' will not be supported in future
0235|versions. Please use the underscore name 'description_file' instead.
0236|By 2023-Sep-26, you need to update your project and remove deprecated calls
0237|or your builds will no longer be supported.
0238|See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
0239|********************************************************************************
0240|!!
0241|opt = self.warn_dash_deprecation(opt, section)
0242|running install
0243|/usr/local/lib/python3.7/dist-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
0244|!!
0245|********************************************************************************
0246|Usage of dash-separated 'description-file' will not be supported in future
0247|versions. Please use the underscore name 'description_file' instead.
0248|By 2023-Sep-26, you need to update your project and remove deprecated calls
0249|or your builds will no longer be supported.
0250|See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
0251|********************************************************************************
0252|!!
0253|opt = self.warn_dash_deprecation(opt, section)
0254|/usr/local/lib/python3.7/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
0255|!!
0256|********************************************************************************
0257|Please avoid running ``setup.py`` directly.
0258|Instead, use pypa/build, pypa/installer or other
0259|standards-based tools.
0260|See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
0261|********************************************************************************
0262|!!
0263|self.initialize_options()
0264|Working dir is /tmp/bluepy
0265|execute make -C ./bluepy clean
0266|execute make -C bluepy -j1
0267|Failed to compile bluepy-helper. Exiting install.
0268|Command was 'make -C bluepy -j1' in /tmp/bluepy
0269|Return code was 2
0270|Output was:
0271|b"make: Entering directory '/tmp/bluepy/bluepy'
0272|tar xzf bluez-src.tgz
0273|touch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c
0274|make: pkg-config: Command not found
0275|make: pkg-config: Command not found
0276|cc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c
0277|bluepy-helper.c:33:10: fatal error: glib.h: No such file or directory
0278|#include
0279|^~~~~~~~
0280|compilation terminated.
0281|./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory
0282|#include
0283|^~~~~~~~
0284|compilation terminated.
0285|./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory
0286|#include
0287|^~~~~~~~
0288|compilation terminated.
0289|./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory
0290|#include
0291|^~~~~~~~
0292|compilation terminated.
0293|./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory
0294|#include
0295|^~~~~~~~
0296|compilation terminated.
0297|./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory
0298|#include
0299|^~~~~~~~
0300|compilation terminated.
0301|./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory
0302|#include
0303|^~~~~~~~
0304|compilation terminated.
0305|./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory
0306|#include
0307|^~~~~~~~
0308|compilation terminated.
0309|./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory
0310|#include
0311|^~~~~~~~
0312|compilation terminated.
0313|make: *** [Makefile:30: bluepy-helper] Error 1
0314|make: Leaving directory '/tmp/bluepy/bluepy'
0315|"
0316|Requirement already satisfied: cryptography in /usr/local/lib/python3.7/dist-packages (41.0.2)
0317|Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.7/dist-packages (from cryptography) (1.15.1)
0318|Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.12->cryptography) (2.21)
0319|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
0320|Requirement already satisfied: pycrypto in /usr/local/lib/python3.7/dist-packages (2.6.1)
0321|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
0322|********************************************************
0323|* Installation terminée *
0324|********************************************************
J’ai bien tenté quelques lignes de commande en suivant les autres messages sur ce sujet, mais complètement à l’aveugle, je ne suis pas certain que cela ai arrangé mon problème.
Merci par avance pour votre aide.