Package: debconf
Version: 1.4.50ubuntu1
Severity: normal
Tags: patch
In recent versions of debconf, dpkg-reconfigure -fnoninteractive seems to
result in the dialog frontend being used. I can understand falling back if
noninteractive is the default, but forcing it ought to work.
Here's the patch I've used; let me know if you fix it differently.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-5-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages debconf depends on:
ii debconf-i18n 1.4.50ubuntu1 full internationalization support
ii perl-base 5.8.7-1 The Pathologically Eclectic Rubbis
-- debconf information excluded
--
- mdz
diff -Nru /tmp/UJkKsUom0U/debconf-1.4.50ubuntu1/debian/changelog
/tmp/hvLpNuzahe/debconf-1.4.50ubuntu2/debian/changelog
--- /tmp/UJkKsUom0U/debconf-1.4.50ubuntu1/debian/changelog 2005-05-28
14:05:57.000000000 -0700
+++ /tmp/hvLpNuzahe/debconf-1.4.50ubuntu2/debian/changelog 2005-06-08
11:03:14.000000000 -0700
@@ -1,3 +1,10 @@
+debconf (1.4.50ubuntu2) breezy; urgency=low
+
+ * Allow dpkg-reconfigure -fnoninteractive to work again by testing for
+ forced_frontend
+
+ -- Matt Zimmerman <[EMAIL PROTECTED]> Wed, 8 Jun 2005 11:02:57 -0700
+
debconf (1.4.50ubuntu1) breezy; urgency=low
* Resynchronise with Debian. Drop dummy progress passthrough patches,
diff -Nru /tmp/UJkKsUom0U/debconf-1.4.50ubuntu1/dpkg-reconfigure
/tmp/hvLpNuzahe/debconf-1.4.50ubuntu2/dpkg-reconfigure
--- /tmp/UJkKsUom0U/debconf-1.4.50ubuntu1/dpkg-reconfigure 2005-05-28
04:37:56.000000000 -0700
+++ /tmp/hvLpNuzahe/debconf-1.4.50ubuntu2/dpkg-reconfigure 2005-06-08
11:02:34.000000000 -0700
@@ -112,7 +112,8 @@
}
# If the frontend is noninteractive, change it temporarily to dialog.
-if (lc Debconf::Config->frontend eq 'noninteractive') {
+if (lc Debconf::Config->frontend eq 'noninteractive' &&
+ ! Debconf::Config->frontend_forced) {
Debconf::Config->frontend('dialog');
}