openHAB 2.5.x Patch Releases

I assume there may be testing releases as openHAB 3 gets more stable.

Since they are not developing the 2.x core any longer, they just do unstable with monthly stable releases for updated bindings.

1 Like

Sorry, but even if that is or would be the case as far as I understand I still should be able to get previous testing releases without any any error message, right. And it is not the step when I try to get the package it is the step when I download information about the available versions.

root@cubietruck:~# aptitude update
Hit http://ports.ubuntu.com xenial InRelease
Get: 1 http://ports.ubuntu.com xenial-security InRelease [109 kB]
Get: 2 http://ports.ubuntu.com xenial-updates InRelease [109 kB]
Hit http://phoscon.de/apt/deconz xenial InRelease
Get: 3 http://ports.ubuntu.com xenial-backports InRelease [107 kB]
Get: 4 https://deb.nodesource.com/node_7.x xenial InRelease [4,634 B]
Hit https://apt.armbian.com xenial InRelease            
Ign https://openhab.jfrog.io/openhab/openhab-linuxpkg testing InRelease
Get: 5 https://openhab.jfrog.io/openhab/openhab-linuxpkg testing Release [11.6 kB]
Get: 6 https://openhab.jfrog.io/openhab/openhab-linuxpkg testing Release.gpg [821 B]
Get: 7 http://ports.ubuntu.com xenial-updates/main armhf Packages [1,071 kB]
Get: 8 http://ports.ubuntu.com xenial-updates/universe armhf Packages [924 kB]
Hit https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages [7,609 B]                                                                                                                                                                       
Err https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages                                                                                                                                                                                 
  Hash Sum mismatch
Fetched 2,336 kB in 9s (248 kB/s)                                                                                                                                                                                                                                 
W: Failed to fetch store:/var/lib/apt/lists/partial/openhab.jfrog.io_openhab_openhab-linuxpkg_dists_testing_main_binary-armhf_Packages.gz: Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.

I also do not expect to the see β€˜unknown date format bad header data’ error message in case an new version is being tested.

In case I do

apt-cache madison openhab2

I get

  openhab2 |    2.5.5-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 |    2.5.5-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 |    2.5.4-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 |    2.5.4-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 |    2.5.3-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 |    2.5.3-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 |    2.5.2-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 |    2.5.2-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 |    2.5.1-2 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 |    2.5.1-2 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 |    2.5.1-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 |    2.5.1-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 |    2.5.0-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 |    2.5.0-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.5.0~RC1-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 | 2.5.0~RC1-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.5.0~M6-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 | 2.5.0~M6-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.5.0~M5-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 | 2.5.0~M5-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.5.0~M4-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 | 2.5.0~M4-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.5.0~M3-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 | 2.5.0~M3-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.5.0~M2-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 | 2.5.0~M2-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.5.0~M1-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 | 2.5.0~M1-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 |    2.4.0-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 |    2.4.0-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.4.0~RC1-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
  openhab2 | 2.4.0~RC1-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main all Packages
  openhab2 | 2.4.0~M8-1 | https://openhab.jfrog.io/openhab/openhab-linuxpkg testing/main armhf Packages
...

and more.

So I do not see any 3.X version in the testing repo but e.g. 2.5.5-1
Looking into https://openhab.jfrog.io/openhab/openhab-linuxpkg/pool/main/ shows different version numbers but no 3.X yet. 2.5.6 I assume belongs to unstable.

Try dropping armhf from the repo I think I saw somewhere that it may not be needed any longer.

My ubuntu apt config was not correct. Check the instalation instructions.

1 Like

Then this must have been a recent change. There’s the stable releases, the milestone releases (which my setup is tracking) and the daily snapshot releases (unstable).

So far I automatically received updates up to 2.5.4. Only 2.5.5 gives problems with the repository.

Testing releases stopped after 2.5.0 was released.

EDIT: removed incorrect information - Sorry,.

as far as I can see at this moment stable and testing are on the same version: 2.5.5-1.

