Comment 10 for bug 478034

Revision history for this message
Jason (jdclark77) wrote : Re: [Bug 478034] Re: package linux-image-2.6.28-16-generic 2.6.28-16.56 failed to install/upgrade: subprocess post-installation script returned error exit status 2

okay, When I rebooted the graphic driver was disabled so I tried to run the
command in low res mode. Still got error.

jason@jason-laptop-ubuntu:~$ sudo apt-get install --reinstall
linux-image-generic linux-generic
[sudo] password for jason:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 1 not
upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-2.6.31-19-generic (2.6.31-19.56) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.31-19-generic
Failed to symbolic-link boot/initrd.img-2.6.31-19-generic to initrd.img:
File exists
dpkg: error processing linux-image-2.6.31-19-generic (--configure):
 subprocess installed post-installation script returned error exit status 17
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.31-19-generic; however:
  Package linux-image-2.6.31-19-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 2.6.31.19.32); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
                          No apport report written because the error message
indicates its a followup error from a previous failure.
                                                    Errors were encountered
while processing:
 linux-image-2.6.31-19-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

I think maybe it is just my grub is screwed up.

On Sat, Feb 13, 2010 at 6:34 PM, Lorenzo De Liso <email address hidden> wrote:

> Yes, I meant the output of the "uname -r" command.
> Try to run:
> $ sudo apt-get remove linux-image-2.6.31-15-generic
> linux-image-2.6.31-17-generic linux-image-2.6.31-19-generic
> $ sudo apt-get install --reinstall linux-image-generic linux-generic
> $ sudo apt-get install linux-image-2.6.31-19-generic
>
> for "the problem can be solved by doing so" I meant:
> >$ sudo apt-get update
> >$ sudo apt-get -f install
> >$ sudo apt-get clean
> >$ sudo apt-get autoclean
> >then $ sudo apt-get dist-upgrade
> >
> >if you have got any error:
> >$ sudo apt-get update
> >$ sudo update-grub
> >$ sudo apt-get -f install
> >$ sudo apt-get dist-upgrade
>
> Regards,
>
> Lorenzo D. (alias BlackZ).
>
> --
> package linux-image-2.6.28-16-generic 2.6.28-16.56 failed to
> install/upgrade: subprocess post-installation script returned error exit
> status 2
> https://bugs.launchpad.net/bugs/478034
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: linux-image-2.6.28-16-generic
>
> i am trying to do an upgrade of the kernel just using sudo apt-get update
> and then sudo apt-get upgrade and it fails trying to install the new kernel.
> NOt sure why, any help would be appreciated. i had the same issue with the
> -15-generic kernel and I posted about it here:
> http://ubuntuforums.org/showthread.php?t=1277389
>
> i followed all the instructions for what log files I should attach but it
> only allows one attachment so I had to archive them together and attach
> that. hope that's ok.
>
> ProblemType: Package
> Architecture: i386
> DistroRelease: Ubuntu 9.04
> ErrorMessage: subprocess post-installation script returned error exit
> status 2
> HibernationDevice: RESUME=/dev/sdb2
> Lsusb:
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> MachineType: To Be Filled By O.E.M. 775Dual-VSTA
> NonfreeKernelModules: nvidia
> Package: linux-image-2.6.28-16-generic 2.6.28-16.56
> ProcCmdLine: root=UUID=a911a520-73d8-4a14-a578-e5f7aea065ce ro quiet splash
> ProcVersionSignature: Ubuntu 2.6.28-15.52-generic
> SourcePackage: linux
> Title: package linux-image-2.6.28-16-generic 2.6.28-16.56 failed to
> install/upgrade: subprocess post-installation script returned error exit
> status 2
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/478034/+subscribe
>