Bug#614298: multiarch: apt-get remove of foreign-arch package removes wrong one
On Sun, Mar 6, 2011 at 05:39, Steve Langasek <email@example.com> wrote:
> Please find attached a tentative patch for this issue. It's not exactly the
> most elegant, but it seemed to be the best we can do without changing the
> libapt ABI. If you prefer a different solution, please let me know and I
> can give it a try.
Sry for not looking at it earlier myself.
I am still quiet busy with carnival duties and exams…
Anyway, fine for now beside that i would use I->Pkg.FullName() instead
of the handmade Name:Arch. Returns also only a std::string…
Adding it to the mmap is properly not worthed it as we don't need it in
performance critical operations - and while i have no real figures a small
"apt-cache pkgnames > names.log" test generates a 472kb file.
This would mean if we save the fullname in the mmap we would add
~1 MB to the mmap… (with 41601 packages available currently).