Probleme installation dépendances antenne déportée

Bonjour,

Je suis en train de passer du plugin BLEA au plugin TGW + MQTT Discovery
Pour l’antenne locale pas de soucis j’ai pu déjà remonter quelques équipements…

Par contre pour l’antenne distance ca pose pb… l’installation est NOK avec ces log là

0000|[2023-11-17 08:53:22] ************************************
001|[2023-11-17 08:53:22] *   Launch install of dependencies  
002|[2023-11-17 08:53:22] ************************************
0003|[2023-11-17 08:53:22] Reading package lists...
0004|[2023-11-17 08:53:24] Building dependency tree...
0005|[2023-11-17 08:53:24] Reading state information...
0006|[2023-11-17 08:53:27] curl is already the newest version (7.64.0-4).
0007|[2023-11-17 08:53:27] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0008|% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
0009|Dload  Upload   Total   Spent    Left  Speed
0010|0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     2  100     2    0     0      2      0  0:00:01 --:--:--  0:00:01     2
0011|[2023-11-17 08:53:29] Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
0012|[2023-11-17 08:53:29] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
0013|[2023-11-17 08:53:50] Reading package lists...
0014|E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldoldstable'
0015|E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldoldstable'
016|[2023-11-17 08:53:50] ****************************
0017|[2023-11-17 08:53:50] Install modules using apt-get
018|[2023-11-17 08:53:50] ****************************
0019|% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
0020|Dload  Upload   Total   Spent    Left  Speed
0021|0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     2  100     2    0     0      1      0  0:00:02  0:00:01  0:00:01     1
100     2  100     2    0     0      1      0  0:00:02  0:00:01  0:00:01     1
0022|[2023-11-17 08:53:52] Reading package lists...
0023|[2023-11-17 08:53:54] Building dependency tree...
0024|[2023-11-17 08:53:54] Reading state information...
0025|[2023-11-17 08:53:57] python3 is already the newest version (3.7.3-1).
0026|[2023-11-17 08:53:57] python3 set to manually installed.
0027|[2023-11-17 08:53:57] bluez is already the newest version (5.50-1+rpt1).
0028|[2023-11-17 08:53:57] bluez set to manually installed.
0029|[2023-11-17 08:53:57] The following additional packages will be installed:
0030|[2023-11-17 08:53:57] dh-python gir1.2-glib-2.0 libexpat1-dev libgirepository-1.0-1 libpython3-dev
0031|[2023-11-17 08:53:57] libpython3.7-dev python-pip-whl python3-asn1crypto python3-cffi-backend
0032|[2023-11-17 08:53:57] python3-crypto python3-cryptography python3-dbus python3-dev
0033|[2023-11-17 08:53:57] python3-distutils python3-entrypoints python3-gi python3-keyring
0034|[2023-11-17 08:53:57] python3-keyrings.alt python3-lib2to3 python3-secretstorage
0035|[2023-11-17 08:53:57] python3-setuptools python3-wheel python3-xdg python3.7-dev python3.7-venv
0036|[2023-11-17 08:53:57] Suggested packages:
0037|[2023-11-17 08:53:57] python-crypto-doc python-cryptography-doc python3-cryptography-vectors
0038|[2023-11-17 08:53:57] python-dbus-doc python3-dbus-dbg gnome-keyring libkf5wallet-bin
0039|[2023-11-17 08:53:57] gir1.2-gnomekeyring-1.0 python-secretstorage-doc python-setuptools-doc
0040|[2023-11-17 08:53:57] The following NEW packages will be installed:
0041|[2023-11-17 08:53:57] dh-python gir1.2-glib-2.0 libexpat1-dev libgirepository-1.0-1 libpython3-dev
0042|[2023-11-17 08:53:57] libpython3.7-dev python-pip-whl python3-asn1crypto python3-cffi-backend
0043|[2023-11-17 08:53:57] python3-crypto python3-cryptography python3-dbus python3-dev
0044|[2023-11-17 08:53:57] python3-distutils python3-entrypoints python3-gi python3-keyring
0045|[2023-11-17 08:53:57] python3-keyrings.alt python3-lib2to3 python3-pip python3-secretstorage
0046|[2023-11-17 08:53:57] python3-setuptools python3-venv python3-wheel python3-xdg python3.7-dev
0047|[2023-11-17 08:53:57] python3.7-venv
0048|[2023-11-17 08:53:58] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
0049|[2023-11-17 08:53:58] Need to get 51.4 MB of archives.
0050|[2023-11-17 08:53:58] After this operation, 84.3 MB of additional disk space will be used.
0051|[2023-11-17 08:53:58] Get:1 http://archive.raspberrypi.org/debian buster/main armhf python-pip-whl all 18.1-5+rpt1 [1,591 kB]
0052|[2023-11-17 08:53:58] Get:2 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-lib2to3 all 3.7.3-1 [76.7 kB]
0053|[2023-11-17 08:53:59] Get:3 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-distutils all 3.7.3-1 [142 kB]
0054|[2023-11-17 08:54:00] Get:4 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf dh-python all 3.20190308 [99.3 kB]
0055|[2023-11-17 08:54:01] Get:5 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf libgirepository-1.0-1 armhf 1.58.3-2 [78.8 kB]
0056|[2023-11-17 08:54:01] Err:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf libexpat1-dev armhf 2.2.6-2+deb10u1
0057|[2023-11-17 08:54:01] 404  Not Found [IP: 93.93.128.193 80]
0058|[2023-11-17 08:54:02] Get:6 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf gir1.2-glib-2.0 armhf 1.58.3-2 [143 kB]
0059|[2023-11-17 08:54:02] Err:8 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython3.7-dev armhf 3.7.3-2
0060|[2023-11-17 08:54:02] 404  Not Found [IP: 93.93.128.193 80]
0061|[2023-11-17 08:54:03] Get:9 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf libpython3-dev armhf 3.7.3-1 [20.1 kB]
0062|[2023-11-17 08:54:04] Get:10 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-asn1crypto all 0.24.0-1 [78.2 kB]
0063|[2023-11-17 08:54:04] Get:11 http://archive.raspberrypi.org/debian buster/main armhf python3-pip all 18.1-5+rpt1 [171 kB]
0064|[2023-11-17 08:54:04] Get:12 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-cffi-backend armhf 1.12.2-1 [70.1 kB]
0065|[2023-11-17 08:54:05] Get:13 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-crypto armhf 2.6.1-9+b1 [251 kB]
0066|[2023-11-17 08:54:05] Err:14 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3-cryptography armhf 2.6.1-3
0067|[2023-11-17 08:54:05] 404  Not Found [IP: 93.93.128.193 80]
0068|[2023-11-17 08:54:06] Get:15 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-dbus armhf 1.2.8-3 [95.9 kB]
0069|[2023-11-17 08:54:06] Err:16 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3.7-dev armhf 3.7.3-2
0070|[2023-11-17 08:54:06] 404  Not Found [IP: 93.93.128.193 80]
0071|[2023-11-17 08:54:06] Get:17 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3-dev armhf 3.7.3-1 [1,264 B]
0072|[2023-11-17 08:54:06] Get:18 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-entrypoints all 0.3-1 [5,508 B]
0073|[2023-11-17 08:54:06] Get:19 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-gi armhf 3.30.4-1 [161 kB]
0074|[2023-11-17 08:54:07] Get:20 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-secretstorage all 2.3.1-2 [14.2 kB]
0075|[2023-11-17 08:54:07] Get:21 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-keyring all 17.1.1-1 [43.1 kB]
0076|[2023-11-17 08:54:07] Get:22 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-keyrings.alt all 3.1.1-1 [18.2 kB]
0077|[2023-11-17 08:54:08] Get:23 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-setuptools all 40.8.0-1 [306 kB]
0078|[2023-11-17 08:54:08] Err:24 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3.7-venv armhf 3.7.3-2
0079|[2023-11-17 08:54:08] 404  Not Found [IP: 93.93.128.193 80]
0080|[2023-11-17 08:54:08] Get:25 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3-venv armhf 3.7.3-1 [1,180 B]
0081|[2023-11-17 08:54:09] Get:26 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-wheel all 0.32.3-2 [19.4 kB]
0082|[2023-11-17 08:54:09] Get:27 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-xdg all 0.25-5 [35.9 kB]
0083|E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/e/expat/libexpat1-dev_2.2.6-2+deb10u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
0084|E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/libpython3.7-dev_3.7.3-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
0085|E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python-cryptography/python3-cryptography_2.6.1-3_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
0086|E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7-dev_3.7.3-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
0087|E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7-venv_3.7.3-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
0088|E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
0089|[2023-11-17 08:54:09] Fetched 3,422 kB in 11s (301 kB/s)
0090|[2023-11-17 08:54:09] Version debian:10
0091|[2023-11-17 08:54:09] Install pipx via pip
0092|/usr/bin/python3: No module named pip
0093|install_apt.sh: line 43: pipx: command not found
094|[2023-11-17 08:54:10] ************************************
0095|[2023-11-17 08:54:10] Install the required python libraries
096|[2023-11-17 08:54:10] ************************************
0097|% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
0098|Dload  Upload   Total   Spent    Left  Speed
0099|0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     2  100     2    0     0      2      0  0:00:01 --:--:--  0:00:01     2
100     2  100     2    0     0      2      0  0:00:01 --:--:--  0:00:01     2
0100|install_apt.sh: line 49: pipx: command not found
101|[2023-11-17 08:54:11] **************************
102|[2023-11-17 08:54:11] *      Install ended      
103|[2023-11-17 08:54:11] **************************
0104|% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
0105|Dload  Upload   Total   Spent    Left  Speed
0106|0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0"

