Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HerrFrodo1 opened this issue Feb 22, 2024 · 0 comments
Open

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

HerrFrodo1 opened this issue Feb 22, 2024 · 0 comments

Comments

@HerrFrodo1
Copy link

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.12dfsg-1deb11u4 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant