[Bug 1268684] [NEW] [mk-sbuild] mk-sbuild creates schroots with install-recommends enabled

Steve Beattie sbeattie at ubuntu.com
Mon Jan 13 18:23:09 UTC 2014


Public bug reported:

mk-sbuild by default for ubuntu and debian schroots runs debootstrap
with the --no-install-recommends to keep the generated chroots as
minimally installed as possible. However, for ubuntu schroots, the
resulting chroot is still configured with install-recommends enabled in
its apt configuration:

  $ schroot -c trusty-amd64 apt-config dump APT::Install-Recommends
  APT::Install-Recommends "1";

This results in a schroot that differs in build dependency resolution
behavior from the buildds, which has install-recommends disabled by
default. I noticed this difference when a local sbuild succeeded because
a (recently split out) recommended package got pulled into the chroot,
but failed when built in a buildd.

As long as the buildds don't use sbuild from the archive, there's always
going to be (the possibility of) some differences in dependency
resolution; however, it seems wise to try to minimize those differences
so as to give developers an environment that matches the buildds as
close as possible.

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1268684

Title:
  [mk-sbuild] mk-sbuild creates schroots with install-recommends enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1268684/+subscriptions




More information about the universe-bugs mailing list