dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
Encountered the same problem:
dpkg: error processing archive /var/cache/ apt/archives/ openjdk- 9-jdk_9~ b114-0ubuntu1_ amd64.deb (--unpack): jvm/java- 9-openjdk- amd64/include/ linux/jawt_ md.h', which is also in package openjdk- 9-jdk-headless: amd64 9~b114-0ubuntu1
trying to overwrite '/usr/lib/