alexreinert / piVCCU

piVCCU is a project to install the original Homematic CCU3 firmware inside a virtualized container (lxc) on ARM based single board computers.
Apache License 2.0
300 stars 62 forks source link

E: Sub-process /usr/bin/dpkg returned an error code (1) #519

Open HerrFrodo1 opened 6 months ago

HerrFrodo1 commented 6 months ago

Hallo Herr Reinert,

ich habe folgendes Problem: pi@raspberrypi:~ $ sudo apt upgrade 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] y Setting up pivccu-modules-raspberrypi (2.0-19) ... sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory dpkg: error processing package pivccu-modules-raspberrypi (--configure): installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2 Errors were encountered while processing: pivccu-modules-raspberrypi E: Sub-process /usr/bin/dpkg returned an error code (1)

pi@raspberrypi:~ $ sudo pivccu-info piVCCU version: 3.73.9-87 OS: Debian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ aarch64 Kernel modules: Available Raw UART dev: Available Rasp.Pi UART: Assigned to GPIO pins HMRF Hardware: RPI-RF-MOD Connected via: GPIO@fe201000.serial (/dev/raw-uart) Board serial: 5A4993EE43 Radio MAC: 0xFFEE43 HMIP Hardware: RPI-RF-MOD Connected via: GPIO@fe201000.serial (/dev/raw-uart) SGTIN: 3014F711A0001F5A4993EE43 Radio MAC: 0xBAE6D9 State: RUNNING PID: 453578 IP: 192.168.1.103 IP: 2003:f1:af35:700:28a3:69ff:fe37:5efa Link: vethpivccu TX bytes: 42.48 MiB RX bytes: 33.24 MiB Total bytes: 75.72 MiB

`ioBroker nodejs updater 2023-10-13

  |     | Recommended nodejs-version is: 18.19.1   | Checking your installation now. Please be patient!   |     | Your current setup is:   | /usr/bin/node v18.17.1   | /usr/bin/npm 9.6.7   | /usr/bin/npx 9.6.7   | /usr/bin/corepack 0.18.0   |     | We found these nodejs versions available for installation:   |     | nodejs:   | Installed: 18.17.1-deb-1nodesource1   | Candidate: 18.17.1-deb-1nodesource1   | Version table:   | 18.17.1-deb-1nodesource1 500   | 500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages   | 100 /var/lib/dpkg/status   | 12.22.12~dfsg-1~deb11u4 500   | 500 http://deb.debian.org/debian bullseye/main arm64 Packages   | 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages   |     |     |     | Nothing to do - Your installation is using the correct paths.   |     | You are running nodejs v18.17.1. Do you want to install recommended version 18.19.1?   |     | Press to continue or any other key to quit   | Trying to update your installation now. Please be patient.   | find: '/var/lib/lxcfs/cgroup': Input/output error   | rm: cannot remove '/backup/raspberrypi/raspberrypi-rsync-backup-20230921-180330/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20231001-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20231101-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240207-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240212-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240216-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240217-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240218-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240219-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240220-020001/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240221-020002/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/backup/raspberrypi/raspberrypi-rsync-backup-20240222-020002/sda2/usr/share/keyrings/nodesource.gpg'$'\n''/usr/share/keyrings/nodesource.gpg': No such file or directory   | Waiting for ioBroker to shut down - Give me a minute...   | ############################################################   |     | These repos are active on your system:   | Hit:1 http://deb.debian.org/debian bullseye InRelease   | Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]   | Hit:3 http://security.debian.org/debian-security bullseye-security InRelease   | Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease   | Hit:5 https://repos.influxdata.com/debian stable InRelease   | Hit:6 https://repos.influxdata.com/debian bullseye InRelease   | Hit:7 https://apt.pivccu.de/piVCCU stable InRelease   | Fetched 44.1 kB in 2s (27.9 kB/s)   | Reading package lists... Done   |     | Installing ca-certificates, curl and gnupg, just in case they are missing.   | Setting up pivccu-modules-raspberrypi (2.0-19) ...   | sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory   | dpkg: error processing package pivccu-modules-raspberrypi (--configure):   | installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2   | Errors were encountered while processing:   | pivccu-modules-raspberrypi   | E: Sub-process /usr/bin/dpkg returned an error code (1)   | {1}   | Creating new /etc/apt/sources.list.d/nodesource.list and pinning source   | {1}   | deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main   | Package: nodejs   | Pin: origin deb.nodesource.com   | Pin-Priority: 1001   | {1}   | These repos are active after the adjustments:   | Hit:1 http://deb.debian.org/debian bullseye InRelease   | Hit:2 http://deb.debian.org/debian bullseye-updates InRelease   | Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease   | Hit:4 https://repos.influxdata.com/debian stable InRelease   | Hit:5 http://security.debian.org/debian-security bullseye-security InRelease   | Hit:6 https://repos.influxdata.com/debian bullseye InRelease   | Hit:7 https://apt.pivccu.de/piVCCU stable InRelease   | Get:8 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]   | Get:9 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [7416 B]   | Get:10 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages [7392 B]   | Fetched 26.9 kB in 2s (15.3 kB/s)   | Reading package lists... Done   | {1}   | Installing the recommended nodejs version now!   | {1}   | /home/iobroker/.nodejs-update.sh: line 329: [: : integer expression expected   | /home/iobroker/.nodejs-update.sh: line 346: [: : integer expression expected   | Installing the recommended nodejs version!   | (Reading database ... 91705 files and directories currently installed.)   | Preparing to unpack .../nodejs_18.19.1-1nodesource1_arm64.deb ...   | Detected old npm client, removing...   | Unpacking nodejs (18.19.1-1nodesource1) over (18.17.1-deb-1nodesource1) ...   | Setting up nodejs (18.19.1-1nodesource1) ...   | Setting up pivccu-modules-raspberrypi (2.0-19) ...   | sed: can't read /var/lib/piVCCU/dtb/config.txt: No such file or directory   | dpkg: error processing package pivccu-modules-raspberrypi (--configure):   | installed pivccu-modules-raspberrypi package post-installation script subprocess returned error exit status 2   | Processing triggers for man-db (2.9.4-2) ...   | Errors were encountered while processing:   | pivccu-modules-raspberrypi   | E: Sub-process /usr/bin/dpkg returned an error code (1)   |     | We tried our best to update or fix your nodejs. Please run iob diag again to verify.   |     | RESTARTING ioBroker NOW! ***   | Please refresh or restart your browser in a few moments.   |     | pi@raspberrypi:~ $`

Was kann das sein?

Besten Dank!