sdiff Packages-stable Packages-testing
Package: openhab2-addons                                        Package: openhab2-addons
Source: openhab2-addons                                         Source: openhab2-addons
Version: 2.5.5-1                                                Version: 2.5.5-1
Section: java                                                   Section: java
Priority: optional                                              Priority: optional
Architecture: all                                               Architecture: all
Depends: openhab2                                               Depends: openhab2
Conflicts: openhab2-online, openhab2-offline                    Conflicts: openhab2-online, openhab2-offline
Installed-Size: 191106                                          Installed-Size: 191106
Maintainer: https://community.openhab.org                       Maintainer: https://community.openhab.org
Description: openhab2-addons                                    Description: openhab2-addons
 Linux installation package for openHAB 2 addons.                Linux installation package for openHAB 2 addons.
Homepage: www.openhab.org                                       Homepage: www.openhab.org
Filename: pool/main/2.5.5/openhab2-addons_2.5.5-1_all.deb       Filename: pool/main/2.5.5/openhab2-addons_2.5.5-1_all.deb
SHA1: 09c359f1325e63da50df06359761e847e584fe1e                  SHA1: 09c359f1325e63da50df06359761e847e584fe1e
SHA256: 3c3415b90182f9b760d350eda3fb4e24faa004acb89fcb889aad8   SHA256: 3c3415b90182f9b760d350eda3fb4e24faa004acb89fcb889aad8
Size: 195450792                                                 Size: 195450792

Package: openhab2                                               Package: openhab2
Source: openhab2                                                Source: openhab2
Version: 2.5.5-1                                                Version: 2.5.5-1
Section: java                                                   Section: java
Priority: optional                                              Priority: optional
Architecture: all                                               Architecture: all
Depends: adduser                                                Depends: adduser
Recommends: zip, unzip                                          Recommends: zip, unzip
Suggests: zulu-8 | zulu-embedded-8 | oracle-java8-installer |   Suggests: zulu-8 | zulu-embedded-8 | oracle-java8-installer |
Conflicts: openhab2-online, openhab2-offline                    Conflicts: openhab2-online, openhab2-offline
Installed-Size: 92564                                           Installed-Size: 92564
Maintainer: https://community.openhab.org                       Maintainer: https://community.openhab.org
Description: openhab2                                           Description: openhab2
 Linux installation package for openHAB 2.                       Linux installation package for openHAB 2.
Homepage: www.openhab.org                                       Homepage: www.openhab.org
Filename: pool/main/2.5.5/openhab2_2.5.5-1_all.deb              Filename: pool/main/2.5.5/openhab2_2.5.5-1_all.deb
SHA1: d0b0af31d32597b65fbfefb95d315e7d6cd53302                  SHA1: d0b0af31d32597b65fbfefb95d315e7d6cd53302
SHA256: 0e14ddba8d3d2f0b5e5167faf37438584718199c416e8c49ec0cc   SHA256: 0e14ddba8d3d2f0b5e5167faf37438584718199c416e8c49ec0cc
Size: 82996316                                                  Size: 82996316

So even in case there is no testing release with the purpose of deploying testing before stable release the testing release still is available.

I ran openhabian-config today. First time in ages. And behold, a warning appeared:


