[Pkg-fonts-devel] Bug#700724: pu: package ttf-ipafont/00203-16+squeeze1

Andreas Beckmann anbe at debian.org
Sat Feb 16 17:01:38 UTC 2013


Package: release.debian.org
Severity: normal
User: release.debian.org at packages.debian.org
Usertags: pu

Hi,

ttf-ipafont does not correctly handle the alternatives:
* ttf-ipafont-{gothic,mincho}.postinst registers them
* ttf-ipafont.prerm unregisters them
(that it probably an oversight when the package was split)

This leads to the following errors if ttf-ipafont is installed, removed
and installed again:

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

And I actually had forgotten to file a bug about this until a few minutes
ago :-)

The attached patch fixes this by moving the unregistration to the
respective prerm while keeping all the ancient cleanup code in the
ttf-ipafont package.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ttf-ipafont_00203-16+squeeze1.dsc.diff
Type: text/x-diff
Size: 2572 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20130216/f4470dae/attachment.diff>


More information about the Pkg-fonts-devel mailing list