Flushing stdout is not going to help with this problem.
As I said in comment #17, the error is caused by /etc/init.d/dkms_autoinstaller 
sending text to debconf via stdout.
Flushing output within /etc/kernel/postinst.d/nvidia-common won't undo that 
error.
Debconf has already gotten the bad command before 
/etc/kernel/postinst.d/nvidia-common is started.

Patching /etc/kernel/postinst.d/dkms to redirect stdout DOES FIX the problem.
Adding "1>&2" to the invocation of /etc/init.d/dkms_autoinstaller keeps stdout 
clean.

-- 
dkms - error when installing custom kernel
https://bugs.launchpad.net/bugs/292606
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to