Comment 5 for bug 272410

Revision history for this message
In , James Westby (james-w) wrote :

Hi,

Using the apt backend you quite often get the error message

"The backend took too much time to process the synchronous request - you need to fork!"

which stops the operation. If you choose a long operation, e.g.
"all packages" in gpk-application and you get this error then
the gui is unusable for a couple of minutes as the "Package"
signals from your request are being emitted, so if you choose
a category then more packages are shown than what is in this
category.

One of my comments from the Ubuntu bug report:

"I can reproduce it reliably enough searching for a package in
gpk-application that I could investigate more.

Running the backend in debug mode shows that each time it is in
the

  DEBUG:Check apt cache and xapian database

phase when it gives the error.

Presumably this machine takes a little too long to open the databases,
leading to the error."

Originally reported at

  https://bugs.launchpad.net/bugs/272410

Thanks,

James