No updates and installations possible
Hello, I have installed version NextcloudPi_RaspberryPi4_v1.55.3 on my Raspberry 4B.
Unfortunately, an update or a new installation of another program no longer works. I get the following error message.
apt clean, apt autoremove and also "apt --fix-broken install" didn't help.
I ask for your support.
You may try to delete
libraspberrypi0
libraspberrypi-bin
Be careful to install other software, keep in mind ncp now is armbian based, if not installed install
armbian-config
to upgrade os use
armbian-upgrade
Attached are my search results. Which files should I delete specifically?
I can't say what files you should delete.
But I tell you how I managed the error message on question on my rpi4 test server.
apt remove libraspberrypi0 libraspberrypi-bin
For me it allows to finish an armbian-upgrade command without errors but with warnings.
I can currently only access this Raspberry Pi remotely. If I follow your suggestion and the device stops working, that wouldn't be a good idea. Or is it safe?
Come on, no one will give you a warranty for a server you set up. I told you my experience with this armbian raspi firmware issue, which quirks the packet management. you may read about more on armbian forum. Your server is up and running, no need to change it, Stop auto updating and set up a sibling server you may check the commands you will send to your working server.
removed both packages and all good again.
apt remove libraspberrypi0 libraspberrypi-bin
Well, I've done it now. And everything works. Thanks everyone!
This issue seems to be related to / caused by armbian: https://github.com/armbian/build/issues/8069. A corresponding PR has already been created: https://github.com/armbian/build/pull/8087.
Same problem on RPi 5 with fresh 1.55.3 image
$ sudo apt upgrade -y
Unpacking raspi-firmware (1:1.20250430-3) ...
dpkg: error processing archive /tmp/apt-dpkg-install-1vBeDt/07-raspi-firmware_1%3a1.20250430-3_all.deb (--unpack):
trying to overwrite '/etc/kernel/postinst.d/z50-raspi-firmware', which is also in package armbian-bsp-cli-rpi5b-current 24.8.2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../08-redis-server_5%3a7.0.15-1~deb12u4_arm64.deb ...
Unpacking redis-server (5:7.0.15-1~deb12u4) over (5:7.0.15-1~deb12u1) ...
Preparing to unpack .../09-redis-tools_5%3a7.0.15-1~deb12u4_arm64.deb ...
Unpacking redis-tools (5:7.0.15-1~deb12u4) over (5:7.0.15-1~deb12u1) ...
Preparing to unpack .../10-debian-archive-keyring_2023.3+deb12u2_all.deb ...
Unpacking debian-archive-keyring (2023.3+deb12u2) over (2023.3+deb12u1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-1vBeDt/07-raspi-firmware_1%3a1.20250430-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)