PDA

View Full Version : [ubuntu] Java runtime is killing package managers



Matt_Rapp
December 28th, 2009, 07:17 PM
I just did a clean upgrade to 9.10 and after installing a few packages in the new software center and setting up catalyst I rebooted and got an error message. I have tried doing sudo dpkg --configure -a as was recommended to no avail. There is some kind of dependency issue going on with java6 rte, but I can't figure out how to stop it, I don't want to install java all that much. I also have tried sudo apt-get remove sun-java6-plugin and apt-get -f install but that didn't work either.

check out the screenshot

http://ubuntuforums.org/attachment.php?attachmentid=141501&d=1262024175

I would like to fix this error if it will be quick and semi-easy otherwise I'll just reinstall again tonight.

gradinaruvasile
December 28th, 2009, 07:23 PM
Open a terminal and type:

sudo apt-get install -f

It should install the missing dependency - sun-java6-bin
If not, install it manually:

sudo apt-get install sun-java6-bin

Matt_Rapp
December 28th, 2009, 07:57 PM
Tired the first first option, failed so did as suggested



matt@matt-desktop:~$ sudo apt-get install -f
[sudo] password for matt:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
matt@matt-desktop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of sun-java6-plugin:
sun-java6-plugin depends on sun-java6-bin (= 6-15-1); however:
Package sun-java6-bin is not installed.
dpkg: error processing sun-java6-plugin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
sun-java6-plugin


Then I tried manually installing it but I got to a blue EULA-ish screen that wants my approval before continuing but hitting enter, typing Ok, ok, y and Y do not work. Here is a screen-shot, how should I get past this screen?

http://ubuntuforums.org/attachment.php?attachmentid=141504&d=1262026530

http://ubuntuforums.org/attachment.php?attachmentid=141505&d=1262026530

Mze
December 28th, 2009, 08:21 PM
use the TAB key

gradinaruvasile
December 28th, 2009, 08:27 PM
Interesting situation...

Dd you tried to remove the -plugin package? And then install the -jre package and the -plugin?

oldos2er
December 28th, 2009, 09:14 PM
Then I tried manually installing it but I got to a blue EULA-ish screen that wants my approval before continuing but hitting enter, typing Ok, ok, y and Y do not work. Here is a screen-shot, how should I get past this screen?


As Mze said, use Tab to highlight "Ok" then press Enter.

chenxiaolong
December 28th, 2009, 10:19 PM
or use the right arrow key and press Enter.