hi guys,
After several attempts i can’t upgrade to openhab 2.1 snapshot from openhabian OH2.0
I first installed openhabian. Than I took the following steps:
- wget -qO - ‘https://bintray.com/user/downloadSubjectPublicKey?username=openhab’ | sudo apt-key add -
sudo apt-get install apt-transport-https - echo ‘deb https://openhab.jfrog.io/openhab/openhab-linuxpkg unstable main’ | sudo tee /etc/apt/sources.list.d/openhab2.list
- sudo apt-get update
- sudo apt-get install openhab2
Did this two times but no succes.
What goes wrong?
This is a little part of the output on the terminal:
[09:31:20] openhabian@openHABianPi:~$ sudo apt-get install openhab2
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be upgraded:
openhab2
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/52.7 MB of archives.
After this operation, 1,618 kB of additional disk space will be used.
Reading changelogs… Done
(Reading database … 39643 files and directories currently installed.)
Preparing to unpack …/openhab2_2.1.0~20170601041314-1_all.deb …
Unpacking openhab2 (2.1.0~20170601041314-1) over (2.0.0-1) …
dpkg: error processing archive /var/cache/apt/archives/openhab2_2.1.0~20170601041314-1_all.deb (–unpack):
unable to clean up mess surrounding ./usr/share/openhab2/runtime/system/org/apache/felix/org.apache.felix.fram ework/5.6.1' before installing another version: Read-only file system dpkg: error while cleaning up: unable to restore backup version of
/usr/share/openhab2/runtime/system/org/apache/felix/org.apache.felix.scr.c ompat/1.0.4/org.apache.felix.scr.compat-1.0.4.jar’: Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of /usr/share/openhab2/runtime/system/org/glassfish/jersey/containers/jersey- container-servlet/2.22.2/jersey-container-servlet-2.22.2.jar': Read-only file system dpkg: error while cleaning up: unable to restore backup version of
/usr/share/openhab2/runtime/system/org/glassfish/jersey/containers/jersey- container-servlet-core/2.22.2/jersey-container-servlet-core-2.22.2.jar’: Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/openhab2/runtime/system/org/glassfish/jersey/bundles/repackaged /jersey-guava/2.22.2/jersey-guava-2.22.2.jar’: Read-only file system