Bug#852470: uctodata,libucto2: leftover conffiles after upgrades

Andreas Beckmann anbe at debian.org
Tue Jan 24 18:45:26 UTC 2017


Package: uctodata,libucto2
Severity: important
Control: found -1 0.4-1
Control: found -1 0.9.6-1

jessie-> sid upgrades:

ucto.maintscript is missing, doing rm_conffile on the conffiles shipped
in jessie (use 0.9.6-2~ as prior version, if this gets fixed in -2).
If there was a post-jessie version shipping more conffiles in /etc,
clean them up as well.

  ucto: obsolete-conffile /etc/ucto/exotic-eos.eos
  ucto: obsolete-conffile /etc/ucto/nl_afk.abr
  ucto: obsolete-conffile /etc/ucto/tokconfig-nl
  ucto: obsolete-conffile /etc/ucto/smiley.rule
  ucto: obsolete-conffile /etc/ucto/tokconfig-it
  ucto: obsolete-conffile /etc/ucto/standard-eos.eos
  ucto: obsolete-conffile /etc/ucto/tokconfig-sv
  ucto: obsolete-conffile /etc/ucto/tokconfig-fr
  ucto: obsolete-conffile /etc/ucto/exotic-quotes.quote
  ucto: obsolete-conffile /etc/ucto/tokconfig-nl-twitter
  ucto: obsolete-conffile /etc/ucto/tokconfig-es
  ucto: obsolete-conffile /etc/ucto/url.rule
  ucto: obsolete-conffile /etc/ucto/e-mail.rule
  ucto: obsolete-conffile /etc/ucto/tokconfig-nl-sonarchat
  ucto: obsolete-conffile /etc/ucto/es.abr
  ucto: obsolete-conffile /etc/ucto/tokconfig-fy
  ucto: obsolete-conffile /etc/ucto/tokconfig-de
  ucto: obsolete-conffile /etc/ucto/tokconfig-en
  ucto: obsolete-conffile /etc/ucto/ligatures.filter
  ucto: obsolete-conffile /etc/ucto/standard-quotes.quote

frog looks fine

stretch -> sid upgrades:

  libucto2:amd64: obsolete-conffile /etc/ucto/textcat.cfg

  uctodata: obsolete-conffile /etc/ucto/spa.abr
  uctodata: obsolete-conffile /etc/ucto/por.abr
  uctodata: obsolete-conffile /etc/ucto/nld_afk.abr

frog looks fine, too


That's not RC, the upgrades went smooth, but it would still be great to
get this cleaned up properly.

But lets take a detailed look what happened here:

  Unpacking uctodata (0.4-1) over (0.3.1-1) ...
  dpkg: warning: unable to delete old directory '/etc/ucto': Directory
not empty
  Setting up uctodata (0.4-1) ...
  Obsolete conffile /etc/ucto/es.abr has been modified by you.
  Saving as /etc/ucto/es.abr.dpkg-bak ...
  Removing obsolete conffile /etc/ucto/exotic-eos.eos ...
  Removing obsolete conffile /etc/ucto/exotic-quotes.quote ...
  Removing obsolete conffile /etc/ucto/ligatures.filter ...
  Obsolete conffile /etc/ucto/nl_afk.abr has been modified by you.
  Saving as /etc/ucto/nl_afk.abr.dpkg-bak ...
  Obsolete conffile /etc/ucto/pt.abr has been modified by you.
  Saving as /etc/ucto/pt.abr.dpkg-bak ...
  Removing obsolete conffile /etc/ucto/tokconfig-deu ...
  Removing obsolete conffile /etc/ucto/tokconfig-eng ...
  Removing obsolete conffile /etc/ucto/tokconfig-spa ...
  Removing obsolete conffile /etc/ucto/tokconfig-fra ...
  Removing obsolete conffile /etc/ucto/tokconfig-fry ...
  Removing obsolete conffile /etc/ucto/tokconfig-ita ...
  Removing obsolete conffile /etc/ucto/tokconfig-nld ...
  Removing obsolete conffile /etc/ucto/tokconfig-nld-sonarchat ...
  Removing obsolete conffile /etc/ucto/tokconfig-nld-twitter ...
  Removing obsolete conffile /etc/ucto/tokconfig-nld-withplaceholder ...
  Removing obsolete conffile /etc/ucto/tokconfig-por ...
  Removing obsolete conffile /etc/ucto/tokconfig-rus ...
  Removing obsolete conffile /etc/ucto/tokconfig-swe ...
  Removing obsolete conffile /etc/ucto/tokconfig-tur ...
  Processing triggers for libc-bin (2.24-9) ...

You probably shouldn't call rm_conffile on the symlinks owned by
uctodata - these are no conffiles, but you seem to confuse dpkg by doing
this. Removing the conffiles from jessie is better left to
ucto.maintscript.

I think you found a bug in dpkg here :-)
==> #852468


  Preparing to unpack .../libucto2_0.9.6-1_amd64.deb ...
  Unpacking libucto2:amd64 (0.9.6-1) over (0.9.5-1) ...
  dpkg: warning: unable to delete old directory '/etc/ucto': Directory
not empty
  Setting up libgomp1:amd64 (6.3.0-4) ...
  Setting up libxml2:amd64 (2.9.4+dfsg1-2.2) ...
  Processing triggers for libc-bin (2.24-9) ...
  Setting up libucto2:amd64 (0.9.6-1) ...
  Removing obsolete conffile /etc/ucto/e-mail.rule ...
  Removing obsolete conffile /etc/ucto/smiley.rule ...
  Removing obsolete conffile /etc/ucto/url.rule ...
  Removing obsolete conffile /etc/ucto/standard-eos.eos ...
  Removing obsolete conffile /etc/ucto/standard-quotes.quote ...
  Removing obsolete conffile /etc/ucto/tokconfig-generic ...
  Processing triggers for libc-bin (2.24-9) ...


libucto2.maintscript is missing this line:

rm_conffile /etc/ucto/tokconfig-generic 0.9.6-2~


Let's prepare these fixed in git s.t. I can test the upgrade paths
(especially testing the stretch->sid path must happen before the sid
version migrates), but let's postpone the upload until after the current
packages migrated to testing.


Andreas



More information about the debian-science-maintainers mailing list