went to synaptic pkg mgr mark all updates, apply – after while— error failed to update linux generic 4.2.3? or something like that. no choices offered to keep or etc , so went to firefox to find problem on netrunner forum ffox froze took forever for it to move, move to close, then pc went white screen and restarted everything normal now but if i try to update again,… is system broke? discover has red x on icon
sudo apt-get install -f in the terminal and see if it tries repairing something ?
If it wants to remove something please don’t hit yes before you are absolutely sure it won’t remove some needed systemfiles.
If you get an error message please post it here. (use quotes please see: http://www.bbcode.org/reference.php if you don’t know how)
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
linux-image-extra-4.2.0-18-generic linux-image-extra-4.2.0-22-generic linux-image-extra-4.2.0-23-generic
Use ‘apt-get autoremove’ to remove them.
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-4.2.0-27-generic (4.2.0-27.32) …
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.2.0-27-generic /boot/vmlinuz-4.2.0-27-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.2.0-27-generic /boot/vmlinuz-4.2.0-27-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.2.0-27-generic /boot/vmlinuz-4.2.0-27-generic
update-initramfs: Generating /boot/initrd.img-4.2.0-27-generic
gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.2.0-27-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.2.0-27-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.2.0-27-generic; however:
Package linux-image-extra-4.2.0-27-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.2.0.27.30); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-extra-4.2.0-27-generic
linux-image-generic
linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is a copy/paste of what was in terminal after doing what you said
Please check your harddrive and see if it is full. If it is full you need to remove stuff.
If you have a seperate /boot partition you need to remove stuff here.
The command to remove a file in the terminal is rm /path/to/file
To check the partitions and the free space you can use the df -h command.
Hope that helps. Though if you are not able to boot. Removing files via Live System might be easier
/boot is a directory which holds the configuration of the bootloader aswell as all installed kernels and their initrds.
So if you never cleaned old kernels /boot might run full.
This is a general problem with ubuntu based distros with no solution yet.
So you can either remove the older kernels installed with apt-get remove if that is still possible or need to manually get rid of older kernels in /boot to let apt-get install -f successfully run.