无法在 Lubuntu 17.04 上安装 Oracle Java - 安装自行中止

无法在 Lubuntu 17.04 上安装 Oracle Java - 安装自行中止

我正在尝试从这个 PPA 安装 Oracle 的 Java

    sudo apt-add-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java8-installer

但是我输入第三个命令后就发生了这种情况。

    lubuntu-hs@lubuntuhs-Satellite-C55D-A:~$ sudo apt-get install 
    oracle-java8-installer
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following additional packages will be installed:
      gsfonts-x11 java-common libxfont1 oracle-java8-set-default 
    xfonts-encodings
      xfonts-utils
    Suggested packages:
    binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-
    core
      ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho
      | ttf-sazanami-mincho ttf-arphic-uming
    The following NEW packages will be installed:
      gsfonts-x11 java-common libxfont1 oracle-java8-installer
      oracle-java8-set-default xfonts-encodings xfonts-utils
    0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
    Need to get 797 kB of archives.
    After this operation, 1,579 kB of additional disk space will be 
    used.
    Do you want to continue? [Y/n] y
    Abort.

无论我在 Y/N 点做什么,任何操作都会导致我的终端吐出

    Abort.

编辑:通过 Synaptic 安装不会出现同样的问题。对于遇到同样问题的人,请改用 Synaptic。

相关内容