Bug#543512: marked as done (update-fonts-alias should skip removed fonts)
Your message dated Fri, 25 Dec 2009 12:17:19 +0000
with message-id <E1NO96d-00057N-F3@ries.debian.org>
and subject line Bug#543512: fixed in xfonts-utils 1:7.5+2
has caused the Debian Bug report #543512,
regarding update-fonts-alias should skip removed fonts
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.)
--
543512: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543512
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: dh_installxfonts: generated postrm breaks piuparts test
- From: Theppitak Karoonboonyanan <thep@debian.org>
- Date: Tue, 25 Aug 2009 21:18:37 +0700
- Message-id: <20090825141837.20307.43606.reportbug@cedar.boonyanan.local>
Package: debhelper
Version: 7.3.15
Severity: normal
While examining piuparts log for one of my packages (xfonts-thai-nectec):
http://piuparts.debian.org/sid/fail/xfonts-thai-nectec_1:1.2.5-5.log
the error detected was:
---8<---
0m29.3s ERROR: FAIL: Package purging left files on system:
/usr/share/fonts owned by: xfonts-utils, xfonts-thai-nectec, xfonts-encodings
/usr/share/fonts/X11 owned by: xfonts-utils, xfonts-thai-nectec, xfonts-encodings
/usr/share/fonts/X11/misc owned by: xfonts-thai-nectec
/usr/share/fonts/X11/misc/fonts.alias not owned
---8<---
When checking the test sequence, this was what was done:
- dpkg --remove xfonts-encodings [not removed, due to dependency]
- dpkg --remove xfonts-utils [not removed, due to dependency]
- ... remove other dependencies ... [not removed, due to dependency]
- dpkg --remove xfonts-thai-nectec [removed]
- dpkg --remove --pending [dependencies removed]
- dpkg --purge xfonts-encodings \
- dpkg --purge xfonts-utils > [purged as expected]
- ... purge other dependencies ... /
- dpkg --purge xfonts-thai-nectec [conffiles purged, except the fonts.alias]
The generated postrm for xfonts-thai-nectec was:
---8<---
# Automatically added by dh_installxfonts
if [ -x "`which update-fonts-dir 2>/dev/null`" ]; then
update-fonts-dir --x11r7-layout misc;update-fonts-alias misc
fi
# End automatically added section
---8<---
With xfonts-utils being removed before, the update-fonts-dir command is not
available. So, the script does nothing. And fonts.alias is not cleaned as
expected.
This also happens to many other X fonts packages, for example:
http://piuparts.debian.org/sid/fail/xfonts-100dpi_1:1.0.0-4.log
http://piuparts.debian.org/sid/fail/xfonts-knickers_0.0.1-6.log
http://piuparts.debian.org/sid/fail/xfonts-cmex-big5p_0.1-5.2.log
http://piuparts.debian.org/sid/fail/xfonts-terminus_4.28-1.log
http://piuparts.debian.org/sid/fail/xfonts-terminus-dos_4.28-1.log
And from policy 7.2, in the 'Depends' description:
"...Note, however, that the postrm cannot rely on any non-essential
packages to be present during the purge phase..."
It seems dh_installxfonts is generating postrm which breaks this policy.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debhelper depends on:
ii binutils 2.19.51.20090805-1 The GNU assembler, linker and bina
ii dpkg-dev 1.15.3.1 Debian package development tools
ii file 5.03-1 Determines file type using "magic"
ii html2text 1.3.2a-14 advanced HTML to text converter
ii man-db 2.5.5-3 on-line manual pager
ii perl 5.10.0-25 Larry Wall's Practical Extraction
ii perl-base 5.10.0-25 minimal Perl system
ii po-debconf 1.0.16 tool for managing templates file t
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 0.48 tool that converts source archives
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: xfonts-utils
Source-Version: 1:7.5+2
We believe that the bug you reported is fixed in the latest version of
xfonts-utils, which is due to be installed in the Debian FTP archive:
xfonts-utils_7.5+2.dsc
to main/x/xfonts-utils/xfonts-utils_7.5+2.dsc
xfonts-utils_7.5+2.tar.gz
to main/x/xfonts-utils/xfonts-utils_7.5+2.tar.gz
xfonts-utils_7.5+2_amd64.deb
to main/x/xfonts-utils/xfonts-utils_7.5+2_amd64.deb
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 543512@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated xfonts-utils 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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 25 Dec 2009 12:56:34 +0100
Source: xfonts-utils
Binary: xfonts-utils
Architecture: source amd64
Version: 1:7.5+2
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description:
xfonts-utils - X Window System font utility programs
Closes: 543512
Changes:
xfonts-utils (1:7.5+2) unstable; urgency=low
.
[ Theppitak Karoonboonyanan ]
* update-font-alias: use an exclude file listing alias files we need to
ignore, which is to be used when font packages are removed
(closes: #543512).
.
[ Julien Cristau ]
* Set CPPFLAGS to -D_GNU_SOURCE for vasprintf (temporary, fixed in upstream
fonttosfnt git already).
Checksums-Sha1:
edc3bb3ad55b3cb5de0444523135084f2221358a 1758 xfonts-utils_7.5+2.dsc
aafb46be46c9a14112f22af1894ffdd353c373fa 669483 xfonts-utils_7.5+2.tar.gz
226addacd663f1a97b985497ac8ab9e7090eb980 96184 xfonts-utils_7.5+2_amd64.deb
Checksums-Sha256:
766ad2fe1ce0b44aee993ae3d1175b13b38fcfd8d079ec74af40a09aa1680ade 1758 xfonts-utils_7.5+2.dsc
89889629786b70b89770a94656c3474625bed0ff1d50b92203aee4c7cc6bb623 669483 xfonts-utils_7.5+2.tar.gz
1e64ac8c394c0161a0d4f7208cf1f06215275f8b95ec695f1e2cfd02f9468a01 96184 xfonts-utils_7.5+2_amd64.deb
Files:
c815201111f2e6ea6c9c18edfbd49567 1758 x11 optional xfonts-utils_7.5+2.dsc
1430f12c8f6e775ed5256fc021d89e0d 669483 x11 optional xfonts-utils_7.5+2.tar.gz
626224c50633eee09fa515bb4810b771 96184 x11 optional xfonts-utils_7.5+2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJLNKlEAAoJEDEBgAUJBeQMR1oQAOnyj3F3hTqjZg4nyRKa8ES6
MfH2RxVG2MFq9FuROZdu+wKZW3tYSaRLTLVhC7qb+krH7mhOpTQ+8+1mSl3zC9lp
333yMs43LiuhYRkEPBZyoawxUVmA1qZ+OziXfACveRt6mL9VUPtu/fi+avIkxToK
fPyBaZvaNClmXjEMh24L5CVtJdia+fcpvqmY/G7uSdyMjy/+57xnRitGZBUib0Ev
Tk1999IAoyfb4fCwJcAEmuiKjf0dTvNgqCUy7c2qrF5M5wsE/VBFwe6zJ7OcjFdl
N2EHkoITFrClSHyJ8jbDNP5TGpvcC55Z0G6HVllz4BOVPep49XBT4GXpFSgNBF3g
JUkmXDc//8gOd39+vItmT7aKHLhYJRhe5jI47JCX+RpNaWnkvGbGewAldFzWo1r1
cL5GK6IULDxEWL0HxF9QMrPfVBU7iXBb2PxuYd2ddgyUfDqDIXRCZjh+r9u2zv8v
TFTjc1OTAuiMHcZHVovaruCfahPZNNCvvr3lvsdyGD385+/yZMpg1P/jSgntaNni
nD+HlrKuND9eFn9UfGk3w/AMiIYTzR5/PmYurHGAYKpzdI2wDqlihq4P6l/e7XuH
wJZefKyTMODgg0qaHPBhZFdkSJWirauI3bczPY85Brg3KBGkUUAl8Qp+zP07pdyF
uFlOKkvN1qZmmEP0h3FB
=Zbn7
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: