Package: cyphesis-cpp Version: 0.6.0-3 Severity: serious User: debian...@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 https://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." https://wiki.debian.org/DpkgConffileHandling should help with figuring out how to do this properly. In https://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 postgresql (9.4+169) ... Setting up cyphesis-cpp (0.6.0-3+b1) ... Configuration file '/etc/cyphesis/cyphesis.vconf' ==> 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. *** cyphesis.vconf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package cyphesis-cpp (--configure): end of file on stdin at conffile prompt Setting up libdbus-1-3:amd64 (1.8.20-1) ... Setting up libreadline5:amd64 (5.2+dfsg-3) ... Processing triggers for libc-bin (2.19-19) ... Processing triggers for systemd (222-2) ... Errors were encountered while processing: cyphesis-cpp This is a followup to #767818 and can be observed on upgrades from squeeze (the last release that shipped cyphesis-cpp) to wheezy to jessie (always keeping cyphesis-cpp from squeeze installed) and finally to stretch (which again has a new version of cyphesis-cpp. You probably need to undo the editing performed by the predecessor packages in the preinst. cheers, Andreas
cyphesis-cpp_0.6.0-3+b1.log.gz
Description: application/gzip