tdaitx / java-swing-ayatana

Automatically exported from code.google.com/p/java-swing-ayatana
0 stars 0 forks source link

Unmet dependencies if you have installed the latest oracle jre #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi

first of all, thanks for the great work you have done!

* What steps will reproduce the problem?
If you have installed the latest _oracle_ java packages on your system, 
installing jayatana results in unmet dependencies. This is because the oracle 
java package states to the apt system it provides "java7-runtime" and 
"java6-runtime" but jayatana states to apt that it depends on 
"default-jre|openjdk-7-jre|openjdk-6-jre".

* What is the expected output? What do you see instead?
Jayatana works fine on my system with only the oracle jre installed, but apt 
says, that I have unmet dependencies and wants to install a additional jre 
(Iced-Tea jre for example). I don't want that.

* What version of the product are you using? On what operating system?
Ubuntu 13.10

* Please provide any additional information below.
Please repack your deb packages and alter the dependencies string to:
"default-jre|openjdk-7-jre|openjdk-6-jre|java7-runtime|java6-runtime"

Regards
Christoph

Original issue reported on code.google.com by cspe...@gmail.com on 5 Feb 2014 at 10:11

GoogleCodeExporter commented 8 years ago
The java 7-runtime and java 6-runtime aren't on official Ubuntu repositories, 
what is the repository of packages?

Original comment by danjaredg on 6 Feb 2014 at 4:13

GoogleCodeExporter commented 8 years ago
It's true. I am using the oab-java script, that allows me to install a new java 
version immediately after it was released by oracle:

https://github.com/flexiondotorg/oab-java6

It simply downloads the install binaries from the oracle homepage and creates a 
deb package out of it. I have no clue where it takes the "provides" attribute 
from (I couldn't find it in the script itself). 

Original comment by cspe...@gmail.com on 6 Feb 2014 at 7:16

GoogleCodeExporter commented 8 years ago
an apology, but the reason that "ubuntu" remove java from repositories is for 
new Java Oracle licence. "Oracle" doesn't let redistribute to Java for third 
party.

I'm not sure that the oab-java script is 100% legal

Original comment by danjaredg on 6 Feb 2014 at 5:56