i'm getting a failling notice after update/removal of program

Asked by yeshe khandro on 2014-03-22

i was trying to update and remove some programs (since it gives me notices i have no space left on "Boot"
and this is what i got (also after every update):
The installation or removal of a software package failed.

installArchives() failed: (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 323924 files and directories currently installed.)
Removing fonts-horai-umefont ...
Removing gnome-exe-thumbnailer ...
Removing playonlinux ...
Removing icoutils ...
Removing libcapi20-3:amd64 ...
Removing libgif4:amd64 ...
Removing unixodbc ...
Removing libodbc1:amd64 ...
Removing winetricks ...
Removing p7zip ...
Removing winbind ...
winbind stop/waiting
Removing wine ...
Removing wine-gecko1.4:amd64 ...
Removing odbcinst ...
Removing odbcinst1debian2:amd64 ...
Removing wine1.4-i386 ...
Removing wine1.4 ...
update-binfmts: warning: no executable /usr/bin/wine found, but continuing anyway as you request
Removing wine1.4-amd64 ...
Processing triggers for fontconfig ...
Processing triggers for gconf2 ...

(gconftool-2:21093): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for hicolor-icon-theme ...
Setting up linux-image-extra-3.11.0-18-generic (3.11.0-18.32) ...
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.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-18-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.11.0-18-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-extra-3.11.0-18-generic.postinst line 1010.
dpkg: error processing linux-image-extra-3.11.0-18-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-extra-3.11.0-18-generic; however:
  Package linux-image-extra-3.11.0-18-generic is not configured yet.

dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.11.0.18.19); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 linux-image-extra-3.11.0-18-generic
 linux-image-generic
 linux-generic
Setting up linux-image-extra-3.11.0-18-generic (3.11.0-18.32) ...
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.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-18-generic

gzip: stdout: No space left on device
cpio: write error: Broken pipe
E: mkinitramfs failure cpio 1 gzip 1
update-initramfs: failed for /boot/initrd.img-3.11.0-18-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-extra-3.11.0-18-generic.postinst line 1010.
dpkg: error processing linux-image-extra-3.11.0-18-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-extra-3.11.0-18-generic; however:
  Package linux-image-extra-3.11.0-18-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.11.0.18.19); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured

and then i followed an online dvice and did the following:

taloola@Reefdakini:~$ sudo apt-get clean
taloola@Reefdakini:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-extra-3.11.0-18-generic (3.11.0-18.32) ...
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.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-18-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.11.0-18-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-extra-3.11.0-18-generic.postinst line 1010.
dpkg: error processing linux-image-extra-3.11.0-18-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-extra-3.11.0-18-generic; however:
  Package linux-image-extra-3.11.0-18-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.11.0.18.19); 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-extra-3.11.0-18-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
taloola@Reefdakini:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2014-03-22
Last query:
2014-03-22
Last reply:
2014-03-22
yeshe khandro (borboletamoko) said : #1

what should i do?
thank you!

What is the output of:

df -h; lsb_release -a; uname -a; dpkg -l | grep linux-image

Copy that as ONE command, paste it to the terminal and hit ENTER.

What is the full output please?

Thanks

yeshe khandro (borboletamoko) said : #3

and now my sound doesnt work as well!!

here's the output:
taloola@Reefdakini:~$ df -h; lsb_release -a; uname -a; dpkg -l | grep linux-image
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 451G 94G 334G 22% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.8G 4.0K 3.8G 1% /dev
tmpfs 765M 1.2M 764M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.8G 344K 3.8G 1% /run/shm
none 100M 24K 100M 1% /run/user
/dev/sda1 236M 221M 2.2M 100% /boot
/home/taloola/.Private 451G 94G 334G 22% /home/taloola
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Linux Reefdakini 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ii linux-image-3.11.0-12-generic 3.11.0-12.19 amd64 Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii linux-image-3.11.0-13-generic 3.11.0-13.20 amd64 Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii linux-image-3.11.0-14-generic 3.11.0-14.21 amd64 Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii linux-image-3.11.0-15-generic 3.11.0-15.25 amd64 Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii linux-image-3.11.0-17-generic 3.11.0-17.31 amd64 Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii linux-image-3.11.0-18-generic 3.11.0-18.32 amd64 Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii linux-image-extra-3.11.0-12-generic 3.11.0-12.19 amd64 Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
ii linux-image-extra-3.11.0-13-generic 3.11.0-13.20 amd64 Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
ii linux-image-extra-3.11.0-14-generic 3.11.0-14.21 amd64 Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
ii linux-image-extra-3.11.0-15-generic 3.11.0-15.25 amd64 Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
ii linux-image-extra-3.11.0-17-generic 3.11.0-17.31 amd64 Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
iF linux-image-extra-3.11.0-18-generic 3.11.0-18.32 amd64 Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
iU linux-image-generic 3.11.0.18.19 amd64 Generic Linux kernel image

sudo apt-get --purge remove linux-image-3.11.0-12-generic linux-image-3.11.0-13-generic linux-image-3.11.0-14-generic linux-image-3.11.0-15-generic

sudo apt-get --purge autoremove

sudo apt-get -f install

Will do it. If you have a separate /boot partition you need to manage how many kernels you have installed or it will fill up. Yours can be see in your output:

/dev/sda1 236M 221M 2.2M 100% /boot

yeshe khandro (borboletamoko) said : #5

thank you!!
i did that. but my sound is still not working (!!)
what can i do about that?

and regarding the boot partition, how do i manage that?
thank you again!

Please create a new question for your sound issue.

If you can now run updates etc then please mark as solved.

Thanks

yeshe khandro (borboletamoko) said : #7

Thanks actionparsnip, that solved my question.

yeshe khandro (borboletamoko) said : #8

thank you!