[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-fonts-devel] Bug#776108: marked as done (fonts-ipafont-nonfree-jisx0208: leaves alternatives after purge: /usr/share/fonts/truetype/ttf-japanese-{gothic, mincho}.ttf)



Your message dated Sat, 24 Jan 2015 12:48:23 +0000
with message-id <E1YF08V-0005t1-ID@franck.debian.org>
and subject line Bug#776108: fixed in fonts-ipafont-nonfree-jisx0208 1:00103-3
has caused the Debian Bug report #776108,
regarding fonts-ipafont-nonfree-jisx0208: leaves alternatives after purge: /usr/share/fonts/truetype/ttf-japanese-{gothic, mincho}.ttf
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 owner@bugs.debian.org
immediately.)


-- 
776108: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776108
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: fonts-ipafont-nonfree-jisx0208
Version: 1:00103-2
Severity: important
Tags: patch
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8:

https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails

The leftover files are actually alternatives that were installed by the
package but have not been properly removed.

While there is ongoing discussion how to remove alternatives correctly
(see https://bugs.debian.org/71621 for details) the following strategy
should work for regular cases:
* 'postinst configure' always installs the alternative
* 'prerm remove' removes the alternative
* 'postrm remove' and 'postrm disappear' remove the alternative
In all other cases a maintainer script is invoked (e.g. upgrade,
deconfigure) the alternatives are not modified to preserve user
configuration.
Removing the alternative in 'prerm remove' avoids having a dangling link
once the actual file gets removed, but 'prerm remove' is not called in
all cases (e.g. unpacked but not configured packages or disappearing
packages) so the postrm must remove the alternative again
(update-alternatives gracefully handles removal of non-existing
alternatives).

Note that the arguments for adding and removing alternatives differ, for
removal it's 'update-alternatives --remove <name> <path>'.

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

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

2m13.4s INFO: Warning: Package purging left files on system:
  /etc/alternatives/ttf-japanese-gothic.ttf -> /usr/share/fonts/truetype/ipafont-jisx0208/ipag0208_for_legacy_compatibility.ttf	 not owned
  /etc/alternatives/ttf-japanese-mincho.ttf -> /usr/share/fonts/truetype/ipafont-jisx0208/ipam0208_for_legacy_compatibility.ttf	 not owned
  /usr/share/fonts/	 owned by: fonts-ipafont-nonfree-jisx0208
  /usr/share/fonts/truetype/	 owned by: fonts-ipafont-nonfree-jisx0208
  /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

A patch is following ... please get this fixed for jessie.


cheers,

Andreas

Attachment: ttf-ipafont-jisx0208_None.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: fonts-ipafont-nonfree-jisx0208
Source-Version: 1:00103-3

We believe that the bug you reported is fixed in the latest version of
fonts-ipafont-nonfree-jisx0208, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 776108@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hideki Yamane <henrich@debian.org> (supplier of updated fonts-ipafont-nonfree-jisx0208 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 24 Jan 2015 21:29:59 +0900
Source: fonts-ipafont-nonfree-jisx0208
Binary: fonts-ipafont-nonfree-jisx0208
Architecture: source all
Version: 1:00103-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Hideki Yamane <henrich@debian.org>
Description:
 fonts-ipafont-nonfree-jisx0208 - Japanese TrueType font, IPAfont (JISX0208)
Closes: 776108
Changes:
 fonts-ipafont-nonfree-jisx0208 (1:00103-3) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * Use the correct Vcs-* URLs.
   * fonts-ipafont-nonfree-jisx0208.preinst: Cleanup obsolete alternatives from
     ttf-ipafont-jisx0208.  (Closes: #776108)
 .
   [ Hideki Yamane ]
   * debian/control
     - set Standards-Version: 3.9.6
Checksums-Sha1:
 5b3a6bcc7f6362585df1319df80b649ae9bcd182 2146 fonts-ipafont-nonfree-jisx0208_00103-3.dsc
 07c2e8acaa1e49105e9fc119da402a8549b4385b 9192 fonts-ipafont-nonfree-jisx0208_00103-3.debian.tar.xz
 17805210cccc3ae22b381e1892e591eff1651b88 2939966 fonts-ipafont-nonfree-jisx0208_00103-3_all.deb
Checksums-Sha256:
 1f5d639de1bcd92cd5c2dfee595795c56af28bed6b7b238fe132efb421af8426 2146 fonts-ipafont-nonfree-jisx0208_00103-3.dsc
 0c5b01a8ffef6cf084e426ff52910aca6f68f542e9d3e03596b10d1b921d108f 9192 fonts-ipafont-nonfree-jisx0208_00103-3.debian.tar.xz
 ff9a5be804b0a5c9806c004167fc882d1b3d7e2716814640a1e889b5bb6df8e5 2939966 fonts-ipafont-nonfree-jisx0208_00103-3_all.deb
Files:
 67fc3b3f6943a5bdcb4d65b79bcb95e6 2146 non-free/fonts extra fonts-ipafont-nonfree-jisx0208_00103-3.dsc
 6d80086466eb5021c4074a991573ebeb 9192 non-free/fonts extra fonts-ipafont-nonfree-jisx0208_00103-3.debian.tar.xz
 ed60b93e00a1a575e1dc0e6e6fdf15d0 2939966 non-free/fonts extra fonts-ipafont-nonfree-jisx0208_00103-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJUw5DJAAoJEF0yjQgqqrFAdRwP/Ak31kqT7UUjBN0i7jW1EjlP
CzefivXGP069IEDYgGEnIQTqy5S9tT4waRJg6lsJWKMgODgien1V0z0y/iYsTuAw
JqIublatewpbcGHOX+KEbySAcQt03kxuwufMJb+GhvRAgtoHBM/0Xs56LDUGCa73
ZFdXYhp1niyeagZxvk7oTnbDITBML73I4wwfFjRgSOj0Vnu0lFevRJzRNapQYaWY
soIOHxYRsa3TsCko0/b177sLekTFYp7vrEbzfk4xXKz6G3FtNRtt0tDx2tPhntxz
lXCLPm+XtwekS5Qggmuq3jwtOpYzWYHvYbC/EV3GGujI8noWrLpUNE6MQzWG3HZX
rbR7w4spZANWu/9Bp7tzQr+IDT9cv80sQl1cvWcMO/d77l5uCavYDKFNT4UpnEmg
NkjerAE/5wjXRSkemocI/rAvKuUQfmC5XJXAyl18lZ+M0Rtg1vbsYTmzpVin+Uc5
BWHqVwPCtlpiM6y6nFz4+SjqxfkUP/aCuxhCof9Xnc8Zu6F8nE6u7A38MYvv2S11
evonQvt8uuMypGjBPk1w5r2nOx9+uui0Y7lDT8akHjatAVAkiVhk2XuIPjjjVBss
nXEEcfeoiH7J5mTu1sZPmgOULA5y4hHF2yLq5swuFqTu0Cp5yDPVmAEH58A9pib7
jJ7OEtX6YZUnxMBJnleP
=ZXWb
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: