• ubuntu14.04 upgrade fail initramfs-tools


    fedorayang@ynlhost:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 7 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up initramfs-tools (0.103ubuntu4.7) ... update-initramfs: deferring update (trigger activated) Setting up linux-image-3.13.0-113-generic (3.13.0-113.160) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-113-generic /boot/vmlinuz-3.13.0-113-generic run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-113-generic /boot/vmlinuz-3.13.0-113-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-113-generic /boot/vmlinuz-3.13.0-113-generic update-initramfs: Generating /boot/initrd.img-3.13.0-113-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-113-generic /boot/vmlinuz-3.13.0-113-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-113-generic /boot/vmlinuz-3.13.0-113-generic run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.13.0-113-generic /boot/vmlinuz-3.13.0-113-generic P: Checking for EXTLINUX directory... found. P: Writing config for /boot/vmlinuz-3.13.0-116-generic... P: Writing config for /boot/vmlinuz-3.13.0-113-generic... P: Writing config for /boot/vmlinuz-3.13.0-112-generic... P: Writing config for /boot/vmlinuz-3.13.0-105-generic... P: Installing debian theme... done. run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.13.0-113-generic /boot/vmlinuz-3.13.0-113-generic Added Linux + * Fatal: open /boot/vmlinuz-3.13.0-32-generic: No such file or directory run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-113-generic.postinst line 1025. dpkg: error processing package linux-image-3.13.0-113-generic (--configure): subprocess installed post-installation script returned error exit status 2 Setting up linux-image-3.13.0-116-generic (3.13.0-116.163) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-116-generic /boot/vmlinuz-3.13.0-116-generic run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-116-generic /boot/vmlinuz-3.13.0-116-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-116-generic /boot/vmlinuz-3.13.0-116-generic update-initramfs: Generating /boot/initrd.img-3.13.0-116-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-116-generic /boot/vmlinuz-3.13.0-116-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-116-generic /boot/vmlinuz-3.13.0-116-generic run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.13.0-116-generic /boot/vmlinuz-3.13.0-116-generic P: Checking for EXTLINUX directory... found. P: Writing config for /boot/vmlinuz-3.13.0-116-generic... P: Writing config for /boot/vmlinuz-3.13.0-113-generic... P: Writing config for /boot/vmlinuz-3.13.0-112-generic... P: Writing config for /boot/vmlinuz-3.13.0-105-generic... P: Installing debian theme... done. run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.13.0-116-generic /boot/vmlinuz-3.13.0-116-generic Added Linux + * Fatal: open /boot/vmlinuz-3.13.0-32-generic: No such file or directory run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-116-generic.postinst line 1025. dpkg: error processing package linux-image-3.13.0-116-generic (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-116-generic: linux-image-extra-3.13.0-116-generic depends on linux-image-3.13.0-116-generic; however: Package linux-image-3.13.0-116-generic is not configured yet.

    dpkg: error processing package linux-image-extra-3.13.0-116-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-generic: linux-image-generic depends on linux-image-3.13.0-116-generic; however: Package linux-image-3.13.0-116-generic is not configured yet. linux-image-generic depends on linux-image-extra-3.13.0-116-generic; however: Package linux-image-extra-3.13.0-116-generic is not configured yet.

    dpkg: error processing package linux-image-generic (--configure): dependency problems - leaving unconfigured dpkg: dependencNo apport report written because the error message indicates its a followup error from a previous failure. No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already y problems prevent configuration of linux-generic: linux-generic depends on linux-image-generic (= 3.13.0.116.126); however: Package linux-image-generic is not configured yet.

    dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-113-generic: linux-image-extra-3.13.0-113-generic depends on linux-image-3.13.0-113-generic; however: Package linux-image-3.13.0-113-generic is not configured yet.

    dpkg: error processing package linux-image-extra-3.13.0-113-generic (--configure): dependency problems - leaving unconfigured Processing triggers for initramfs-tools (0.103ubuntu4.7) ... update-initramfs: Generating /boot/initrd.img-3.13.0-116-generic Added Linux + * Fatal: open /boot/vmlinuz-3.13.0-32-generic: No such file or directory run-parts: /etc/initramfs/post-update.d//runlilo exited with return code 1 No apport report written because MaxReports is reached already dpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-3.13.0-113-generic linux-image-3.13.0-116-generic linux-image-extra-3.13.0-116-generic linux-image-generic linux-generic linux-image-extra-3.13.0-113-generic initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) fedorayang@ynlhost:~$

    现在问题解决了,原因是以前我安装了lilo,没有卸载,导致依赖错误。 [code]sudo apt-get purge lilo[/code] 解决途径是看这个log,我对apt-get不熟,硬着头皮看下去,看到这里突然明白的。 run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.13.0-116-generic /boot/vmlinuz-3.13.0-116-generic Added Linux + * Fatal: open /boot/vmlinuz-3.13.0-32-generic: No such file or directory run-parts: /etc/kernel/postinst.d/zz-runlilo exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-116-generic.postinst line 1025. dpkg: error processing package linux-image-3.13.0-116-generic (--configure):

  • 相关阅读:
    JAVA——return浅析
    JAVA泛型【转】
    C#——WinForm修改密码
    java获取当前时间的方式【转】
    iOS 取得单张系统图片
    iOS UIView的简单渐变效果
    UIView 添加子视图的常用方法
    IOS之UIView的tag学习
    OC学习笔记之属性详解和易错点
    oc对象函数什么时候返回值类型使用instancetype
  • 原文地址:https://www.cnblogs.com/fedorayang/p/6753373.html
Copyright © 2020-2023  润新知