[Pbuilder-maint] Bug#448562: Bug#448562: pbuilder-satisfydepends-classic should pass --no-install-recommends to apt-get

Junichi Uekawa dancer at netfort.gr.jp
Thu Nov 1 00:44:18 UTC 2007


Hi,

> This also hits /usr/lib/pbuilder/pbuilder-satisfydepends-aptitude, which
> installs aptitude with apt-get without using the newly introduced
> --no-install-recommends:
> 
> | $CHROOTEXEC apt-get -y --force-yes install aptitude
> 
> This installs a lot of packages, that are not really necessary. The
> workaround for the moment: Add
> 
> APT::Install-Recommends "false";
> 
> to apt.conf in ${APTCONFDIR} and then run pbuilder with
> --override-config.

I think that adding 'APT::Install-Recommends "false";' depending on
apt version inside chroot sounds like a better solution.  Changing
command-line option will need a lot of changes in different places.

It will however affect user sessions (pbuilder login and execute) as a
side-effect, but we should work-around by documenting that.

How does that sound?




regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project





More information about the Pbuilder-maint mailing list