Using the test in debian bug 793360.

$ sudo apt-mark showmanual >before
$ sudo apt-get -o Debug::pkgDepCache::AutoInstall=true install ubuntu-standard
[...]
$ sudo apt-mark showmanual >after
$ diff -u before after
--- before      2017-10-04 11:36:41.967980781 -0700
+++ after       2017-10-04 11:37:47.615979019 -0700
@@ -119,6 +119,7 @@
 tar
 tzdata
 ubuntu-keyring
+ubuntu-standard
 util-linux
 vim
 xz-utils

Only ubuntu-standard was marked as manually installed and none of its
dependencies were.  ubuntu-standard has a section of "metapackages" and
some of my apt-config follows:

# apt-config dump | grep Sections
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "contrib/metapackages";
APT::Never-MarkAuto-Sections:: "non-free/metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Move-Autobit-Sections "";
APT::Move-Autobit-Sections:: "oldlibs";
APT::Move-Autobit-Sections:: "contrib/oldlibs";
APT::Move-Autobit-Sections:: "non-free/oldlibs";
APT::Move-Autobit-Sections:: "restricted/oldlibs";
APT::Move-Autobit-Sections:: "universe/oldlibs";
APT::Move-Autobit-Sections:: "multiverse/oldlibs";

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1721364

Title:
  Never-MarkAuto-Sections not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1721364/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to