Ubuntu – Apt-Daemon problem due to a broken sun-java6-jre package


I am having problems with installation with everything in the software center.

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate
    trans.unauthenticated = self._simulate_helper(trans)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper
    return depends, self._cache.required_download, \
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate a file for the sun-java6-jre package. This might mean you need to manually fix this package.


Best Answer

Here is what I think you should do:

sudo apt-get --configure -a 
sudo apt-get update 
sudo apt-get upgrade 

I'm not sure but I think this might help...

Related Question