Le pi distant est en debian 10 tout comme le principal…
Une idée siouplai?? :slight_smile:

Ben semblerait que t’aie un souci dans les dépots qi permettent de faire mise à ours et installation de paquets vu le nombre de 404 NotFound IP qu’il y a dans le log

en fait c’est peut être un problème de droits sudo car via putty si je fais une demande qui nécessite les droits ça me rejette alors que si je mets « sudo » avant a passe… :confused:
J’ai pourtant bien suivi dans la doc… :frowning:

Important

L’utilisateur configuré doit être dans le groupe sudoers et avoir le droit de faire un sudo sans confirmer son mot de passe.

Tu as vérifié ça ??

1 « J'aime »

faut que je cherche… mais si je fais une demande sans « sudo » avant il demande meme pas lee mot de passe, il bloque… par contre avec sudo avant ca marche

*jeedom@AntenneTGW:~ $ apt update*
*Reading package lists... Done*
*E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denie        d)*
*E: Unable to lock directory /var/lib/apt/lists/*
*W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Pe        rmission denied)*
*W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13:         Permission denied)*

Alors apparemment il se pourrait que c’était un soucis de droits… j’ai modifié des paramètres dans visudo et la l’installation n’a pas les mêmes logs… par contre ça semble trèèèèèès long :slight_smile:

Je te retiens au courant :wink:

Ben oui c’est même écrit dans la doc

image

Donc tu n’as pas suivi la doc à la lettre
https://mips2648.github.io/jeedom-plugins-docs/tgw/fr_FR/?theme=dark#tocAnchor-1-8

1 « J'aime »

Bonjour,
L’erreur à résoudre en premier est celle la:

Elle est due aux sorties de Debian 11, puis 12 qui ont fait que votre Debian 10 est passée de stable à oldstable puis oldoldstable.

Il y a une solution pour cela ICI

1 « J'aime »

effectivement, il planté en me retournant une erreur… j’essaye votre lien

Donc ca veut dire que ce debian 10 n’est plus jamais mis à jour car sinon ça aurait déjà du être fait la maj des repos !!

oui j’avoue que ce pi est un peu oublié… et si je le mets avec une nouvelle install en debian 12 ca marchera avec mon RPI4 jeedom qui lui est en 10?

Ca n’a rien à voir !

C’est TGW qui doit être compatible debian 12

d’accord, désolé je suis assez « léger » dans le sujet… merci en tout cas pour toutes cs infos

Et oui tgw est compatible debian12 (je n’ai pas testé avec un pi mais une vm mais il n’y a pas de raison)
Et le plugin avec jeedom sur un debian10 sera compatible avec une antenne en debian12 (pas de problème de connexion ssh, c’est géré)

1 « J'aime »

Sur la Smart, même si la maj des repos a été faite pour pouvoir installer de nouveaux paquets, les MAJs des paquets existants ne sont pas faites:

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.