Upgrade.. i'm having a moment

Can anyone point out the obvious mistake i’m making in trying to upgrade?
apt knows about version 2.1 , but doesn’t move me on from 2.0.0b5

user@openhab:~$ cat /etc/apt/sources.list.d/openhab2.list
deb https://dl.bintray.com/openhab/apt-repo2 stable main
user@openhab:~$ sudo apt-get update && sudo apt-get upgrade
Hit:1 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:3 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease                 
Hit:4 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease               
Ign:5 https://dl.bintray.com/openhab/apt-repo2 stable InRelease                    
Get:6 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Hit:6 https://dl.bintray.com/openhab/apt-repo2 stable Release
Fetched 102 kB in 0s (106 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libgl1-mesa-dri
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
user@openhab:~$ 
user@openhab:~$ dpkg --list | grep openhab
ii  openhab2-offline                   2.0.0~b5                                   all          openHAB Offline Distribution
user@openhab:~$ apt-cache showpkg openhab2
Package: openhab2
Versions: 
2.1.0-1 (/var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_stable_main_binary-amd64_Packages) (/var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_stable_main_binary-i386_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_stable_main_binary-amd64_Packages
                  MD5: 326ece3868ef747762229ee66dc0da02
 Description Language: 
                 File: /var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_stable_main_binary-amd64_Packages
                  MD5: 326ece3868ef747762229ee66dc0da02
2.0.0-1 (/var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_stable_main_binary-amd64_Packages) (/var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_stable_main_binary-i386_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_stable_main_binary-amd64_Packages
                  MD5: 326ece3868ef747762229ee66dc0da02
 Description Language: 
                 File: /var/lib/apt/lists/dl.bintray.com_openhab_apt-repo2_dists_stable_main_binary-amd64_Packages
                  MD5: 326ece3868ef747762229ee66dc0da02
Reverse Depends: 
  openhab2-addons,openhab2
  openhab2-addons-legacy,openhab2
  openhab2-addons-legacy,openhab2
  openhab2-addons,openhab2
Dependencies: 
2.1.0-1 - adduser (0 (null)) openhab2-online (0 (null)) openhab2-offline (0 (null)) 
2.0.0-1 - adduser (0 (null)) openhab2-online (0 (null)) openhab2-offline (0 (null)) 
Provides: 
2.1.0-1 - 
2.0.0-1 - 
Reverse Provides:

Ah, there’s been a fair few changes since the last beta. Mainly, there’s no version of online and offline anymore. Just “openhab2” so if you sudo apt-get install openhab2 it will remove the old version and put you on a new one.

You may wish to read any other changes that may affect you first:

Hope that helps!

Also: If you’re after having all addons available offline just as in the “openhab2-offline” package, you can `apt-get install openhab2-addons".

That did the trick - many thanks.

1 Like