diff -Nru debconf-1.5.40/Debconf/Element/Noninteractive/Error.pm debconf-1.5.40emmet1/Debconf/Element/Noninteractive/Error.pm
--- debconf-1.5.40/Debconf/Element/Noninteractive/Error.pm	2011-02-02 09:08:31.000000000 +0900
+++ debconf-1.5.40emmet1/Debconf/Element/Noninteractive/Error.pm	2011-07-26 23:17:08.000000000 +0900
@@ -36,7 +36,10 @@
 	my $this=shift;
 
 	if ($this->question->flag('seen') ne 'true') {
-		$this->sendmail(gettext("Debconf was not configured to display this error message, so it mailed it to you."));
+		$this->sendmail(gettext("Debconf is not confident this error message was displayed, so it mailed it to you."));
+
+	$this->frontend->display($this->question->description."\n\n".
+		$this->question->extended_description."\n");
 	}
 	$this->value('');
 }
diff -Nru debconf-1.5.40/Debconf/FrontEnd/Noninteractive.pm debconf-1.5.40emmet1/Debconf/FrontEnd/Noninteractive.pm
--- debconf-1.5.40/Debconf/FrontEnd/Noninteractive.pm	2011-02-02 09:08:31.000000000 +0900
+++ debconf-1.5.40emmet1/Debconf/FrontEnd/Noninteractive.pm	2011-07-27 00:43:02.000000000 +0900
@@ -8,6 +8,8 @@
 
 package Debconf::FrontEnd::Noninteractive;
 use strict;
+use Debconf::Encoding qw(width wrap);
+use Debconf::Gettext;
 use base qw(Debconf::FrontEnd);
 
 =head1 DESCRIPTION
@@ -30,5 +32,47 @@
         $this->need_tty(0);
 }
 
+=item display
+
+Displays text wrapped to fit on the screen. If a title has been set and has
+not yet been displayed, displays it first.
+
+=cut
+
+sub display {
+	my $this=shift;
+	my $text=shift;
+
+	# Hardcode the width because we might not have any console
+	$Debconf::Encoding::columns=76;
+	$this->display_nowrap(wrap('','',$text));
+}
+
+=item display_nowrap
+
+Displays text.  If a title has been set and has not yet been displayed,
+displays it first.
+
+=cut
+
+sub display_nowrap {
+	my $this=shift;
+	my $text=shift;
+
+	# Silly split elides trainling null matches.
+	my @lines=split(/\n/, $text);
+	push @lines, "" if $text=~/\n$/;
+
+	# Add to the display any pending title.
+	my $title=$this->title;
+	if (length $title) {
+		unshift @lines, $title, ('-' x width $title), '';
+		$this->title('');
+	}
+
+	foreach (@lines) {
+		print "$_\n";
+	}
+}
 
 1
diff -Nru debconf-1.5.40/debian/changelog debconf-1.5.40emmet1/debian/changelog
--- debconf-1.5.40/debian/changelog	2011-06-23 06:50:24.000000000 +0900
+++ debconf-1.5.40emmet1/debian/changelog	2011-07-27 01:22:30.000000000 +0900
@@ -1,3 +1,9 @@
+debconf (1.5.40emmet1) onlyfortestpurposes; urgency=low
+
+  * Display error messages in noninteractive frontend (Closes: #367497)
+
+ -- Emmet Hikory <persia@sigyn>  Tue, 26 Jul 2011 23:18:54 +0900
+
 debconf (1.5.40) unstable; urgency=low
 
   [ Joey Hess ]
