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:~ $
Por lo que nos muestras, tu sistema operativo está jodido, en mi opinión la partición está corrupta. Después, ¿no era también una experiencia lo de la llave USB? ^^ Franchement no estoy seguro de que esta opción funcione a medio/largo plazo… Para mí una llave USB es como una tarjeta SD, o peor, en cuanto a ciclo de vida/durabilidad. No creo que el fabricante la haya diseñado para ejecutar un sistema completo, está hecha para copiar archivos, punto.
Por curiosidad, ¿qué marca/modelo de llave USB era?
Dos opciones para ti, o te quedas con tu llave USB y vuelves a intentar una instalación (que puede fallar en el futuro, pero bueno si eres jugador :D), o pasas a un disco más duradero/rápido/estable, lo mejor siendo un SSD (17€ el SSD en Amazon en 2021, vale la pena).
En cualquier caso, al reinstalar Gladys, recuerda descargar la última imagen de Raspberry Pi OS Gladys en el sitio, es una imagen completamente nueva hecha por @VonOx, que no tiene nada que ver con la imagen anterior, es todo nuevo
Ya con las micro-SD, cuando tomas micro SD « de alto rendimiento » de buena marca, hay problemas a largo plazo, entonces una llave USB sin marca, claramente no está hecha para eso, no me extraña que tengas problemas.
Sinceramente, va a ser realmente aleatorio, incluso si funciona 2 semanas, corres el riesgo de sufrir una corrupción de datos en algún momento y tendrás que volver a configurarlo todo..
Te recomiendo encarecidamente que uses un soporte más estable
Bueno, soy atrevido. He vuelto a instalar con la nueva imagen en mi USB.
La integración zigbee2mqtt funciona y los sensores son detectados.
Voy a ver cuánto tiempo dura.