pi@gladys:~ $ sudo apt update && sudo apt upgrade -y
0% [Working]
Ign:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
0% [Connecting to download.docker.com] [Waiting for headers]
Ign:2 http://archive.raspberrypi.org/debian buster InRelease
0% [Connecting to raspbian.raspberrypi.org (93.93.128.193)] [Connecting to down
Err:3 http://archive.raspberrypi.org/debian buster Release
Could not open file /var/lib/apt/lists/partial/archive.raspberrypi.org_debian_dists_buster_Release - open (30: Read-only file system) [IP: 2a00:1098:84:1e0::3 80]
0% [Waiting for headers] [Connected to download.docker.com (2600:9000:21d7:d000
Err:4 http://raspbian.raspberrypi.org/raspbian buster Release
Could not open file /var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_buster_Release - open (30: Read-only file system) [IP: 93.93.128.193 80]
0% [Connected to download.docker.com (2600:9000:21d7:d000:3:db06:4200:93a1)]
Hit:5 https://download.docker.com/linux/raspbian buster InRelease
0% [Working]
Err:5 https://download.docker.com/linux/raspbian buster InRelease
Couldn't create temporary file /tmp/apt.conf.cIETDd for passing config to apt-key
0% [Working]
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
W: chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Read-only file system)
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Read-only file system)
W: chown to _apt:root of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (30: Read-only file system)
W: chmod 0700 of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (30: Read-only file system)
W: Not using locking for read only lock file /var/lib/apt/lists/lock
W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.nxvcTc - IsAccessibleBySandboxUser (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.46tpDu - IsAccessibleBySandboxUser (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.vKGanM - IsAccessibleBySandboxUser (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_buster_InRelease - PrepareFiles (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/archive.raspberrypi.org_debian_dists_buster_InRelease - PrepareFiles (30: Read-only file system)
W: Problem unlinking the file /var/lib/apt/lists/partial/archive.raspberrypi.org_debian_dists_buster_Release - PrepareFiles (30: Read-only file system)
E: The repository 'http://archive.raspberrypi.org/debian buster Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Problem unlinking the file /var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_buster_Release - PrepareFiles (30: Read-only file system)
E: The repository 'http://raspbian.raspberrypi.org/raspbian buster Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Problem unlinking the file /var/lib/apt/lists/partial/download.docker.com_linux_raspbian_dists_buster_InRelease - PrepareFiles (30: Read-only file system)
W: chown to _apt:root of file /var/lib/apt/lists/download.docker.com_linux_raspbian_dists_buster_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chmod 0600 of file /var/lib/apt/lists/download.docker.com_linux_raspbian_dists_buster_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chown to root:root of file /var/lib/apt/lists/download.docker.com_linux_raspbian_dists_buster_InRelease failed - 400::URIFailure (30: Read-only file system)
W: chmod 0644 of file /var/lib/apt/lists/download.docker.com_linux_raspbian_dists_buster_InRelease failed - 400::URIFailure (30: Read-only file system)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://download.docker.com/linux/raspbian buster InRelease: Couldn't create temporary file /tmp/apt.conf.cIETDd for passing config to apt-key
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (30: Read-only file system)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (30: Read-only file system)
pi@gladys:~ $
De ce que tu nous montre, ton OS est flingué, à mon avis la partition est corrompu. Après, est-ce que c’était pas une expérience aussi cette histoire de clé USB ? ^^ Franchement je suis pas certain que ça marche sur le moyen/long terme cette option… Pour moi une clé USB c’est comme une carte SD, voir pire, niveau cycle de vie/longevité. Je pense pas que le constructeur l’ait conçu pour faire tourner un système entier dessus, c’est fait pour copier des fichiers dessus point barre
Par curiosité c’était quoi comme marque/modèle de clé USB ?
Deux options pour toi du coup, soit tu reste sur ta clé USB et tu retente une installation (qui peut refoirer à l’avenir, mais bon si tu es joueur ), soit tu passes à un disque plus durable/rapide/stable, le mieux étant un SSD (17€ le SSD sur Amazon en 2021, ça vaut le coup).
Dans tous les cas, en réinstallant Gladys, pense à télécharger la dernière image Raspberry Pi OS Gladys sur le site, c’est une toute nouvelle image faite par @VonOx, qui n’a rien à voir avec la précédente image, c’est tout nouveau
Déjà les micro-SD quand tu prend des micro SD « haute performance » de bonne marque, il y a des problèmes sur le long terme, alors une clé USB no-name sans marque c’est clairement pas fait pour ça, ça m’étonne pas que tu ai des problèmes.
Honnêtement ça risque d’être vraiment aléatoire, même si ça marche 2 semaines tu risque de te prendre une corruption de donnée à un moment et tu devras tout reconfigurer…
Je te conseille vivement de partir sur un support plus stable
Bon, je suis téméraire. J’ai refais l’installation avec la nouvelle image sur ma clef Usb.
L’intégration zigbee2mqtt fonctionne et les capteurs sont détectés.
Je vais voir combien de temps cela dure.