Bug#838112: uctodata: fails to upgrade from jessie - trying to overwrite /etc/ucto/es.abr

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


On 2017-01-24 09:32, Maarten van Gompel wrote:
> Quoting Andreas Beckmann (2017-01-24 02:54:36)
>> On 2017-01-24 02:51, Andreas Beckmann wrote:
>>> spotted a typo (trailing "a") in frogdata.maintscript
>>>
>>> echo "rm_conffile /etc/frog/${subdir}Frog.mbt.1.0.known.dddwfWaw.wgt 0.13.7~"a
>>
>> but that's harmless, its still a valid version to achieve your goal
> 
> Oops... Well spotted, I just fixed it in git, but it is probably overkill to prepare/upload a new release just
> for that now I guess?

Correct. But let me see what else I found:

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 :-)


  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~


Andreas



More information about the debian-science-maintainers mailing list