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
interactive mode.

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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to