Bug#607799: sbcl: prompting due to modified conffiles which where not modified by the user
Holger Levsen
holger at layer-acht.org
Wed Dec 22 11:58:21 UTC 2010
Package: sbcl,common-lisp-controller
Version: 1:1.0.40.0-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts piuparts.d.o
Hi,
during a test with piuparts I noticed your package failed the piuparts upgrade
test because dpkg detected a conffile as being modified and then prompted the
user for an action. As there is no user input, this fails. But this is not
the real problem, the real problem is that this prompt shows up in the first
place, as there was nobody modifying this conffile at all, the package has
just been installed and upgraded...
This is a violation of policy 10.7.3, see
http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.3, which
says "[These scripts handling conffiles] must not ask unnecessary questions
(particularly during upgrades), and must otherwise be good citizens."
http://wiki.debian.org/DpkgConffileHandling should help with figuring out how
to do this properly.
In http://lists.debian.org/debian-devel/2009/08/msg00675.html and followups it
has been agreed that these bugs are to be filed with severity serious.
From the attached log (scroll to the bottom...):
Setting up common-lisp-controller (7.4+nmu1) ...
Configuration file `/etc/lisp-config.lisp'
==> 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 : start a shell to examine the situation
The default action is to keep your current version.
*** lisp-config.lisp (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing
common-lisp-controller (--configure):
EOF on stdin at conffile prompt
dpkg: dependency problems prevent configuration of cl-asdf:
cl-asdf depends on common-lisp-controller (>= 5.11); however:
Package common-lisp-controller is not configured yet.
dpkg: error processing cl-asdf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sbcl:
sbcl depends on common-lisp-controller (>= 5.11); however:
Package common-lisp-controller is not configured yet.
dpkg: error processing sbcl (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
common-lisp-controller
cl-asdf
sbcl
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm not really sure where this bug belongs too, though. common-lisp-controller
alone upgrades successfully (see
http://piuparts.debian.org/lenny2squeeze/source/c/common-lisp-controller.html) -
also the version tested here (7.4+nmu1) does neither exist in squeeze nor
sid. So I will issue a retest now too.
cheers,
Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbcl_1:1.0.40.0-2.log
Type: text/x-log
Size: 151797 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-common-lisp-devel/attachments/20101222/12b1f213/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-common-lisp-devel/attachments/20101222/12b1f213/attachment-0001.pgp>
More information about the pkg-common-lisp-devel
mailing list