[Aptitude-devel] Bug#841347: Bug#841347: packages are not marked as auto "i A" in aptitude

Axel Beckert abe at debian.org
Wed Oct 19 23:03:01 UTC 2016


Hi Michael,

Michael Biebl wrote:
> Am 20.10.2016 um 00:44 schrieb Michael Biebl:
> > 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"
> 
> At this point, you should have /var/lib/aptitude/pkgstates
> 
> > - 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
> 
> Removing that file again:
> 
> $ aptitude show gobject-introspection | grep Auto
> Automatically installed: yes
> 
> Once the pkgstates file exists, aptitude seems to no longer read the
> autobit state from apt.

Thanks for all these details! Seems as if there are still some corner
cases where aptitude doesn't sync the autoinstalled bit properly --
changing an autoinstalled bit manually without any install/remove
action seems to such a case according to your description.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list