Well can’t help myself but TBH, my first thought was that you sorta got what you pushed for…
Sorry, could not resist.
It was fixed in main but not yet forwarded to openHAB branch that you’re probably using.
I just copied that over so on next attempt it should work out.
(before, check and eventually correct the quotes in line 34 of /etc/default/openhab)
I think, today I have the same problem on my openhabian installation, while updating from OH 4.3.4 to 4.3.5.
Could you please check again?
openhab (4.3.5-1) wird eingerichtet ...
/var/lib/dpkg/info/openhab.postinst: 34: /etc/default/openhab: -Duser.timezone=Europe/Berlin: not found
dpkg: Fehler beim Bearbeiten des Paketes openhab (--configure):
»installiertes post-installation-Skript des Paketes openhab«-Unterprozess gab den Fehlerwert 127 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von openhab-addons:
openhab-addons hängt ab von openhab; aber:
Paket openhab ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes openhab-addons (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für libc-bin (2.36-9+rpt2+deb12u12) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
openhab
openhab-addons
Updating FireMotD available updates count ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
Yes, I went to the folder /etc/default in Putty and edited the file openhab. This was also mentioned above but I did not find what to edit. Somewhere in the middle of the file you find
Thank you so much! Helps a lot, I have adapted it. Was just somehow hard to figure it out without knowing those details.
Fully understand that all those requests from the users are annoying for you professionals. For the less professional ones (I would cluster myself in this category) it is hard to figure out the details without a link.