11-01-2016, 03:44 PM
(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".