The problem is that (a) the kernel's postinst uses debconf, which uses
stdin and stdout for communication and forbids other junk from appearing
there, and (b) the kernel's postinst calls update-initramfs, which
outputs status information to stdout which debconf thinks is a command
in its protocol and thus confuses any future real debconf commands.
Since the kernel's postinst is the thing with special requirements due
to using debconf, it should be the thing responsible for redirecting
file descriptors around as necessary.

The following patch to the kernel's postinst (which I guess will
actually need to be applied in kernel-package) fixes this. Please apply:

--- linux-image-2.6.17-5-powerpc.postinst
+++ linux-image-2.6.17-5-powerpc.postinst
@@ -995,7 +995,7
     if (! defined $ARGV[1] || ! $ARGV[1] || $ARGV[1] =~ m/<unknown>/og) {
       $upgrading = 0;
     }
-    my $ret = system("$ramdisk " . ($upgrading ? "-u" : "-c") . " -k " . 
$version);
+    my $ret = system("$ramdisk " . ($upgrading ? "-u" : "-c") . " -k " . 
$version . " >&2");
     $success = 1 unless $ret;
   } else {
   # XXX: Start non-indented

** Changed in: linux-source-2.6.17 (Ubuntu)
       Status: Unconfirmed => Confirmed

** Changed in: linux-source-2.6.17 (Ubuntu)
   Importance: Untriaged => Medium

-- 
manual install: update-initramfs problem
https://launchpad.net/bugs/54346

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to