kernel 2.6.27-9 failed to install

Bug #303227 reported by Tony Green
0
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.27-9-generic

Attempting to install today's kernel updates via adept, it failed with the following errors:

Commit failed.
To continue, hit ok and we will try to recover. If you close the application now, we will not do anything and you may try to resolve the problem manually.
(If you suspect this is a bug in Adept, please also provide the following exception description in the report).

The error was:
APT Error. Context:
    Running dpkg,
    [ /usr/bin/dpkg, --status-fd, 3, --configure, linux-image-2.6.27-9-generic, linux-restricted-modules-2.6.27-9-generic, libwbclient0, libsmbclient, linux-image-generic, linux-restricted-modules-generic, linux-generic, linux-headers-2.6.27-9, linux-headers-2.6.27-9-generic, linux-headers-generic, samba-common, smbclient, winbind ],
    Sup-process returned error code 1,
    Error processing linux-image-2.6.27-9-generic : subprocess post-installation script returned error exit status 2.,
    Error processing linux-restricted-modules-2.6.27-9-generic : dependency problems - leaving unconfigured.,
    Error processing linux-image-generic : dependency problems - leaving unconfigured.,
    Error processing linux-restricted-modules-generic : dependency problems - leaving unconfigured.,
    Error processing linux-generic : dependency problems - leaving unconfigured.,
    Error processing linux-headers-2.6.27-9-generic : subprocess post-installation script returned error exit status 2.,
    Error processing linux-headers-generic : dependency problems - leaving unconfigured.

Kubuntu release 8.10, AMD_64

Revision history for this message
Tony Green (ubuntu-beermad-deactivatedaccount) wrote :
Revision history for this message
Tony Green (ubuntu-beermad-deactivatedaccount) wrote :

Additionally, automatic resolution failed.

It seems that the recovery has failed. Please fix manually (try dpkg --configure -a and/or apt-get -f install) in terminal...

The error was:
APT Error. Context:
    Running dpkg,
    [ /usr/bin/dpkg, --status-fd, 3, --configure, -a ],
    Sup-process returned error code 1,
    Error processing linux-headers-2.6.27-9-generic : subprocess post-installation script returned error exit status 2.,
    Error processing linux-headers-generic : dependency problems - leaving unconfigured.,
    Error processing linux-image-2.6.27-9-generic : subprocess post-installation script returned error exit status 2.,
    Error processing linux-restricted-modules-2.6.27-9-generic : dependency problems - leaving unconfigured.,
    Error processing linux-image-generic : dependency problems - leaving unconfigured.

Fortunately I'm happy with editing /boot/grub/menu.lst, so I SHOULD be able to reboot OK.

Revision history for this message
Tony Green (ubuntu-beermad-deactivatedaccount) wrote :

UPDATE
Further investigation reveals:
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 10
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.27-9-generic.postinst line 1002.

as the apparent root of the problem.
# bash -x /etc/kernel/header_postinst.d/nvidia-common
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /etc/kernel/header_postinst.d/nvidia-common
# echo $?
10

As I no longer have an Nvidia card, I ran "dpkg -d nvidia-common", which made no difference so I ran "dpkg -P nvidia-common". After which "dpkg --configure -a" appears to have worked. Whether or not this will boot afterwards is now to be tested...

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

This looks like it was a duplicate of bug 303825 so I am marking it as such. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.