[buildd-tools-devel] Bug#807488: Bug#807488: sbuild-update: please run -d with --no-install-recommends

Johannes Schauer josch at debian.org
Wed Dec 9 15:04:59 UTC 2015


Hi,

Quoting Adam Borowski (2015-12-09 14:31:10)
> As per apt's defaults, whenever a package that's a part of the sbuild chroot
> gains a new Recommends:, that recommendation will be installed.  This
> default makes sense for regular apt uses outside of sbuild, but in sbuild's
> context, it goes against the aim of a minimal chroot.  It'll allow missing
> build-dependencies to sneak through unnoticed, and makes fresh chroots
> differ from updated ones.
> 
> Thus, please make sbuild-update pass --no-install-recommends to apt.

This is entirely reasonable and should be done that way but can you give me a
way how to reproduce this problem?

I never experienced the problem myself and looking at the code in
ResolverBase.pm it seems that sbuild already calls apt with a custom
configuration file /var/lib/sbuild/apt.conf which contains

APT::Install-Recommends false;

So I don't understand how you got apt as used by sbuild installing Recommends.

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151209/0fe1be42/attachment.sig>


More information about the Buildd-tools-devel mailing list