Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There was some mistake when i was trying to install sun java on my Ubuntu 10.10

Now when I try to install any new software it shows the following Dialogue Box. Please if you know how to solve this problem, Help me.

Dialogue Box:

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 and retry.

Details: Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/aptdaemon/", line 768, in simulate return self._simulate_helper(trans, status_path)

File "/usr/lib/python2.6/dist-packages/aptdaemon/", line 936, in _simulate_helper return depends, status, self._cache.required_download, \

File "/usr/lib/python2.6/dist-packages/apt/", line 218, in required_download pm.get_archives(fetcher, self._list, self._records) SystemError: E:I wasn't able to locate file for the sun-java6-jre package. This might mean you need to manually fix this package.

Also another Dialogue Box comes that tells me to repair package catalog. But when I click repair, Nothing happens and that Dialogue Box comes again in few seconds.

share|improve this question

migrated from Jun 8 '11 at 12:52

This question came from our site for professional and enthusiast programmers.

this is not a programming question – Thomas Jungblut Jun 8 '11 at 12:50
what does "some mistake" mean? – Thorbjørn Ravn Andersen Jun 8 '11 at 13:00

Looks like your package manager can't find the package.

First of all run sudo apt-get update from a console and look what it's telling you.

After that try installing the package again, if it still fails to find the Sun JRE try the package openjdk-jre or openjdk-jre-headless.

share|improve this answer

You must log in to answer this question.