β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ openHABian breaking NEWS β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                                                                        β”‚ 
β”‚ This is the new announcement page to pop up whenever you start openhabian-config and     
β”‚ there's significant news we would like to share with you. Hit tab to unselect buttons    
β”‚ and scroll through the text using UP/DOWN/PG UP/PG DOWN.                                 
β”‚ When you choose 'I have read this' the message will not appear on startup anymore.       
β”‚ All announcements will be stored in /opt/openhabian/docs/NEWSLOG for you to lookup.      
β”‚                                                                                          
β”‚ ## May 31, 2020                                                                          
β”‚ ### Stable branch                                                                        
β”‚ Introducing a new versioning scheme to openHABian. Please welcome `stable` branch.       
β”‚ Similar to openHAB where there's releases and snapshots, you will from now on be using   
β”‚ the stable branch. It's the equivalent of an openHAB release.                            
β”‚ We will keep providing new changes to the master branch first as soon as we make them    
β”‚ available, just like we have been doing in the past. If you want to keep living on the   
β”‚ edge, want to make use of new features fast or volunteer to help a little in advancing   
β”‚ openHABian, you can choose to switch back to the master branch.                          
β”‚ Anybody else will benefit from less frequent but well better tested updates to happen    
β”‚ to the stable branch in batches, whenever the poor daring people to use `master` have    
β”‚ reported their trust in these changes to work flawlessly.                                
β”‚ You can switch branches at any time using the menu option 01.                            
β”‚                                                                                          
β”‚ ### Supported hardware and Operating Systems                                             
β”‚ openHABian now fully supports all Raspberry Pi SBCs with our fast-start image. As an     
β”‚ add-on package, it is supposed to run on all Debian based OSs.                           
β”‚                                                                                          
β”‚ Check the [README](#README.md) to see what "supported" actually means and what you can   
β”‚ do if you want to run on other HW or OS.                                                 
β”‚                                                                                          
β”‚ ### ZRAM per default                                                                     
β”‚ Swap, logs and persistence files are now put into ZRAM per default.                      
β”‚ See [ZRAM status thread](https://community.openhab.org/t/zram-status/80996) for more     
β”‚ information.                                                                             
β”‚                                                                                          
β”‚ ### New Java options                                                                     
β”‚ Preparing for openHAB 3, new options for the JDK that runs openHAB are now available:    
β”‚                                                                                          
β”‚  - Java Zulu 8 32-Bit OpenJDK (default on ARM based platforms)                           
β”‚  - Java Zulu 8 64-Bit OpenJDK (default on x86 based platforms)                           
β”‚  - Java Zulu 11 32-Bit OpenJDK (beta testing)                                            
β”‚  - Java Zulu 11 64-Bit OpenJDK (beta testing)                                            
β”‚  - AdoptOpenJDK 11 OpenJDK (beta replacement for Zulu)                                   
β”‚                                                                                          
β”‚ openHAB 3 will be Java 11 only.  2.5.X is supposed to work on both, Java 8 and Java      
β”‚ 11.                                                                                      
β”‚ Running the current openHAB on Java 11 however has not been tested on a wide scale.      
β”‚                                                                                          
β”‚ Please participate in beta testing to help create a smooth transition user experience    
β”‚ for all of us.                                                                           
β”‚ See [announcement thread](https://community.openhab.org/t/Java-testdrive/99827) on the   
β”‚ community forum.                                                                         
β”‚                                                                                          
β”‚                         <I have read this>               <keep displaying>               
β”‚                                                                                        β”‚ 
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ 
                                                                                                               

It appears that this message was created or updated yesterday.

I must have missed the notice to run openhabian-config after having upgraded to 2.5.

Please have a look at your source of information before making such statements. It was about Docker and has nothing to do with openHABian:

1 Like

Additionally, the stable versions (including 2.5.4, 2.5.5, etc.) are available in the APT testing and snapshot repositories anyway. The stable repository however is hosted in a more stable location (Bintray) so should be the recommended repository for openHAB 2.5.X

This is related to: Error when trying to change to testing version - #2 by Benjy

1 Like

That is openHABian, not openHAB, the subject of this thread.

The way to get the openHAB patch releases apparently changed somewhere along with the new patch release… there were 3 channels (release, milestones, snapshots), now apparently only 2 (release, snapshots). I’m just trying to find where this change originated from.

When 2.5.0 was released, they stopped core development to work on OH3. The not only release snapshots & monthly releases with newer bindings. for 2.5.x.

See the first post in this thread for a little more information. :wink:

It has been and for the foreseeable future will be the same 3 channels:

  1. Snapshots - These are built daily when something in the source changes. The apt unstable repository contains these.
  2. Testing - Contains milestones, betas and release candidates there hasn’t been one for a while. The apt testing and unstable repositories contain these.
  3. Stable - Contains only stable releases, including the patch releases, these are hosted on Bintray. All apt repos (unstable, testing and stable) contain these.
2 Likes

Is there a way to turn off the feature that is automatically updating bundles in 2.5?

See Why are bundles automatically updating in 2.5 without user intervention?

Thanks.

Anyone? At least maybe the person who wrote the update process could send the DNS name so I can block it in my router?

Which β€œupdate process” do you use? There’s a few OH environments here.

1 Like

sources.list.d/openhab2.list:deb https://dl.bintray.com/openhab/apt-repo2 stable main

I don’t autoupdate anything on my system.

There are discussions in other topics about this…

IMO the only way to fix that behaviour for 2.5.x is by putting the bundles in the addons-directory. These are never touched by an update. Core bundles do not change.