[Bug 716599] Re: apt can't open package cache under certain circumstances
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. ** Package changed: apt (Ubuntu) => qapt (Ubuntu) ** Changed in: qapt (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to qapt in Ubuntu. https://bugs.launchpad.net/bugs/716599 Title: apt can't open package cache under certain circumstances To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qapt/+bug/716599/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 716599] Re: apt can't open package cache under certain circumstances
** Changed in: qapt (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to qapt in Ubuntu. https://bugs.launchpad.net/bugs/716599 Title: apt can't open package cache under certain circumstances To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qapt/+bug/716599/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 716599] Re: apt can't open package cache under certain circumstances
"(Putting back to new as discussed at UDS)" is not an explanation for a status change. Please summarize the discussion. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/716599 Title: apt can't open package cache under certain circumstances -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 716599] Re: apt can't open package cache under certain circumstances
(Putting back to new as discussed at UDS) ** Changed in: apt (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/716599 Title: apt can't open package cache under certain circumstances -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 716599] Re: apt can't open package cache under certain circumstances
I don't know what "reopen" means here, but if it uses pkgCacheFile it should throw away the entry instance and create a new one. pkgCache, depCache and all the others are using IDs to reference packages/versions/descriptions/whatever which are not stable between binary cache regenerations. If it doesn't it still has to throw away all these stuff, but it should consider using it as its easier to reuse instead of generating all the different caches "by hand". At least, i don't see what could be a bug in APT here as python-apt gets it right -- it is now able to even change the native architecture while running in multi-arch context, so i am setting it back to incomplete… ** Changed in: apt (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/716599 Title: apt can't open package cache under certain circumstances -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 716599] Re: apt can't open package cache under certain circumstances
No, since apt-get doesn't reopen the package cache over the course of the program. (It's single-shot) ** Changed in: apt (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/716599 Title: apt can't open package cache under certain circumstances -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 716599] Re: apt can't open package cache under certain circumstances
Can you reproduce this error with only using apt-get? ** Changed in: apt (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/716599 Title: apt can't open package cache under certain circumstances -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs