Não é possível remover o openjdk sem ter uma versão mais antiga instalada, como posso fazer isso?

1

Estou executando o Ubuntu 14.04.1 de 64 bits com o Oracle Java instalado, portanto, eu gostaria de desinstalar o openjdk , mas quando tento desinstalá-lo pela linha de comando, recebo a seguinte saída:

~$ sudo apt-get remove openjdk-7-jre openjdk-7-jre-headless 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  launchpad-getkeys linux-image-3.13.0-43-generic
  linux-image-extra-3.13.0-43-generic python-appindicator python-keyring
  python-launchpadlib python-lazr.restfulclient python-lazr.uri python-oauth
  python-secretstorage python-wadllib xclip yad
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx openjdk-6-jre
  openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra
Suggested packages:
  icedtea-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 default-jre-headless octave openjdk-7-jre openjdk-7-jre-headless
The following NEW packages will be installed:
  icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx openjdk-6-jre
  openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra
0 upgraded, 7 newly installed, 5 to remove and 0 not upgraded.
Need to get 37.8 MB of archives.
After this operation, 3,122 kB disk space will be freed.
Do you want to continue? [Y/n] 

que indica que outra versão (antiga) de openjdk será instalada após remover openjdk-7-jre e openjdk-7-jre-headless . Eu já tenho o Oracle Java instalado, então eu quero desinstalar openjdk sem mexer no gerenciador de pacotes, como posso fazer isso?

    
por Vesnog 04.02.2015 / 00:16

0 respostas