openHABian - cannot revert to stable using openHABian menu item

After switching to 2.2.0 unstable (build #986), I wasn’t able to access the ui anymore. I saw the OH2 Welcome screen (http://192.168.0.18:8080/start/index). But accessing one of the ui items lead to a 404 error.

That’s why I wanted to switch back to 2.1.0 stable. This was only possible after I enhanced the apt command with the --force-yes parameter:

$ apt -y install openhab2=2.1.0-1 --force-yes

Before, i got the following error:


Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Alle Pakete sind aktuell.

$ apt -y install openhab2=2.1.0-1
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete werden durch eine ÄLTERE VERSION ERSETZT (Downgrade):
  openhab2
0 aktualisiert, 0 neu installiert, 1 durch eine ältere Version ersetzt, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 53.3 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 26.6 kB Plattenplatz freigegeben.
E: Es gab Probleme und -y wurde ohne --force-yes verwendet.
FAILED (apt)
1 Like

you write the following in you console:

apt -y --force-yes install openhab2=2.1.0-1

or

apt -y install --force-yes openhab2=2.1.0-1

then the maigc happens :wink:

1 Like