Thanks Barry, I added both of those to python-apt at: lp:~jconti/python-apt/closeable-cache
with fixes for both gdebi and oneconf: lp:~jconti/gdebi/closeable-cache lp:~jconti/oneconf/closeable-cache Stuck with del self._records to clean up the file descriptors since I took a look at the apt code for PackageRecords and it follows the usual C++ idiom of closing files on destruct. While debugging the gdebi code I found another way to reproduce this specific bug, just continue Refreshing (ctrl+r) until the eventual SystemError, though I'm not sure how one would run into it in normal circumstances. Doesn't help with the memory issues listed in bug #894314 but maybe oneconf can do some explicit garbage collection to keep memory reasonable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1051935 Title: Fails with SystemError when too many files are open To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1051935/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
