NEWS
Fehler bei ..............&& sudo apt upgrade [gelöst]
-
Schönen guten Morgen,
mein Testpi hat gestern einen Fehler bei:
sudo apt update && sudo apt full-upgrade
ausgegeben.
testpi@Testpi:~ $ sudo apt update && sudo apt full-upgrade Hit:1 http://deb.debian.org/debian bookworm InRelease Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB] Get:3 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB] Hit:4 https://repos.influxdata.com/debian stable InRelease Get:5 https://apt.grafana.com stable InRelease [5,983 B] Get:6 http://archive.raspberrypi.org/debian bookworm InRelease [23.6 kB] Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease Get:8 http://security.debian.org/debian-security bookworm-security/main Sources [79.6 kB] Get:9 http://security.debian.org/debian-security bookworm-security/main armhf Packages [132 kB] Get:10 http://security.debian.org/debian-security bookworm-security/main arm64 Packages [134 kB] Get:11 https://apt.grafana.com stable/main arm64 Packages [157 kB] Get:12 https://apt.grafana.com stable/main armhf Packages [123 kB] Get:13 http://archive.raspberrypi.org/debian bookworm/main armhf Packages [362 kB] Get:14 http://archive.raspberrypi.org/debian bookworm/main arm64 Packages [353 kB] Fetched 1,470 kB in 2s (752 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up raspi-firmware (1:1.20231024+ds-1+rpt5) ... stat: cannot read file system information for '/boot/firmware': No such file or directory Error: missing /boot/firmware, did you forget to mount it? dpkg: error processing package raspi-firmware (--configure): installed raspi-firmware package post-installation script subprocess returned error exit status 1 Processing triggers for initramfs-tools (0.142) ... Errors were encountered while processing: raspi-firmware E: Sub-process /usr/bin/dpkg returned an error code (1) testpi@Testpi:~ $
Ich muss bestimmt nicht erwähnen das ich wieder mal auf dem Schlauch stehe, ist zum Glück nur der Testpi
Bekommt man den Fehler wieder los ohne Neuinstallation?VG Duffy
-
Kann es sein, dass du das System nicht neuaufgesetzt hast sondern von Debian 11 'Bullseye' kommend ein Dist-Upgrade gemacht hast?
-
Puhh, ich glaube nicht. Ich glaube es neu installiert zu haben. Ich nehme den Testpi nur sehr wenig und kann es nicht zu 100% sagen.
Ich meine aber auch zum testen direkt Bookworm installiert zu haben.
Wenn sich das nicht lösen lässt würde ich es halt noch mal neu installieren.VG Duffy
-
-
Sehr gerne.
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: Testpi Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : aarch64 Userland : arm64 Systemuptime and Load: 11:12:38 up 1 day, 11 min, 2 users, load average: 0.21, 0.15, 0.14 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Fri 2024-02-09 11:12:38 CET Universal time: Fri 2024-02-09 10:12:38 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** testpi /home/testpi testpi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 4.0G 1.2G 773M 1.2M 2.1G 2.7G Swap: 104M 0B 104M Total: 4.1G 1.2G 878M 3793 M total memory 1172 M used memory 1445 M active memory 1422 M inactive memory 737 M free memory 111 M buffer memory 1848 M swap cache 99 M total swap 0 M used swap 99 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 30G 7.2G 21G 26% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 759M 1.2M 758M 1% /run tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/sda1 vfat 255M 31M 225M 13% /boot tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Thu Feb 8 11:01:16 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=E4:5F:01:B3:1A:9B vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=f4ef48f9-02 rootfstype=ext4 fsck.repair=yes rootwait [Thu Feb 8 11:01:19 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Thu Feb 8 11:01:19 2024] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Thu Feb 8 11:01:21 2024] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 1.9G /var/ 1006M /var/cache 1000M /var/cache/apt 887M /var/cache/apt/archives 529M /var/log Archived and active journals take up 524.1M in the file system. /opt/iobroker/backups: 501M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 658M /opt/iobroker/iobroker-data/ 554M /opt/iobroker/iobroker-data/files 138M /opt/iobroker/iobroker-data/files/vis-2 89M /opt/iobroker/iobroker-data/files/echarts.admin 78M /opt/iobroker/iobroker-data/files/vis-2/static The five largest files in iobroker-data are: 33M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map 28M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.js.map 24M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.2b7495c2.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.245b61c0.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 nodejs: Installed: 18.19.0-1nodesource1 Candidate: 18.19.0-1nodesource1 Version table: 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org/debian-security bookworm-security/main arm64 Packages *** 18.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.17 admin: 6.13.16 javascript: 7.1.6 Adapters from github: 0 Adapter State + system.adapter.admin.0 : admin : Testpi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : Testpi - enabled system.adapter.device-reminder.0 : device-reminder : Testpi - disabled + system.adapter.discovery.0 : discovery : Testpi - enabled + system.adapter.influxdb.0 : influxdb : Testpi - enabled, port: 8086 + system.adapter.influxdb.1 : influxdb : Testpi - enabled, port: 8086 system.adapter.iot.0 : iot : Testpi - disabled system.adapter.javascript.0 : javascript : Testpi - disabled + system.adapter.rpi2.0 : rpi2 : Testpi - enabled system.adapter.sonoff.0 : sonoff : Testpi - disabled, port: 1883, bind: 0.0.0.0 system.adapter.vis-2.0 : vis-2 : Testpi - disabled system.adapter.vis.0 : vis : Testpi - disabled system.adapter.web.0 : web : Testpi - disabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : Testpi - disabled, port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : Testpi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.influxdb.0 : influxdb : Testpi - enabled, port: 8086 + system.adapter.influxdb.1 : influxdb : Testpi - enabled, port: 8086 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.13.16 , installed 6.13.16 Adapter "backitup" : 2.9.8 , installed 2.9.8 Adapter "device-reminder": 3.1.2 , installed 3.1.2 Adapter "discovery" : 4.2.0 , installed 4.2.0 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "iot" : 2.0.11 , installed 2.0.11 Adapter "javascript" : 7.1.6 , installed 7.1.6 Controller "js-controller": 5.0.17 , installed 5.0.17 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "sonoff" : 3.0.3 , installed 3.0.3 Adapter "vis" : 1.5.4 , installed 1.5.4 Adapter "vis-2" : 2.9.11 , installed 2.9.11 Adapter "web" : 6.2.3 , installed 6.2.3 Adapter "ws" : 2.5.10 , installed 2.5.10 Adapter "zigbee" : 1.10.1 , installed 1.10.1 Objects and States Please stand by - This may take a while Objects: 729 States: 435 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian bookworm-updates InRelease Hit:3 http://security.debian.org/debian-security bookworm-security InRelease Hit:4 http://archive.raspberrypi.org/debian bookworm InRelease Hit:5 https://repos.influxdata.com/debian stable InRelease Hit:6 https://apt.grafana.com stable InRelease Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 12229 629/sshd: /usr/sbin tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 50512 1828/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 49760 1828/iobroker.js-co tcp6 0 0 :::22 :::* LISTEN 0 12231 629/sshd: /usr/sbin tcp6 0 0 :::3000 :::* LISTEN 110 15464 806/grafana tcp6 0 0 :::8086 :::* LISTEN 999 1978 746/influxd tcp6 0 0 :::8081 :::* LISTEN 1001 57821 4045/io.admin.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 1790 474/avahi-daemon: r udp 0 0 0.0.0.0:34813 0.0.0.0:* 108 1792 474/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 1898 740/dhcpcd udp6 0 0 :::33934 :::* 108 1793 474/avahi-daemon: r udp6 0 0 :::5353 :::* 108 1791 474/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-02-09 03:57:06.846 - info: host.Testpi stopInstance system.adapter.backitup.0 (force=false, process=true) 2024-02-09 03:57:06.866 - info: backitup.0 (4742) Got terminate signal TERMINATE_YOURSELF 2024-02-09 03:57:06.878 - info: backitup.0 (4742) cleaned everything up... 2024-02-09 03:57:06.879 - info: backitup.0 (4742) terminating 2024-02-09 03:57:06.880 - info: backitup.0 (4742) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-02-09 03:57:06.908 - info: host.Testpi stopInstance system.adapter.backitup.0 send kill signal 2024-02-09 03:57:07.382 - info: backitup.0 (4742) terminating 2024-02-09 03:57:07.442 - info: host.Testpi instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2024-02-09 03:57:09.971 - info: host.Testpi instance system.adapter.backitup.0 started with pid 33498 2024-02-09 03:57:12.070 - info: backitup.0 (33498) starting. Version 2.9.8 in /opt/iobroker/node_modules/iobroker.backitup, node: v18.19.0, js-controller: 5.0.17 2024-02-09 03:57:12.141 - info: backitup.0 (33498) [iobroker] backup will be activated at 03:55 every 1 day(s)
-
Das ist das alte Boot-Layout.
Die Boot-Partition wird auf /boot eingehängt, aktuell wird aber /boot/firmware erwartet. Das führt dann auch zu der Meldung beim apt upgrade.Und diese Änderungen sind auch der Grund warum diesmal bei Raspberry OS die Empfehlung ganz klar eine Neuinstallation von 'Bookworm' war.
-
Ok danke für deine Expertiese. Dann werde ich den Testpi neu installieren.
Danke dir vielmals.
Das Aktivsystem habe ich aber sicher neu installiert
Gruß Duffy