Announcement

Collapse
No announcement yet.

Problem with kernel update

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with kernel update

    Just installing the latest updates and I'm getting the following errors.

    Code:
    Setting up linux-image-3.2.0-24-generic (3.2.0-24.39) ...
    Running depmod.
    Failed to symbolic-link /boot/initrd.img-3.2.0-24-generic to initrd.img: File exists
    dpkg: error processing linux-image-3.2.0-24-generic (--configure):
     subprocess installed post-installation script returned error exit status 17
    Setting up openssl (1.0.1-4ubuntu5.2) ...
    Errors were encountered while processing:
     linux-image-3.2.0-24-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Any ideas? Can I reboot or is it going to kill me?

    Peter.

    #2
    If you have earlier kernels installed (3.2.0-n where n is less than 24) then at the worst you would be able to select one of them from GRUB when booting.

    Code:
    sudo apt-get install -f
    may fix the situation, if it was due to an earlier error within apt causing a broken dependency. I can't see what other reason this could have.
    I'd rather be locked out than locked in.

    Comment


      #3
      Seems to be booting OK on the correct Kernel, but I'm still getting the error. install -f didn't make any difference.

      Comment


        #4
        Looks like your problem matches linux - Failed to symbolic-link /boot/initrd.img-3.2.0-24-generic to initrd.img: File exists - Super User and Bug #1002388 “package linux-image-3.2.0-24-generic 3.2.0-24.38 f...” : Bugs : “linux” package : Ubuntu - the latter bug has quite a lot of details. Comment #15 seems to have the fix:
        Code:
        $ sudo rm /initrd.img
        $ sudo rm /usr/sbin/update-initramfs
        $ sudo dpkg-divert --rename --remove /usr/sbin/update-initramfs
        $ sudo apt-get install --reinstall linux-image-3.2.0-24-generic
        I'd rather be locked out than locked in.

        Comment


          #5
          Thankyou SecretCode. I didn't think of the Ubuntu forums, will in the future. Certainly seems to have sorted out the issue.

          Thanks again.

          Peter.

          Comment

          Working...
          X