Proper way to update from 2.3.0 snapshot to stable release on openhabian PI

Tags: #<Tag:0x00007f616f421fa8> #<Tag:0x00007f616f421d50> #<Tag:0x00007f616f421ad0>

Hello, what is the proper to way to update from a 2.3.0 snaphot to the 2.3.0 stable release ?

I’m running a raspberry pi, openhabianpi and openHAB 2.3.0~20180505223259-1 (Build #1272).

I switched to the snapshot releases a while ago using this command

echo 'deb https://openhab.jfrog.io/openhab/openhab-linuxpkg unstable main' | sudo tee /etc/apt/sources.list.d/openhab2.list

Now, I tried to update with openhabian-config but after reboot, nothing worked at all.
The only things unusual when updating where some warning about some ‘readme.txt’ file being already present
and asking if I want to overwrite, also addons.cfg and runtimecfg files.

Thank you

sudo apt install openhab2=2.3.0-1
sudo apt install openhab2-addons=2.3.0-1
sudo apt install openhab2-addons-legacy=2.3.0-1
1 Like

is only needed in case you want to use the addons offline, otherwise you can skip this and OH will fetch the addons on demand

Yes, I just put it there just in case the online setting is not turned on

By the way, to list the available repos:

sudo apt-cache madison openhab2

Do I need this ?

echo 'deb https://dl.bintray.com/openhab/apt-repo2 stable main' | sudo tee /etc/apt/sources.list.d/openhab2.list

No you don’t

Do:

sudo apt-cache madison openhab2

and select what package you want to install

I’ll start a new thread, because the update didn’t work.

Aymeric

here