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

Errors were encountered while processing: raspi-firmware E: Sub-process /usr/bin/dpkg returned an error code (1) #7085

Open
systembetrieb opened this issue May 20, 2024 · 4 comments

Comments

@systembetrieb
Copy link

Details:

  • Date | Mon May 20 02:16:41 CEST 2024
  • DietPi version | v8.25.1 (MichaIng/master)
  • Image creator |
  • Pre-image |
  • Hardware | RPi 4 Model B (aarch64) (ID=4)
  • Kernel version | Linux VPN-GW-MWR 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Distro | bookworm (ID=7,RASPBIAN=0)
  • Command | apt-get -y --with-new-pkgs upgrade
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
  cpio tiny-initramfs tiny-initramfs-core
Use 'apt autoremove' to remove them.
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.
Setting up raspi-firmware (1:1.20240424-1) ...
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 tiny-initramfs (0.1-5) ...
Errors were encountered while processing:
 raspi-firmware
E: Sub-process /usr/bin/dpkg returned an error code (1)
@MichaIng
Copy link
Owner

Did you install raspi-firmware manually? It should not be pulled anymore as dependency 🤔. Does this lead to any other removal?

apt autopurge raspi-firmware

@systembetrieb
Copy link
Author

OK 👍 ... check now ...

@systembetrieb
Copy link
Author

DietPi-Update
─────────────────────────────────────────────────────
Phase: Completed

[ INFO ] DietPi-Update | Current version : v9.4.2
[ INFO ] DietPi-Update | Latest version : v9.4.2
[ OK ] DietPi-Survey | Purging survey data
[ OK ] DietPi-Update | sync
[ SUB1 ] DietPi-Services > restart
[ OK ] DietPi-Services | restart : webmin
[ OK ] DietPi-Services | restart : docker
[ OK ] DietPi-Services | restart : cron

💯 :-*
MTHX

@MichaIng
Copy link
Owner

Background: raspi-firmware is part of the new RPi kernel/firmware package stack, which requires a different boot partition mount and is hence incompatible with our (old) RPi images. Unintentionally, rpi-eeprom did pull it as dependency at first, but that was lifted. Hence I am wondering why this package was installed on your system in the first place.

About migrating to the new kernel/firmware package stack: #6676

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

No branches or pull requests

2 participants