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
netrunner 17 Horizon 1 month old
hp i3 duo 3.0 cpu
Can you execute
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)
Reading package lists… Done
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 (= 126.96.36.199.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:
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
Seems like your harddrive or /boot partition is full which causes this issue.
How do i fix this,please I’m new to terminal work but can follow directions
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
it boots fine just won’t update for reason below?
using the live dvd how?
directory says 236 mb 233 mb = 100% full boot file
so guess> use dolphin or terminal to get at boot file
first? type (directory) see if boot files show up? doesn’t get there neither does file boot ???
Or use Gparted and resize /boot would that be easier?
Why is boot full? isn’t it just an execute file sorry for the dumb questions
lead on with stuff to type( you mentioned Live system meaning the dvd i installed from?)
/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.
if you can boot up just fine ,post the output of
ls -la /boot
to start with .
sudo apt-get -s autoremove --purge [/code]
post the output of this and we will see how much we can get rid of this way .
you have 5 kernels installed ,3 need to be removed (the oldest 3 )with “purge”
and their headers and extras .
and do not just delete them ,use some form of package management to remove and purge them
the kernels themselves are just about 6-7 MB’s but the initrd.img’s are 30+ each