OpenHAB 2.1 for Debian stable/testing repository on ARM systems?

Hi. I just wanted to ask when OpenHAB 2.1 will be available via the Debian apt repositories (stable or testing)? I would like to upgrade my installation, especially since the new stable version 2.1 was already released in June 2017. But up to now this stable release is only available as zip and I don’t really want to switch from my apt installation to a manual one, especially since http://docs.openhab.org/installation/linux.html#manual-installation is still recommending the installation via apt.

After wondering about this fact I started to search a bit in the apt repository and I found a 2.1.0 directory in https://dl.bintray.com/openhab/apt-repo2/pool/main/ which is not linked in the package index files (Packages). Did someone just forgot to link it there or is it not yet stable to use?

Please try

https://openhab.jfrog.io/openhab/openhab-linuxpkg stable main 

as repository.

My server is running debian and I made a fresh oh2 install a week ago using stable branch and i got 2.1.0 release version. Followed steps in that document you linked. Sounds weird that you still have such old version. Does updating through apt-get make any difference?

On the other hand I first tried the testing branch and it got me in 2.0.0-rc1. So some kind of version controll seems to be a bit off.

What does

apt-cache showpkg openhab2

tell you?

apt-cache showpkg openhab2

prints

Package: openhab2
Versions: 
2.0.0-1 (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_testing_main_binary-armhf_Packages
                  MD5: 326ece3868ef747762229ee66dc0da02
 Description Language: 
                 File: /var/lib/dpkg/status
                  MD5: 326ece3868ef747762229ee66dc0da02

2.0.0~RC1-1 (/var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_testing_main_binary-armhf_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_testing_main_binary-armhf_Packages
                  MD5: 326ece3868ef747762229ee66dc0da02
 Description Language: 
                 File: /var/lib/dpkg/status
                  MD5: 326ece3868ef747762229ee66dc0da02


Reverse Depends: 
  openhab2-addons,openhab2
  openhab2-addons-legacy,openhab2
Dependencies: 
2.0.0-1 - adduser (0 (null)) openhab2-online (0 (null)) openhab2-offline (0 (null)) 
2.0.0~RC1-1 - adduser (0 (null)) openhab2-online (0 (null)) openhab2-offline (0 (null)) 
Provides: 
2.0.0-1 - 
2.0.0~RC1-1 - 
Reverse Provides: 

BTW, my CPU is an ARMv7. Maybe there is just no 2.1 for those 32 bit ARMs.

Indeed. I looked in the Packages file of amd64 and saw the 2.1 release. So, you probably have an 64 bit AMD or Intel CPU.

That’s correct. AMD Athlon so my package is amd64.

@Benjy, sorry to disturb you again with my apt questions but could you shed some light over this?

1 Like

@Udo_Hartmann
Thanks for your link. The repository you posted indeed provides the 2.1 for armhf (ARMv7). However, to stay compatible to my current openhab2 installation I prefer to stay with the official repository (if it’s still maintained).

Both are official repositories :slight_smile: but my link is usually the one for unstable aka OH2.2.0 :wink: however, it provides a stable version also…

The 2.1.0 package is missing (unintentionally) from the testing repository and I am looking to add this in as soon as I can.

The snapshot repository @Udo_Hartmann mentioned is an official one and contains an identical package (with signatures) to the one found in bintray, but if you’re looking for the stable release then you should use:

deb https://dl.bintray.com/openhab/apt-repo2 stable main
1 Like

OK. I switched to the stable release from openhab.jfrog.io and it works. Thanks.