ptmuldoon
(Paul Muldoon)
January 17, 2017, 8:02pm
1
Is it possible to change your install from a Release version to the latest snapshot via an upgrade?
I did the following, but seems stayed at the current release.
Stopped OH2
Removed the sources.list
Readded the snapshot list
Apt-update and Apt-upgrade
But OH2 didn’t update and stayed at the current version.
Python
(Chris)
January 17, 2017, 8:35pm
3
With the new sources in place and OH2 stopped.
I ran “sudo apt-get install openhab2” and it upgraded me to the snapshot build while maintainting all my configs. Backup just in case !
i was able to verify this by ssh’ing into karaf and seeing the build #
1 Like
ptmuldoon
(Paul Muldoon)
January 17, 2017, 8:53pm
4
@Python
That seems to have worked, but I seem unable to connect into the Karaf Console to confirm.
ptmuldoon@OpenHab2:~$ ssh openhab@localhost -p 8101
Unable to negotiate with 127.0.0.1 port 8101: no matching host key type found. Their offer: ssh-dss
Dim
(Angelos)
January 17, 2017, 8:54pm
5
Try to remove from your stored config the existing key. Maybe this will help:
ssh-keygen -f "/root/.ssh/known_hosts" -R [localhost]:8101
1 Like
ptmuldoon
(Paul Muldoon)
January 17, 2017, 8:59pm
6
Yes I tried that but it did’t work.
This could have been caused by an update and upgrade to Ubuntu itself. A google search said to add the “-oHostKeyAlgorithms=+ssh-dss” to the argument
So this did work,
ssh -oHostKeyAlgorithms=+ssh-dss openhab@localhost -p 8101
ssh
3 Likes