java6 rte was broken while installing , making synaptic package manager hang up

Asked by drsaid on 2008-11-29

i was installing java 6 , by the command line interface, then hanged up,, then the package apport
i tryied to remove , but dont , it sayesThe following details are provided:
E: sun-java6-jre: Package is in a very bad inconsistent state - you should
, how can i remove and repair my package manager

ProblemType: Package
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 8.10
ErrorMessage: Package is in a very bad inconsistent state - you should
Package: sun-java6-jre 6-10-0ubuntu2 [modified: /var/lib/dpkg/info/sun-java6-jre.list]
PackageArchitecture: all
SourcePackage: sun-java6
Title: package sun-java6-jre 6-10-0ubuntu2 [modified: /var/lib/dpkg/info/sun-java6-jre.list] failed to install/upgrade: Package is in a very bad inconsistent state - you should
Uname: Linux 2.6.27-9-generic i686

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Last query:
2008-11-29
Last reply:
2009-02-07
drsaid (drphsdsk) said : #1
Florian Diesch (diesch) said : #2

Thank you for taking the time to report this issue and helping to make Ubuntu better.

Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs

Florian Diesch (diesch) said : #3

You need to install the package first before you can remove it. Currently the package seems to be only half-installed, so just install it again.

James Stansell (jamesstansell) said : #4

To play online java games you need a browser plugin package installed. Try the sun-java6-plugin package. If that doesn't work please let us know.

How to install Java

To install sun-java6

Please first enable the multiverse repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]
enable "Software restricted by copyright or legal issue ( multiverse )"
Close and confirm the repository reload.

Then open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo aptitude update
sudo apt-get upgrade
sudo aptitude install sun-java6-jre sun-java6-plugin

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

Hope this helps

i cant play ajava game so i uninstaled java so now i dont know how to re install it on ubuntu some one plz help

Tom (tom6) said : #7

    Is the java game in firefox web-browser? If so maybe open the web-browser and go to
Tools - Add-ons
    In the pop-up box choose
Get Add-ons
    Look in there or else try search in Synaptic (System - Administration - Synaptic near the bottom)

Alternatively read Marcoba's excellent guide in the post immediately prior to yours

Good luck and welcome to Linux :)

Tom (tom6) said : #8

umm, follow MarCobra's advice - he seems an expert or installing/uninstalling packages from what i've seen in other Answers. Mine is a bit iffy. Just follow the link into Launchpad to re-read his advice.

Good luck
Tom :)

Tom (tom6) said : #9

If you are still having trouble with this then please post it as a new question. Only the most recent questions tend to get looked at so posting/reposting a question just before america arrives online gives the best chance of getting a good few answers.

If the problem has been resolved then please follow the link to the forum thread and mark it as Solved.

Good luck and many regards from
Tom :)

Can you help with this problem?

Provide an answer of your own, or ask drsaid for more information if necessary.

To post a message you must log in.