PDA

View Full Version : [ubuntu] Cannot Update Ubuntu



fgerst
December 31st, 2008, 12:17 AM
I have not been able to update. When I go to update, I cannot unselect SunJava. SunJava will not reinstall or update; when I go to accept the terms and conditions, I cannot select the box to agree and the package manager crashes. I have repeatedly attempted to completely remove the broken package, but I get an error message saying it could not remove it because it was in such an inconsistent state. Help!

taurus
December 31st, 2008, 01:28 AM
Hit the Tab key to highlight the <OK> and Return key to accept it.

namdung
December 31st, 2008, 01:45 AM
In terminal

sudo apt-get update

If any error

sudo dpkg --configure -a

Now install sun-jre

sudo apt-get install sun-java6-jre

Remember to tick on agree option while installing.