Update to 4.3.6 NOT 5.0.0

With v5 being the latest version, how to I update my v4 to the latest (last) v4 without it auto-upgrading to v5?

Running openHABian 4.3.5 and just want to update it to 4.3.6.

sudo apt install openhab=4.3.6
sudo apt hold openhab
1 Like

image

Thanks, unfortunately doesn’t work
Version ‘4.3.6’ for ‘openhab’ was not found

So has 4.3.6 been removed from the repos?

No, no versions have been removed.

It might be 4.6.3-1.

Many thanks, that worked

Also updated the addons

sudo apt install openhab=4.3.6-1
sudo apt install openhab-addons=4.3.6-1

Unfortunately does not work for me even with the 4.3.6-1 version
 Other ideas?
grafik
but i have to say that i don’t use openhabian


I’m not an expert with apt. I recommend searching “how to install a specific version with apt” and go though those tutorials to see if something is missing.

I was already on 4.3.6 when I did this so I just had to fix the version.

Well then you probably haven’t configured the right repo for openHAB.
openHABian would have done that (and much more) for you.

apt-cache madison openhab will show you available packages. Which in turn depend on the repo(s) you have configured and how they match your hardware, neither of which @V60Grad has mentioned.

Thank you for taking a look at this. It was my mistake. I should have updated the package lists beforehand (apt update). Damn. I should have thought of that myself. Sorry for the confusion.