I am not able to install any new software on my ubuntu 10.10
<p>There was some mistake when i was trying to install sun java on my Ubuntu 10.10</p>

<p>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.</p>

<p>Dialogue Box:</p>

<p><strong>An unhandlable error occured</strong></p>

<p>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 <a href="http://launchpad.net/aptdaemon/+filebug" rel="nofollow">http://launchpad.net/aptdaemon/+filebug</a> and retry.</p>

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

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

<p>File "/usr/lib/python2.6/dist-packages/apt/cache.py", 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.</p>

<p>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.</p>
