Your message dated Wed, 02 Mar 2011 01:17:35 +0000
with message-id <[email protected]>
and subject line Bug#227885: fixed in tgif 1:4.2.2-4
has caused the Debian Bug report #227885,
regarding tgif postinst should not modify conffiles
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 [email protected]
immediately.)


-- 
227885: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227885
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tgif
Version: 4.1.43-1
Severity: important

Every time we install tgif, dpkg complaints as follows:

        Setting up tgif (4.1.43-1) ...
        
        Configuration file `/etc/X11/app-defaults/Tgif'
         ==> Modified (by you or by a script) since installation.
         ==> Package distributor has shipped an updated version.
           What would you like to do about it ?  Your options are:
            Y or I  : install the package maintainer's version
            N or O  : keep your currently-installed version
              D     : show the differences between the versions
              Z     : background this process to examine the situation
         The default action is to keep your current version.
        *** Tgif (Y/I/N/O/D/Z) [default=N] ? 

I dislike to see and push "I" key everytime when I update tgif.

Even if we don't modify this file, this question is asked by dpkg.
This is because dpkg checks previous each conffile md5sum information,
and this file is modified something: actually by tgif postinst:

        # now configure
        db_get tgif/papersize
        papersize=$RET
        db_get tgif/gridunits
        gridunits=$RET
        
        # write out results
        for bit in "" "/ja_JP.eucJP" "/ru"; do
          file=/etc/X11$bit/app-defaults/Tgif
          # Write app-defaults file
          case $papersize in
                A4)     paper="21cm x 29.7cm" ;;
                Letter) paper="8.5in x 11in" ;;
          esac
          echo "Tgif*InitialPaperSize: $paper" >>$file
          echo "Tgif*GridSystem: $gridunits" >>$file
        done

It's not good.  See debian policy "E.1. Automatic handling of
configuration files by `dpkg'":

     Note that a package should _not_ modify a `dpkg'-handled conffile
     in its maintainer scripts.  Doing this will lead to `dpkg' giving
     the user confusing and possibly dangerous options for conffile
     update when the package is upgraded.

You shouldn't modify these files.  Policy says "should _not_", so I
don't submit this bug with "serious", but I put it as "important"
because we "should" avoid this situation.

However I agree modifying papersize, it's very good idea.  So I
propose two way to fix this problem:

        (1) Remove papersize entry from these conffiles, and tgif
            checks /etc/papersize in every boot time.  If tgif
            find Tgif*InitialPaperSize entry, then tgif precede
            to use this entry data.

        (2) Tgif postinst remembers this change.  When tgif is
            upgraded, prerm script checks InitialPaperSize is not
            modified by user's hand, and then restores this entry.

Regards,
-- gotom




--- End Message ---
--- Begin Message ---
Source: tgif
Source-Version: 1:4.2.2-4

We believe that the bug you reported is fixed in the latest version of
tgif, which is due to be installed in the Debian FTP archive:

tgif_4.2.2-4.debian.tar.gz
  to main/t/tgif/tgif_4.2.2-4.debian.tar.gz
tgif_4.2.2-4.dsc
  to main/t/tgif/tgif_4.2.2-4.dsc
tgif_4.2.2-4_i386.deb
  to main/t/tgif/tgif_4.2.2-4_i386.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Carlo Segre <[email protected]> (supplier of updated tgif 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 01 Mar 2011 00:41:20 -0600
Source: tgif
Binary: tgif
Architecture: source i386
Version: 1:4.2.2-4
Distribution: unstable
Urgency: low
Maintainer: Carlo Segre <[email protected]>
Changed-By: Carlo Segre <[email protected]>
Description: 
 tgif       - 2D vector graphic drawing tool using Xlib
Closes: 227885 599778 609332 609406 609421 609425 609442 609522 609717 609867 
609979 610665 610767 614658 614758
Changes: 
 tgif (1:4.2.2-4) unstable; urgency=low
 .
   [Carlo Segre <[email protected]>]
   * Change gettext dependency to gettext-base (Closes: #599778).
   * Add include directive in /etc/X11/app-defaults/Tgif and rewrite
     maintainer scripts to put debconf configuration in /etc/default/tgif.
     Direct editing of /etc/X11/app-defaults/Tgif is discouraged so that
     this file can be quietly replaced during upgrades (Closes: #227885).
   * Debconf translation update for Italian.
 .
   [Jonathan Wiltshire <[email protected]>]
   * Debconf templates and debian/control reviewed by the debian-l10n-
     english team as part of the Smith review project. (Closes: #609332)
   * Debconf translation updates:
       - Basque (closes: #609522)
       - Spanish
       - Danish (closes: #609406)
       - Swedish (closes: #609421)
       - Russian (closes: #609425)
       - Czech (closes: #609442)
       - German (closes: #609717)
       - Swedish (closes: #609867)
       - French (closes: #609979)
       - Brazilian Portugese (closes: #610665)
       - Portugese (closes: #610767)
       - Finnish (closes: #614658)
       - Catlan (closes: #614758)
Checksums-Sha1: 
 13a6352dba37b63d91203e91e3e3dc80f62ba4c0 1038 tgif_4.2.2-4.dsc
 87f698b7a1a628a1b12493a21a31725f47174779 55013 tgif_4.2.2-4.debian.tar.gz
 e2af79dbbb09cb5b64fda905990f0d7f75fcd273 1381472 tgif_4.2.2-4_i386.deb
Checksums-Sha256: 
 bbc346ad0ebecfba3abf49d3ab60f25f1146f0856deefa4b2126535e6375daa1 1038 
tgif_4.2.2-4.dsc
 af7d70056e26cc6bf7d60ee17bf10dcad108da2b5f7fdc0b947d778e770816fd 55013 
tgif_4.2.2-4.debian.tar.gz
 f2aa526e6db6cdee48ab40f0bca3319f80be9f0042078a4346ec219a9176e487 1381472 
tgif_4.2.2-4_i386.deb
Files: 
 fc1dfd12228315e13b75063e9b3cbcb9 1038 graphics optional tgif_4.2.2-4.dsc
 efb2f12b58be8adf7798737888ab7258 55013 graphics optional 
tgif_4.2.2-4.debian.tar.gz
 5885826531feb6464cd7da69edb02a6a 1381472 graphics optional 
tgif_4.2.2-4_i386.deb

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

iD8DBQFNbZkeebASZpNwHu8RAre2AJ9BnwS/0avU2Z8PbwhMxdp+ImNgzQCePTup
rIS8We3e7KYAcZcmqPvpR38=
=cnc0
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to