Package: phpmyadmin
Severity: normal
Tags: patch

ucf complains about a missing parameter, I can not see that debconf was
stopped before the ucf call, so I just added the parameter. See attached
patch. The required ucf-version in Depends has to be bumped since versions
< 0.28 didn't include that feature.

dbconfig-common: writing config to /etc/dbconfig-common/mantis.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!




-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic
  APT policy: (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-10-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages phpmyadmin depends on:
pn  dbconfig-common         <none>           (no description available)
ii  debconf [debconf-2.0]   1.5.26ubuntu3    Debian configuration management sy
pn  libapache2-mod-php5 | p <none>           (no description available)
ii  perl                    5.10.0-23ubuntu1 Larry Wall's Practical Extraction 
pn  php5-mcrypt             <none>           (no description available)
pn  php5-mysql | php5-mysql <none>           (no description available)

Versions of packages phpmyadmin recommends:
pn  apache2 | lighttpd | httpd    <none>     (no description available)
pn  mysql-client                  <none>     (no description available)
pn  php5-gd                       <none>     (no description available)

Versions of packages phpmyadmin suggests:
pn  mysql-server                  <none>     (no description available)
diff -Nurp phpmyadmin-3.2.0.orig/debian/control phpmyadmin-3.2.0/debian/control
--- phpmyadmin-3.2.0.orig/debian/control	2009-06-28 02:17:12.000000000 +0200
+++ phpmyadmin-3.2.0/debian/control	2009-06-28 02:19:00.479483585 +0200
@@ -4,7 +4,7 @@ Uploaders: Michal Čihař <ni...@debian.
 Section: web
 Priority: extra
 Standards-Version: 3.8.2
-Build-Depends: debhelper (>= 7), quilt (>= 0.40), po-debconf
+Build-Depends: debhelper (>= 7), quilt (>= 0.40), po-debconf, ucf (>= 0.28)
 Homepage: http://www.phpmyadmin.net/
 Vcs-Browser: https://aphrodite.kinkhorst.nl/wsvn/debian/phpmyadmin/
 Vcs-Svn: https://svn.kinkhorst.nl/svn/debian/phpmyadmin/trunk
diff -Nurp phpmyadmin-3.2.0.orig/debian/postrm phpmyadmin-3.2.0/debian/postrm
--- phpmyadmin-3.2.0.orig/debian/postrm	2009-06-28 02:17:12.000000000 +0200
+++ phpmyadmin-3.2.0/debian/postrm	2009-06-28 02:16:42.479324352 +0200
@@ -36,7 +36,7 @@ fi
 if [ "$1" = "purge" ]; then
     rm -f /etc/phpmyadmin/config-db.php
     if which ucf >/dev/null 2>&1; then
-	ucf --purge /etc/phpmyadmin/config-db.php
+	ucf --debconf-ok --purge /etc/phpmyadmin/config-db.php
     fi
 fi
 

Reply via email to