[Pkg-fonts-devel] Bug#700722: ttf-ipafont: removing ttf-ipafont unregisters alternatives created by ttf-ipafont-{gothic, mincho}

Andreas Beckmann anbe at debian.org
Sat Feb 16 16:48:50 UTC 2013

Package: ttf-ipafont
Version: 00203-16
Severity: important
Tags: patch
User: debian-qa at lists.debian.org
Usertags: piuparts


during a test with piuparts I noticed your package mishandles the
alternatives it creates: ttf-ipafont-{gothic,mincho}.postinst register
the current alternatives, but ttf-ipafont.prerm unregisters them. That
is probably an oversight from splitting the package.

>From the attached log (scroll to the bottom...):

0m16.5s ERROR: FAIL: After purging files have disappeared:
  /etc/alternatives/ttf-japanese-gothic.ttf -> /usr/share/fonts/truetype/ipafont/ipag.ttf	 not owned
  /etc/alternatives/ttf-japanese-mincho.ttf -> /usr/share/fonts/truetype/ipafont/ipam.ttf	 not owned
  /usr/share/fonts/truetype/ttf-japanese-gothic.ttf -> /etc/alternatives/ttf-japanese-gothic.ttf	 not owned
  /usr/share/fonts/truetype/ttf-japanese-mincho.ttf -> /etc/alternatives/ttf-japanese-mincho.ttf	 not owned

I'm attaching a patch to fix this and will ask for fixing this via
s-p-u. In that case I'd NMU ttf-ipafont with a DELAYED/1 upload to get
into p-u-NEW before Monday to have it included in the next point

If you have any objections, please let me know.

All install and upgrade paths affecting lenny/squeeze have been
successfully tested with piuparts, incuding the previously failing
--install-purge-install test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ttf-ipafont_00203-16+squeeze1.dsc.diff
Type: text/x-diff
Size: 2549 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20130216/a43c91e4/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ttf-ipafont_00203-16.log.gz
Type: application/x-gzip
Size: 7034 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20130216/a43c91e4/attachment.bin>

More information about the Pkg-fonts-devel mailing list