[Bug 1800559] Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

Brian Murray brian at ubuntu.com
Fri Feb 8 21:15:08 UTC 2019


Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that there was an error on your system when
trying to update a package on your system due to a lack of free space on
your system.  Please resolve this situation manually and try the update
again.

** Package changed: adduser (Ubuntu) => initramfs-tools (Ubuntu)

** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => Low

** Tags added: no-free-space

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1800559

Title:
  E: Sub-process /usr/bin/dpkg returned an error code (1)

Status in initramfs-tools package in Ubuntu:
  Invalid

Bug description:
  randy at randy-Inspiron-518:~$ sudo apt-get updates
  [sudo] password for randy: 
  E: Invalid operation updates
  randy at randy-Inspiron-518:~$ sudo apt-get update
  Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease                     
  Hit:2 http://archive.canonical.com/ubuntu xenial InRelease                     
  Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]     
  Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]    
  Fetched 216 kB in 1s (147 kB/s)                                                
  Reading package lists... Done
  randy at randy-Inspiron-518:~$ sudo apt-get upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following packages have been kept back:
    linux-generic linux-headers-generic linux-image-generic
  0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  4 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.122ubuntu8.13) ...
  update-initramfs: deferring update (trigger activated)
  Setting up linux-image-extra-4.4.0-137-generic (4.4.0-137.163) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-137-generic /boot/vmlinuz-4.4.0-137-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-137-generic /boot/vmlinuz-4.4.0-137-generic
  update-initramfs: Generating /boot/initrd.img-4.4.0-137-generic

  gzip: stdout: No space left on device
  E: mkinitramfs failure cpio 141 gzip 1
  update-initramfs: failed for /boot/initrd.img-4.4.0-137-generic with 1.
  run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  dpkg: error processing package linux-image-extra-4.4.0-137-generic (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of linux-image-generic:
   linux-image-generic depends on linux-image-extra-4.4.0-137-generic; however:
    Package linux-image-extra-4.4.0-137-generic is not configured yet.

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

  dpkg: error processing package linux-generic (--configure):
   dependency problems - leaving unconfigured
  Processing triggers for initramfs-tools (0.122ubuntu8.13) ...
  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.
                                                      update-initramfs: Generating /boot/initrd.img-4.4.0-137-generic

  gzip: stdout: No space left on device
  E: mkinitramfs failure cpio 141 gzip 1
  update-initramfs: failed for /boot/initrd.img-4.4.0-137-generic with 1.
  dpkg: error processing package initramfs-tools (--configure):
   subprocess installed post-installation script returned error exit status 1
  No apport report written because MaxReports is reached already
                                                                Errors were encountered while processing:
   linux-image-extra-4.4.0-137-generic
   linux-image-generic
   linux-generic
   initramfs-tools
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  randy at randy-Inspiron-518:~$ sudo apt autoremove
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  4 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Setting up initramfs-tools (0.122ubuntu8.13) ...
  update-initramfs: deferring update (trigger activated)
  Setting up linux-image-extra-4.4.0-137-generic (4.4.0-137.163) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-137-generic /boot/vmlinuz-4.4.0-137-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-137-generic /boot/vmlinuz-4.4.0-137-generic
  update-initramfs: Generating /boot/initrd.img-4.4.0-137-generic

  gzip: stdout: No space left on device
  E: mkinitramfs failure cpio 141 gzip 1
  update-initramfs: failed for /boot/initrd.img-4.4.0-137-generic with 1.
  run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  dpkg: error processing package linux-image-extra-4.4.0-137-generic (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of linux-image-generic:
   linux-image-generic depends on linux-image-extra-4.4.0-137-generic; however:
    Package linux-image-extra-4.4.0-137-generic is not configured yet.

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

  dpkg: error processing package 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.
                                                      Processing triggers for initramfs-tools (0.122ubuntu8.13) ...
  update-initramfs: Generating /boot/initrd.img-4.4.0-137-generic

  gzip: stdout: No space left on device
  E: mkinitramfs failure cpio 141 gzip 1
  update-initramfs: failed for /boot/initrd.img-4.4.0-137-generic with 1.
  dpkg: error processing package initramfs-tools (--configure):
   subprocess installed post-installation script returned error exit status 1
  No apport report written because MaxReports is reached already
                                                                Errors were encountered while processing:
   linux-image-extra-4.4.0-137-generic
   linux-image-generic
   linux-generic
   initramfs-tools
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  randy at randy-Inspiron-518:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1800559/+subscriptions



More information about the foundations-bugs mailing list