Results 1 to 9 of 9

Thread: 13.04 - Kernel Update Failure

  1. #1
    Join Date
    Feb 2008
    Beans
    31

    13.04 - Kernel Update Failure

    Hello all.

    I am using a derivative of Ubuntu (Pinguy), but I think I can find solution to my problem here.
    I get a failure message when I try to update kernel:

    Code:
    Setting up linux-image-3.8.0-22-generic (3.8.0-22.33) ...
    Running depmod.
    update-initramfs: deferring update (hook will be called later)
    The link /initrd.img is a dangling linkto /boot/initrd.img-3.8.0-22-generic
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-22-generic /boot/vmlinuz-3.8.0-22-generic
    run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-22-generic /boot/vmlinuz-3.8.0-22-generic
    update-initramfs: Generating /boot/initrd.img-3.8.0-22-generic
    cp: cannot stat ‘/module-files.d/libpango1.0-0.modules’: No such file or directory
    cp: cannot stat ‘/modules/pango-basic-fc.so’: No such file or directory
    
    E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
    update-initramfs: failed for /boot/initrd.img-3.8.0-22-generic with 1.
    run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
    Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.8.0-22-generic.postinst line 1010.
    dpkg: error processing linux-image-3.8.0-22-generic (--configure):
     subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of linux-image-extra-3.8.0-22-generic:
     linux-image-extra-3.8.0-22-generic depends on linux-image-3.8.0-22-generic; however:
     Package linux-image-3.8.0-22-generic is not configured yet.
    
    dpkg: error processing linux-image-extra-3.8.0-22-generic (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-image-generic:
     linux-image-generic depends on linux-image-3.8.0-22-generic; however:
     Package linux-image-3.8.0-22-generic is not configured yet.
     linux-image-generic depends on linux-image-extra-3.8.0-22-generic; however:
     Package linux-image-extra-3.8.0-22-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 (= 3.8.0.22.38); however:
     Package linux-image-generic is not configured yet.
    
    dpkg: erNo apport report written because the error message indicates it's a follow-up error from a previous failure.
     No apport report written because the error message indicates it's a follow-up error from a previous failure.
     No apport report written because MaxReports has already been reached
     ror processing linux-generic (--configure):
     dependency problems - leaving unconfigured
    Setting up gpaste (3.0.1-1~webupd8~raring3) ...
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-3.8.0-21-generic
    cp: cannot stat ‘/module-files.d/libpango1.0-0.modules’: No such file or directory
    cp: cannot stat ‘/modules/pango-basic-fc.so’: No such file or directory
    E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
    update-initramfs: failed for /boot/initrd.img-3.8.0-21-generic with 1.
    dpkg: error processing initramfs-tools (--configure):
     subprocess installed post-installation script returned error exit status 1
    No apport report written because MaxReports has already been reached
     Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     linux-image-3.8.0-22-generic
     linux-image-extra-3.8.0-22-generic
     linux-image-generic
     linux-generic
     initramfs-tools
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    So, here is the summary of the error as far as I understand: initramfs fails, because of these two lines:

    Code:
    cp: cannot stat ‘/module-files.d/libpango1.0-0.modules’: No such file or directory
    cp: cannot stat ‘/modules/pango-basic-fc.so’: No such file or directory
    libpango is the problem here, it can't find it. At first I thought it was looking at a wrong location, as /module-files.d/libpango1.0-0.modules is a ridiculous location. But then I also checked the package manager to see if the said files exist and to locate them. I saw that libpango is installed, and said packages should be in library folder. But they are not there. They are actually nowhere to be found: Although packages are installed, their contents are not.

    Can anyone help me with this? It is driving me crazy.

  2. #2
    Join Date
    Oct 2006
    Location
    Ayrshire
    Beans
    40,291
    Distro
    Ubuntu Development Release

    Re: 13.04 - Kernel Update Failure

    Thread moved to "Other OS/Distro" Support forum.

  3. #3
    Join Date
    Nov 2007
    Location
    Poole, United Kingdom
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

  4. #4
    Join Date
    May 2013
    Beans
    22

    Re: 13.04 - Kernel Update Failure

    I have same problem.
    http://ubuntuforums.org/showthread.php?t=2155910
    I still don't know how to get rid of it.
    I can't upgrade/install anything. Upgrading kernel was failed as well

  5. #5
    Join Date
    Jul 2011
    Beans
    1

    Re: 13.04 - Kernel Update Failure

    sudo apt-get install plymouth

    works for me.

  6. #6
    Join Date
    Jul 2013
    Beans
    27
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 13.04 - Kernel Update Failure

    @blacktome.

    Thank you, I was facing this problem from past week, installing, plymouth did solved the issue.

  7. #7
    Join Date
    Aug 2006
    Location
    Canada
    Beans
    56
    Distro
    Ubuntu

    Re: 13.04 - Kernel Update Failure

    Thanks a lot, installing plymouth worked for me too. Would never have thought of it.
    "By entering this room, you agree to forfeit your own soul rather than negotiate with the mortal residing therein." -xkcd 501

  8. #8
    Join Date
    Aug 2013
    Beans
    5

    Re: 13.04 - Kernel Update Failure

    Wow. Worked for me too. Thanks. Can anyone explain why this works so easy and what was going wrong with the "failure to update" messages I was getting? Hoping to learn more about my Ubuntu system.

  9. #9
    Join Date
    Oct 2013
    Beans
    6

    Re: 13.04 - Kernel Update Failure

    How do you guys update kernel? I download directly from kernel.org and install. I use ubuntu by the way

    You can get newest kernel for ubuntu here http://kernel.ubuntu.com/~kernel-ppa/mainline/

    And i followed this page http://namhuy.net/1382/how-to-upgrad...rnel-3-11.html

    I like to use newest kernel, the original kernel from apt-get upgrade if I remember correctly use 2.6, 2.6 has some problem with the sound manager for me when i want sound louder, I have to bring up the bar almost to the end, but when using 3.11 direct from kernel.org, it fixed the problem

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •