(11-01-2016, 03:44 PM)kflorek46 Wrote:(11-01-2016, 02:10 AM)Trond Wrote: it gave me:
The following packages have unmet dependencies:
openjdk-8-jre-headless:armhf : Depends: libcups2:armhf but it is not going to be installed
You could try installing also libcups2:armhf, either before installing java, or on the same line
Code:sudo apt-get install openjdk-8-jre-headless:armhf libcups2:armhf
and if apt gives you more files it is not going to install, add those. Unfortunately, this sometimes leads to a chain reaction of dependencies to dozens or hundreds of files, which can mess with all your programs. I hope not.
libcups is part of cups, the printing system, so the reason for not installing libcups: armhf could be that it would conflict with the already installed 64 bit versions of the same files. You could then "force install" things ( with -f ) but that could mess up printing of everything, or just printing with 32 bit java.
Code:sudo apt-get install -f openjdk-8-jre-headless:armhf
or
Code:sudo apt-get install -f openjdk-8-jre-headless:armhf libcups2:armhf
I have not tried any of this to verify that it is exactly correct, or that it succeeds. This is just how these things are generally dealt with. When dependencies cannot be met, the only reason is supposed to be that installation cannot succeed. But it is more often a bug in how the dependencies are handled.
It is easy to mess up debian when trying something "different".
Hi.
I tried to install the libcups2:armhf
And it did come up with other missing packages, and it continued and continued.
So I gave up and installed Oracle java (but installed 64bit, and could not force it to run as 32bit)
I will try to find a 32bit installer to night.
In my opinion all Pine64 distros ment for Openhab should have 32bit pre-installed.
And user could manually choose wich java to use by running
Code:
update-alternatives --config java
I need 32bit to be able to run my zwave USB stick.
Dont know if openJDK is any better than Oracle for Openhab ??