[Pbuilder-maint] Bug#401863: "EOF on stdin at conffile prompt" when upgrading to etch

Max Kellermann max at duempel.org
Wed Dec 6 14:08:39 CET 2006


Package: pbuilder
Version: 0.161
Tags: patch

I am trying to create a base.tgz with "pbuilder create".  The
cdebootstrap installs a sarge base system, and then upgrades part of
the system to backports from OTHERMIRROR.  DEBIAN_FRONTEND is set to
noninteractive.  It dies when it tries to upgrade dpkg from 1.10.28 to
1.13.24:

Configuration file `/etc/dpkg/dpkg.cfg'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** dpkg.cfg (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing dpkg
 (--configure):
 EOF on stdin at conffile prompt
Errors were encountered while processing:
 dpkg
E: Sub-process /usr/bin/dpkg returned an error code (1)
 -> Aborting with an error

-------------- next part --------------
--- pbuilder-createbuildenv.orig	2006-12-06 14:06:17.000000000 +0100
+++ pbuilder-createbuildenv	2006-12-06 14:06:19.000000000 +0100
@@ -87,7 +87,7 @@
     $CHROOTEXEC /usr/bin/dpkg --purge $REMOVEPACKAGES
 fi
 recover_aptcache
-$CHROOTEXEC /usr/bin/apt-get -y --force-yes dist-upgrade
+$CHROOTEXEC /usr/bin/apt-get -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade
 $CHROOTEXEC /usr/bin/apt-get -y --force-yes install build-essential dpkg-dev apt $EXTRAPACKAGES
 save_aptcache
 


More information about the Pbuilder-maint mailing list