Install sun-jave6-jdk E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Asked by Raghu natrajan

I tried to install java6-jdk and while jre was configuring electricity went off:
I tried again: This is the result:
raghu@ubuntu:~$ sudo apt-get install sun-java6-jdk
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.22-0ubuntu1~10.10) but it is not going to be installed
                 Recommends: visualvm but it is not going to be installed
 sun-java6-jre : Depends: sun-java6-bin (>= 6.22-0ubuntu1~10.10) but it is not going to be installed or
                          ia32-sun-java6-bin (>= 6.22-0ubuntu1~10.10) but it is not installable
                 Recommends: gsfonts-x11 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
How to solve this:

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
GREG T.
Solved:
Last query:
Last reply:
Revision history for this message
GREG T. (ubuntuer) said :
#1

applications = software center = in the top right little window type in java a list of items will select open java runtime6 and install .

Revision history for this message
GREG T. (ubuntuer) said :
#2

sorry ! a list of items will show up select open java runtime 6

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

open a Terminal from the menu Applications->Accessories->Terminal, then please type:

sudo apt-get -f install

give your user password when requested, you don't see nothing when you type it, then press enter.

Revision history for this message
Raghu natrajan (swathisnr) said :
#4

Mr Greg T, when i tried to install, i got this message:
An unhandlable error occured
There seems to be a programming error in aptdaemon, the software that allows you
to install/remove software and to perform other package management related
tasks. Please report this error at http://launchpad.net/aptdaemon/+filebug and
retry.
Pl let me what to do.I am new to ubuntu and not a techie.

________________________________
From: GREG T. <email address hidden>
To: <email address hidden>
Sent: Wed, 1 December, 2010 6:54:38 PM
Subject: Re: [Question #136205]: E: Unmet dependencies. Try 'apt-get -f install'
with no packages (or specify a solution).

Your question #136205 on software-center in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/software-center/+question/136205

GREG T. proposed the following answer:
sorry ! a list of items will show up select open java runtime 6

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/software-center/+question/136205/+confirm?answer_id=1

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/software-center/+question/136205

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Please give us the result of "sudo apt-get -f install", thanks

Revision history for this message
Best GREG T. (ubuntuer) said :
#6

go to applications = accessories = terminal and copy and past this in there sudo apt-get -f install . then copy the results and past them here .

 when you enter your password you will not see it just press enter .

Revision history for this message
Raghu natrajan (swathisnr) said :
#7

Mr Greg T,

I updated through Update Manager and was able to download Java6-jdk.

Thanks for the help.