E: Unable to correct problems, you have held broken packages.
Hi,
many thanks for your report. Looks like you have not finished package installations from the past. The error message is created by dietpi-software, pointing to an squeezelite (software ID 36) installation. Are you sure this is happening during dietpi-update? Pls can you run apt update && apt upgrade
Yes, I will. I first encountered this error during a dietpi-upgrade command. I had another sd card with the image installed and could not complete the upgrade there either. I've gone back and loaded an "original" image from the dietpi forum. Let me try loading that SD card and see if I can upgrade to the latest version from there.
Are you sure this is happening during dietpi-update?
During dietpi-update we reinstall/upgrade SqueezeLite, so this is thinkable. Lets check the full output:
cd /tmp
wget https://dietpi.com/downloads/binaries/stretch/squeezelite_armv7l.deb
apt install ./squeezelite_armv7l.deb
@MichaIng
During dietpi-update we reinstall/upgrade SqueezeLite, so this is thinkable. Lets check the full output:
But than I would expect the error message above created bei dietpi-update. But it's stating dietpi-software
Software title | DietPi-Software
We do software updates through dietpi-software reinstalls. Would be a huge overhead to add the whole procedure to the updater patch file.
The prints to not contain parent script names, although this would be actually nice, basically an error stack trace.
To give some insights: https://github.com/MichaIng/DietPi/blob/master/dietpi/patch_file#L2440-L2473
dietpi-software call.ok understood.
Apologies for slow response. My pi stopped responding, and I am formatting and re-imaging an SD card so that I can carry forward with this. It will have whatever version of dietpi is in the image from the dietpi website.
On first boot, it will be auto-updated to v6.32.1, so when you install SqueezeLite it will be the new version right from the start. However if there were some general package incompatibilities, the error message might look the same, like the suggested debug steps: https://github.com/MichaIng/DietPi/issues/3655#issuecomment-654272427
I'll check in on my Pi as well now.
Found it:
The following packages have unmet dependencies:
squeezelite : Depends: libmpg123-0 (>= 1.23.8-1+b1) but 1.23.8-1 is to be installed
E: Unable to correct problems, you have held broken packages.
This is the problem when building ARMv7 packages on Debian, which are pulled on ARMv7 RPi models. 99,9% match, but this +b1 version was never ported over to Raspbian:
I'll remove the part from the dependency version string, hang on.
Fixed it, package repacked, install/update should now succeed.
Checking on Raspbian Buster...
... fine there 馃憤.
Reminder to myself: Always test ARMv7 packages on RPi/Raspbian as well.
I was actually thinking to always pull ARMv6 packages with RPi+Raspbian to assure everything is compiled for the same architecture and against the exact same library versions. However ARMv7 RPi models might loose some benefits. Mid-term I plan to release an ARMv7 Debian-based RPi image for this one ARMv7 RPi2 v1.1, so together with 64-bit image all RPi models can then run on the highest architecture they actually support.
Excellent, many thanks. I will boot up my pi in a bit (SD still formatting) and make sure everything comes up OK.
Was able to install upgrade without errors, now to set everything up again as I had to reload the image...:)