.b5 will have online and offline variants, but these have been since merged into one for RC1 and up and no new version of offline/online exists.
To upgrade, you should only need apt-get install openhab2
which will remove the old version automatically. From then on, upgrade will work as you intend.