How to uninstall java6

Posted by infaustus on Ask Ubuntu See other posts from Ask Ubuntu or by infaustus
Published on 2012-06-11T09:57:29Z Indexed on 2012/06/11 10:47 UTC
Read the original article Hit count: 364

Filed under:
|
|
|

I am trying

root@vz10931:/var/www/mailer# apt-get remove --purge sun-java6-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run apt-get -f install to correct these:
The following packages have unmet dependencies:
  sun-java6-jdk: Depends: sun-java6-bin (>= 6.24-1build0.8.04.1) but it is not going to be installed
  sun-java6-jre: Depends: java-common (>= 0.24) but it is not installable
                 Depends: sun-java6-bin (>= 6.24-1build0.8.04.1) but it is not going to be installed or
                          ia32-sun-java6-bin (>= 6.24-1build0.8.04.1) but it is not installable
  vim: Depends: vim-common (= 1:7.1-138+1ubuntu3.1) but 2:7.3.154+hg~74503f6ee649-2ubuntu3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Below are my sources.list

deb http://pl.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

Ubuntu version - Hardy Heron

Anyone know how to remove java ?

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about java