Your message dated Sun, 21 Oct 2012 22:02:55 -0400
with message-id 
<CANTw=MMsEb7vS1==ogwnu0tw61v3mhvax+faqbkkkfx2af0...@mail.gmail.com>
and subject line re: dh_installcatalogs: "catalog is now a conffile prompt" if 
the old (pre-conffile) package was removed, but not purged
has caused the Debian Bug report #681194,
regarding dh_installcatalogs: "catalog is now a conffile prompt" if the old 
(pre-conffile) package was removed, but not purged
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
681194: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681194
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: debhelper
Version: 9.20120608
Severity: serious

Hi,

the preinst snippet created by dh_installcatalogs does not handle
upgrading from a previously removed package, so dpkg shows you the
"foo.cat File on system created by you or by a script." prompt.

The preinst contains
  if [ "$1" = "upgrade" ] && ! dpkg-query -S /etc/sgml/jade.cat >/dev/null 
2>&1; then
which handles regular upgrades, but the preinst will be called
  <new-preinst> install <old-version>
if the package is in "configuration files only" state
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

Setting the severity to serious as this breaks certain upgrade paths.
All packages using dh_installcatalogs will need to be rebuilt to get
this fixed.

I'm attaching an example piuparts upgrade log from jade.

[there was a successful apt-get install jade, followed by apt-get remove jade]
  Selecting previously unselected package jade.
  (Reading database ... 8092 files and directories currently installed.)
  Unpacking jade (from .../jade_1.2.1-47.1+b1_amd64.deb) ...
  Processing triggers for sgml-base ...
  Updating the super catalog...
  Setting up jade (1.2.1-47.1+b1) ...
  
  Configuration file `/etc/sgml/jade.cat'
   ==> 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.
  *** jade.cat (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing jade 
(--configure):
   EOF on stdin at conffile prompt
  Errors were encountered while processing:
   jade



Andreas

Attachment: jade_1.2.1-47.1+b1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
version: 9.20120830

Re-closing since the issue is being specifically handled in the one
problematic package.

Best wishes,
Mike

--- End Message ---

Reply via email to