logan33
June 4th, 2016, 03:01 AM
I'm not sure why, but when I try to install openjdk-9-jdk the install fails...
Here is the console output:
logan@logan:~$ sudo apt-get install openjdk-9-jdkReading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
openjdk-9-demo openjdk-9-source visualvm
The following NEW packages will be installed:
openjdk-9-jdk
0 upgraded, 1 newly installed, 0 to remove and 173 not upgraded.
Need to get 0 B/16.5 kB of archives.
After this operation, 56.3 kB of additional disk space will be used.
(Reading database ... 214508 files and directories currently installed.)
Preparing to unpack .../openjdk-9-jdk_9~b114-0ubuntu1_i386.deb ...
Unpacking openjdk-9-jdk:i386 (9~b114-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_i386.deb (--unpack):
trying to overwrite '/usr/lib/jvm/java-9-openjdk-i386/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:i386 9~b114-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here is the console output:
logan@logan:~$ sudo apt-get install openjdk-9-jdkReading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
openjdk-9-demo openjdk-9-source visualvm
The following NEW packages will be installed:
openjdk-9-jdk
0 upgraded, 1 newly installed, 0 to remove and 173 not upgraded.
Need to get 0 B/16.5 kB of archives.
After this operation, 56.3 kB of additional disk space will be used.
(Reading database ... 214508 files and directories currently installed.)
Preparing to unpack .../openjdk-9-jdk_9~b114-0ubuntu1_i386.deb ...
Unpacking openjdk-9-jdk:i386 (9~b114-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_i386.deb (--unpack):
trying to overwrite '/usr/lib/jvm/java-9-openjdk-i386/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:i386 9~b114-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)