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

[Pkg-fonts-devel] Bug#689108: marked as done (ttf-unfonts-core: does not properly remove old conffile on upgrade)



Your message dated Sat, 06 Oct 2012 14:47:39 +0000
with message-id <E1TKVfH-0007AD-SI@franck.debian.org>
and subject line Bug#689108: fixed in fonts-unfonts-core 1.0.2-080608-7
has caused the Debian Bug report #689108,
regarding ttf-unfonts-core: does not properly remove old conffile on upgrade
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.)


-- 
689108: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689108
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ttf-unfonts-core
Version: 1.0.2-080608-6
Severity: important
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to properly
remove the old conffile /etc/fonts/conf.avail/90-ttf-unfonts-core.conf
during upgrades from squeeze to wheezy. It's deleted by the
fonts-unfonts-core but debsums will report a missing file afterwards.

A proper solution would be to use dpkg-maintscript-helper, and if you
use a debhelper based build system putting the following into
debian/ttf-unfonts-core.maintscript should do the job:

    rm_conffile /etc/fonts/conf.avail/90-ttf-unfonts-core.conf 1.0.2-080608-7~

(assuming the next upload would be 1.0.2-080608-7, in case of a NMU
1.0.2-080608-6.1 use 1.0.2-080608-6.1~ as an argument)

Actually it would be more correct to rename instead of delete the
conffile, but proper takeover of conffiles (maybe including renaming) is
not well implemented so far, see e.g.  http://bugs.debian.org/595112

fonts-unfonts-core should not need to handle this file in its preinst.
In case the package manager decides to remove ttf-unfonts-core (instead
of upgrading it) and to install the new fonts-unfonts-core package, the
old conffile may be laying around in fonts/conf.avail/ (until
ttf-unfonts-core is purged) - which should be harmless, as it's no
longer linked into fonts/conf.d/

The defoma hints cleanup in fonts-unfonts-core.preinst looks wrong, e.g.
there is a test against version 20090104-5 which is far in the future of
1.0.2-080608-3 (squeeze) or 1.0.2-080608-6 (wheezy/sid). But this code
has been taken over unchanged from the ttf-unfonts-core.preinst in
squeeze, so it should be save to just drop it, as there seems to be no
need to continue doing this cleanup post-squeeze.


debsums reports modification of the following files,
from the attached log (scroll to the bottom...):

  debsums: missing file /etc/fonts/conf.avail/90-ttf-unfonts-core.conf (from ttf-unfonts-core package)


Andreas

Attachment: ttf-unfonts-core_1.0.2-080608-6.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: fonts-unfonts-core
Source-Version: 1.0.2-080608-7

We believe that the bug you reported is fixed in the latest version of
fonts-unfonts-core, 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 689108@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Changwoo Ryu <cwryu@debian.org> (supplier of updated fonts-unfonts-core 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: SHA1

Format: 1.8
Date: Sat, 06 Oct 2012 19:54:41 +0900
Source: fonts-unfonts-core
Binary: fonts-unfonts-core ttf-unfonts-core
Architecture: source all
Version: 1.0.2-080608-7
Distribution: unstable
Urgency: low
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Changwoo Ryu <cwryu@debian.org>
Description: 
 fonts-unfonts-core - Un series Korean TrueType fonts
 ttf-unfonts-core - transitional dummy package
Closes: 686698 689108 689209
Changes: 
 fonts-unfonts-core (1.0.2-080608-7) unstable; urgency=low
 .
   [ Changwoo Ryu ]
   * debian/control
     - Move to git (Closes: #689209)
   * debian/compat, debian/control
     - Use debhelper 9
   * debian/copyright
     - Use the copyright format 1.0
   * debian/README.Debian
     - Update to more recent information and remove obsolete URL
   * Add more xz compress options to dh_builddeb
     - it requires Pre-Depends: dpkg (>= 1.15.6~)
   * Move debian/foo to debian/fonts-unfonts-core.foo
   * Use maintscript support in dh_installdeb. (Closes: #689108)
     - {mv,rm}_conffile requires Pre-Depends: dpkg (>= 1.15.7.2)
 .
   [ Andrew Starr-Bochicchio ]
   * debian/90-fonts-unfonts-core.conf:
    - Update so that there are not multiple values within test tags as
     Fontconfig warns that this is not supported. (Closes: #686698)
Checksums-Sha1: 
 653e2888d265bf659c60152ee3eda59cc42d0236 1522 fonts-unfonts-core_1.0.2-080608-7.dsc
 db5e63f534003552e4e6d38be4a253a98fcfb212 4211 fonts-unfonts-core_1.0.2-080608-7.debian.tar.gz
 e441179c3f5857e9a87d85c0a4317ac291291453 14429440 fonts-unfonts-core_1.0.2-080608-7_all.deb
 ffeef661acf6ec9101b04a6c64698a524fd509a2 3348 ttf-unfonts-core_1.0.2-080608-7_all.deb
Checksums-Sha256: 
 c99469379d6f0c3c1a9ffcc5e0ebeff1748539407dd2cb8525c408091e17d4c5 1522 fonts-unfonts-core_1.0.2-080608-7.dsc
 092a4b5c23bb1bfeb85e774128be7040cfd31458e778210c17f19719f4951fcc 4211 fonts-unfonts-core_1.0.2-080608-7.debian.tar.gz
 2b5e4acf7d635efbf74110bf87b790dcefb653637ba70abb64a32aa911d3e421 14429440 fonts-unfonts-core_1.0.2-080608-7_all.deb
 a09380e4503a08735a658711940c72bec1604a3414bf0328ede6549e6ce8ffe1 3348 ttf-unfonts-core_1.0.2-080608-7_all.deb
Files: 
 d00691fed58c29c4dc35fc4111955b60 1522 fonts optional fonts-unfonts-core_1.0.2-080608-7.dsc
 038862dde7a28c758dcb27b8d4e9ac2a 4211 fonts optional fonts-unfonts-core_1.0.2-080608-7.debian.tar.gz
 d297f82a5fb4a06911e17c819ead0d12 14429440 fonts optional fonts-unfonts-core_1.0.2-080608-7_all.deb
 e323c85a7940ef6e4eab80809ce5546f 3348 oldlibs extra ttf-unfonts-core_1.0.2-080608-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlBwOFkACgkQAbRzNODUnpmAQgCdHrLECB5H7I2J3hlfJaBbe9SB
TuYAnAsfshWvCBIm7mbTbZbVy9E9h67i
=hxzg
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: