The behavior here is correct, the memonly attribute constructs the cache
in memory, but you still need the directories where the lists files are
in so you can read them, and you can still update lists files, download
packages, etc pp.
Without the var/lib/apt/lists directory at least, the cache would just
fail to build as it can't open the directory to iterate it.
Generally speaking you'll be better off using apt_pkg directly instead
of the apt package with its hidden magic. It stands to reason nobody
should be using apt because it generally leads to headscratchingly slow
code that you're not going to understand.
** Changed in: python-apt (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2039217
Title:
python apt Cache(memonly=True) does not behave as if memonly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2039217/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs