[Aptitude-devel] Bug#841347: Bug#841347: packages are not marked as auto "i A" in aptitude
biebl at debian.org
Wed Oct 19 22:44:00 UTC 2016
Am 20.10.2016 um 00:23 schrieb Axel Beckert:
> I have a slight suspicion that aptitude and apt might refer to
> different architectures of gobject-introspection in this case (in
> which both might be correct, just not displaying the expected or
> multiple packages).
I don't think this is the problem. I did some further debugging, and
tried with a freshly debootstrapped sid.
Running apt install ./gtk+3.0-build-deps_3.22.1-4_amd64.deb inside that
fresh chroot did lead to
Automatically installed: yes for gobject-introspection.
I went looking what the difference between the chroot and my real system is.
Turns out I have a /var/lib/aptitude/pkgstates. This file/db was created
in the past, when I manually changed the autostate with aptitude
So, the complete steps to reproduce the issue:
- create a fresh chroot via debootstrap
- start aptitude in interactive mode, select a random, non-related
package, say netbase, mark it as auto-installed via "M"
- exit aptitude and install the example deb via apt install ./...
- then check the auto state of gobject-introspection. It will now differ
between aptitude and apt.
The key here is, that you need to have a /var/lib/aptitude/pkgstates
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: OpenPGP digital signature
More information about the Aptitude-devel