Package: miscfiles
Version: 1.4.2.dfsg.1-5
Severity: normal
Tags: patch

Hi Thomas,

I have noticed that something is left in miscfiles po-debconf transition,

Preconfiguring packages ...
debconf: Unknown template field '_description', in stanza #1 of
/tmp/miscfiles.template.198260

debconf: Unknown template field '_default', in stanza #2 of
/tmp/miscfiles.template.198260

debconf: Unknown template field '_description', in stanza #2 of
/tmp/miscfiles.template.198260

The problem is that the raw po-debconf template is installed instead of the
po2debconf processed one. Attached patch should take care of this, more
details in po-debconf man page.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=es_ES, LC_CTYPE=es_ES (charmap=ISO-8859-1)

Versions of packages miscfiles depends on:
ii  debconf [debconf-2.0]         1.5.5      Debian configuration management sy
ii  dictionaries-common           0.70.2     Common utilities for spelling dict

miscfiles recommends no packages.

-- debconf information excluded

-- 
Agustin
diff -u miscfiles-1.4.2.dfsg.1/debian/rules miscfiles-1.4.2.dfsg.1/debian/rules
--- miscfiles-1.4.2.dfsg.1/debian/rules
+++ miscfiles-1.4.2.dfsg.1/debian/rules
@@ -106,7 +106,7 @@
        $(install_program)       debian/prerm    debian/tmp/DEBIAN/prerm
        $(install_program)       debian/postrm    debian/tmp/DEBIAN/postrm
        $(install_program)       debian/config    debian/tmp/DEBIAN/config
-       $(install_file)          debian/templates    debian/tmp/DEBIAN/templates
+       po2debconf               debian/templates > debian/tmp/DEBIAN/templates
        dpkg-gencontrol  -isp
        chown -R                 root.root debian/tmp
        chmod -R go=rX           debian/tmp
diff -u miscfiles-1.4.2.dfsg.1/debian/changelog 
miscfiles-1.4.2.dfsg.1/debian/changelog
--- miscfiles-1.4.2.dfsg.1/debian/changelog
+++ miscfiles-1.4.2.dfsg.1/debian/changelog
@@ -1,3 +1,9 @@
+miscfiles (1.4.2.dfsg.1-5.1) unstable; urgency=low
+
+  * Fix templates creation from po-debconf
+
+ -- Agustin Martin Domingo <[EMAIL PROTECTED]>  Wed,  4 Oct 2006 11:17:50 +0200
+
 miscfiles (1.4.2.dfsg.1-5) unstable; urgency=low
   
   * debian/po/POTFILES.in: New file.

Reply via email to