[Pkg-kde-extras] Bug#656089: icecc: prompting due to modified conffiles which where not modified by the user
Holger Levsen
holger at layer-acht.org
Mon Jan 16 11:40:21 UTC 2012
Package: icecc
Version: 0.9.7-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
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 icecc (0.9.7-4) ...
Configuration file `/etc/default/icecc'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
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.
*** icecc (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing icecc (--
configure):
EOF on stdin at conffile prompt
Setting up g++-4.4 (4.4.6-14) ...
configured to not write apport reports
Setting up libstdc++6-4.6-dev (4.6.2-11) ...
Setting up libstdc++6-4.4-dev (4.4.6-14) ...
Setting up g++-4.6 (4.6.2-11) ...
Setting up g++ (4:4.6.1-3) ...
Errors were encountered while processing:
icecc
E: Sub-process /usr/bin/dpkg returned an error code (1)
cheers,
Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icecc_0.9.7-4.log
Type: text/x-log
Size: 118504 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20120116/4dfd0aeb/attachment-0001.bin>
More information about the pkg-kde-extras
mailing list