aptdaemon not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aptdaemon |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I need to install games on my ubuntu 10.10, in course of doing so, I get an error with a dialog box pooping up and reads as
"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 http://
and in details section I get to see this
"Traceback (most recent call last):
File "/usr/lib/
return self._simulate_
File "/usr/lib/
return depends, status, self._cache.
File "/usr/lib/
pm.
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."
PS:I have attached a screenshot of the error!!
I solved it. All you need to do is to go to terminal and type in "sudo gedit /var/lib/ dpkg/status" (w/o the quotes), now before we go ahead and troubleshoot this issue, I would like to tell you that this error was intermittent because of incomplete installation. Look at this error message "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."
So after you have typed in sudo gedit /var/lib/ dpkg/status on terminal with root privileges, you will see a gedit (or any default text editor you have got), find the part where it's got " sun-java6-jre", you will notice that installation status is "incomplete", now delete the whole part, save the file and quit terminal. You can have aptdaemon up and running as usual!!