Comment 6 for bug 716599

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Ah, sorry forgot about this. At UDS David and I initially discussed it and did agree that the error was coming from APT. I had to get somewhere so I quickly came here and sent the bug back to new. We later went through QApt's code and found that its function for calculating download used a fetcher that could potentially raise errors. These errors were not being cleared from APT's error system, so when QApt went to reload the cache the errors would still be there, tripping up QApt in to thinking that the cache reload failed.

QApt now discards all errors incurred in its downloadSize() function, fixing this issue. I'd like to apologize for not giving a decent explanation for setting the bug back to new, and for forgetting about the Launchpad bug for this long after UDS.