Ich hatte gestern bemerkt, dass die Gpio's am Loxberry nicht funktionierten,
Das Problem wurde schnell erkannt:
ModuleNotFoundError: No module named 'RPi'
apt-get install python3-dev python3-rpi.gpio
dpkg: error processing package libnss-systemd:armhf (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: systemd libpam-systemd:armhf libnss-systemd:armhf E: Sub-process /usr/bin/dpkg returned an error code (1)
Deswegen versuchte ich die Pakte zu aktualisieren und bin auf weiter Fehler gestossen:
root@loxberry:/opt/loxberry/webfrontend/legacy# apt update Hit:1 http://ftp.de.debian.org/debian testing InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 https://dl.yarnpkg.com/debian stable InRelease Hit:4 https://deb.nodesource.com/node_12.x buster InRelease Get:5 https://download.docker.com/linux/raspbian buster InRelease [33.6 kB] Err:6 http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian buster InRelease Could not connect to ftp.agdsn.de:80 (141.30.235.39), connection timed out Fetched 33.6 kB in 30s (1,111 B/s) Update rpimonitor Packages Status Reading package lists... Done Building dependency tree Reading state information... Done 773 packages can be upgraded. Run 'apt list --upgradable' to see them. W: Failed to fetch http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian/dists/buster/InRelease Could not connect to ftp.agdsn.de:80 (141.30.235.39), connection timed out W: Some index files failed to download. They have been ignored, or old ones used instead.
apt upgrade -y 762 upgraded, 71 newly installed, 0 to remove and 11 not upgraded. 3 not fully installed or removed. Need to get 0 B/414 MB of archives. After this operation, 22.9 MB disk space will be freed. Extracting templates from packages: 100% Preconfiguring packages ... Setting up systemd (249.7-1) ... Detected unsafe path transition /var/log (owned by daemon) → /var/log/journal (owned by root) during canonicalization of /var/log/journal. Detected unsafe path transition /var/log (owned by daemon) → /var/log/journal (owned by root) during canonicalization of /var/log/journal. Detected unsafe path transition /var/log (owned by daemon) → /var/log/journal (owned by root) during canonicalization of /var/log/journal. dpkg: error processing package systemd (--configure): installed systemd package post-installation script subprocess returned error exit status 73 Errors were encountered while processing: systemd E: Sub-process /usr/bin/dpkg returned an error code (1)
Ich konnte das an meinen zweiten Loxberry auch feststellen.
Beide sind auf Version 2.2.1.2, die Installationen sind unterschiedlich alt.
Ist das ein allgemeines Problem?
Grüsse
Kommentar