ucf UI issues can cause upgrade failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ucf (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There are two problems here with the current ucf that can cause upgrade failures:
a) when the user clicks "cancel" in the debconf gnome prompt, the script exists with 1 and update-grub fails
b) when the user starts a shell, the shell gets started in the terminal window that the upgrade is running in. this means that it may be difficult to find (its hidden by default) and that its obscured by the debconf gnome window that is on top of the upgrader window with the termianl
The problem with (b) is that people tend to get frusted and think it hangs and kill the debconf process (because it is not responding anymore).
Binary package hint: update-manager
I don't know the source of the problem
ProblemType: Package
Architecture: i386
Date: Sat Jun 28 21:56:29 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
NonfreeKernelMo
Package: update-manager 1:0.87.27
PackageArchitec
SourcePackage: update-manager
Title: package update-manager 1:0.87.27 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Uname: Linux 2.6.22-15-generic i686
Thanks for your bugreport
This looks like a bug in ucf/update-grub to me, from the log: 2.6.24- 19-generic (2.6.24-19.34) ... img-2.6. 24-19-generic 2.6.24- 19-generic 2.6.22- 15-generic 2.6.20- 16-generic 2.6.20- 15-generic +.bin desktop: /# desktop: /etc# ex desktop: /etc# exi desktop: /etc# exit 2.6.24- 19-generic (--configure) : debconf/ confmodule: line 42: printf: erreur d'écriture : Relais brisé (pipe) modules- 2.6.24- 19-generic :
Paramétrage de linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Running postinst hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
root@simon-
...
root@simon-
root@simon-
root@simon-
exit
The application 'frontend' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
User postinst hook script [/sbin/update-grub] exited with value 1
dpkg : erreur de traitement de linux-image-
le sous-processus post-installation script a retourné une erreur de sortie d'état 1
/usr/share/
dpkg : des problèmes de dépendances empêchent la configuration de linux-ubuntu-
So this seems like after you entered the shell and exited it again that made ucf/debconf fail with a exit code and that caused the postinst script of the kernel to fail. I will try to reproduce this.
I assume you had a gnome dialog that asked you about changes in a config file before the crash?