2

为什么如果我想删除 openjdk,apt-get 会安装新包。

sudo apt-get purge openjdk-6-jre
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  gcj-4.6-base gcj-4.6-jre gcj-4.6-jre-headless gcj-4.6-jre-lib gcj-jre gcj-jre-headless icedtea-7-jre-jamvm libbonobo2-0 libbonobo2-common libgcj-common
  libgcj12 libgcj12-awt libgnome2-0 libgnome2-bin libgnome2-common libidl-common libidl0 liborbit2 openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
Suggested packages:
  fastjar gcj-4.6-jdk gcj-jdk libbonobo2-bin libgcj12-dbg desktop-base icedtea-7-plugin sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho
  ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
The following packages will be REMOVED:
  default-jre* icedtea-netx* openjdk-6-jre*
The following NEW packages will be installed:
  gcj-4.6-base gcj-4.6-jre gcj-4.6-jre-headless gcj-4.6-jre-lib gcj-jre gcj-jre-headless icedtea-7-jre-jamvm libbonobo2-0 libbonobo2-common libgcj-common
  libgcj12 libgcj12-awt libgnome2-0 libgnome2-bin libgnome2-common libidl-common libidl0 liborbit2 openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
0 upgraded, 21 newly installed, 3 to remove and 0 not upgraded.
Need to get 49.7 MB/66.9 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Do you want to continue [Y/n]? 

为什么是“21新装”???。我只是想卸载 openjdk 而不是安装新软件包。也许是因为我安装了 libreoffice。PS。

4

0 回答 0