oracle-java8-jdk instllation have unmet dependencies
Below package debian created with 'java-package' utility, while trying to install it on target machine, getting below errors:
root@mysys-1:~# apt install ./oracle-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'oracle-java8-jdk' instead of './oracle-
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
oracle-java8-jdk : Depends: libgl1-mesa-glx but it is not installable or
E: Unable to correct problems, you have held broken packages.
root@mysis-1:~#
I see DEBIAN/control contains depends atrribute on 'java-package' version 0.61 which does not exist in previous versions.
Depends: java-common, libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.12), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.10.0), libfontconfig1 (>= 2.11.94), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.2), libgdk-pixbuf2.0-0 (>= 2.22.0), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.20.0), libgtk-3-0 (>= 3.0.0), libgtk2.0-0 (>= 2.24.0), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libx11-6, libxext6, libxi6, libxrender1, libxtst6, libxxf86vm1
my question is:
1) why 'Depends' attributed added in newer version of 'java-package' ?
2) what's impact if 'depends' attributes were removed while building the package ?
3) how to resolve above dependency errors ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: