After installing 15.04, am having problems doing system updates. Getting:
-----------------------------------------------------------------------------------------------------
:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gnome-icon-theme-symbolic libinput0 libmagickcore5 libmagickcore5-extra
libmagickwand5 libts-0.0-0 linux-headers-3.16.0-23 linux-headers-3.16.0-23-generic
linux-headers-3.16.0-24 linux-headers-3.16.0-24-generic linux-headers-3.16.0-25
linux-headers-3.16.0-25-generic linux-headers-3.16.0-28
linux-headers-3.16.0-28-generic linux-headers-3.16.0-29
linux-headers-3.16.0-29-generic linux-headers-3.16.0-31 linux-headers-3.19.0-18
linux-headers-3.19.0-18-generic linux-headers-generic linux-image-3.16.0-23-generic
linux-image-3.16.0-24-generic linux-image-3.16.0-25-generic
linux-image-3.16.0-28-generic linux-image-3.16.0-29-generic
linux-image-extra-3.16.0-23-generic linux-image-extra-3.16.0-24-generic
linux-image-extra-3.16.0-25-generic linux-image-extra-3.16.0-28-generic
linux-image-extra-3.16.0-29-generic thermald tsconf
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
linux-image-extra-3.16.0-31-generic
0 upgraded, 0 newly installed, 1 to remove and 123 not upgraded.
3 not fully installed or removed.
After this operation, 118 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 368915 files and directories currently installed.)
Removing linux-image-extra-3.16.0-31-generic (3.16.0-31.43) ...
depmod: FATAL: could not load /boot/System.map-3.16.0-31-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-31-generic
grep: /boot/config-3.16.0-31-generic: No such file or directory
WARNING: missing /lib/modules/3.16.0-31-generic
Device driver support needs thus be built-in linux image!
depmod: ERROR: could not open directory /lib/modules/3.16.0-31-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_c5m0nX/lib/modules/3.16.0-31-generic/modules.order: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_c5m0nX/lib/modules/3.16.0-31-generic/modules.builtin: No such file or directory
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-31-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-31-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-extra-3.16.0-31-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------------------------------------------------------------------
Is the problem that it can't find missing libs or that there's not enough space in tmp ?
Thanks
-----------------------------------------------------------------------------------------------------
:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gnome-icon-theme-symbolic libinput0 libmagickcore5 libmagickcore5-extra
libmagickwand5 libts-0.0-0 linux-headers-3.16.0-23 linux-headers-3.16.0-23-generic
linux-headers-3.16.0-24 linux-headers-3.16.0-24-generic linux-headers-3.16.0-25
linux-headers-3.16.0-25-generic linux-headers-3.16.0-28
linux-headers-3.16.0-28-generic linux-headers-3.16.0-29
linux-headers-3.16.0-29-generic linux-headers-3.16.0-31 linux-headers-3.19.0-18
linux-headers-3.19.0-18-generic linux-headers-generic linux-image-3.16.0-23-generic
linux-image-3.16.0-24-generic linux-image-3.16.0-25-generic
linux-image-3.16.0-28-generic linux-image-3.16.0-29-generic
linux-image-extra-3.16.0-23-generic linux-image-extra-3.16.0-24-generic
linux-image-extra-3.16.0-25-generic linux-image-extra-3.16.0-28-generic
linux-image-extra-3.16.0-29-generic thermald tsconf
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
linux-image-extra-3.16.0-31-generic
0 upgraded, 0 newly installed, 1 to remove and 123 not upgraded.
3 not fully installed or removed.
After this operation, 118 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 368915 files and directories currently installed.)
Removing linux-image-extra-3.16.0-31-generic (3.16.0-31.43) ...
depmod: FATAL: could not load /boot/System.map-3.16.0-31-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-31-generic
grep: /boot/config-3.16.0-31-generic: No such file or directory
WARNING: missing /lib/modules/3.16.0-31-generic
Device driver support needs thus be built-in linux image!
depmod: ERROR: could not open directory /lib/modules/3.16.0-31-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_c5m0nX/lib/modules/3.16.0-31-generic/modules.order: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_c5m0nX/lib/modules/3.16.0-31-generic/modules.builtin: No such file or directory
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-31-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-31-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-extra-3.16.0-31-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------------------------------------------------------------------
Is the problem that it can't find missing libs or that there's not enough space in tmp ?
Thanks
Comment