Package: cowbuilder
Severity: normal
Dear maintainer,
even though I will be writing a lot about pbuilder, I am pretty sure
that this is a cowbuilder issue.
When running cowbuilder there is a warning:
> W: --override-config is not set; not updating apt.conf Read the
manpage for details.
This warning is coming from pbuilder. I located the related pbuilder
source code. Quote:
pbuilder-checkparams:
--mirror)
MIRRORSITE="$2";
OVERRIDE_APTLINES_WARN=yes
shift; shift;
;;
--distribution)
DISTRIBUTION="$2";
OVERRIDE_APTLINES_WARN=yes
shift; shift;
;;
pbuilder-modules:
# installaptlines may fail with exit 1, do it earlier than mountproc.
if [ "$OVERRIDE_APTLINES" = "yes" ]; then
installaptlines
else # Warn if override config is not set
if [ "$OVERRIDE_APTLINES_WARN" = "yes" ]; then
log.w "--override-config is not set; not updating apt.conf Read the
manpage for details."
fi
fi
Now, why is this a cowbuilder issue? Because cowbuilder passes
'--mirror' and '--distribution' parameters to pbuilder. When the user
does not pass these parameters to cowbuilder, then...
Not using '--mirror' results in cowbuilder automatically passing to
pbuilder:
--mirror http://you-have-broken-debconf-configuration.example.com/
Not using '--distribution' results in cowbuilder automatically passing
to pbuilder:
--distribution sid
Passing these parameters to pbuilder seems to be hardcoded in cowbuilder
source code file 'cowbuilder.c'.
I don't know how it was in the past but it seems nowadays hardcoding
passing these parameters from cowbuilder to pbuilder is no longer useful
and only producing a superfluous warning.
Cheers,
Patrick