错误
$ apt-get install openjdk-9-jdk
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
原因
$ sudo dpkg --configure -a
依赖问题
解决
$ sudo dpkg -i --force-overwrite /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
$ sudo apt-get -f install