aptdaemon not working

Bug #671317 reported by Nitin
20
This bug affects 4 people
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://launchpad.net/aptdaemon/+filebug and retry."

and in details section I get to see this
"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)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 936, in _simulate_helper
    return depends, status, self._cache.required_download, \
  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."

PS:I have attached a screenshot of the error!!

Revision history for this message
Nitin (nitinclix-deactivatedaccount) wrote :
Revision history for this message
Nitin (nitinclix-deactivatedaccount) wrote :

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!!

Changed in aptdaemon:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.