I could really use some help. :frown:
Printable View
I could really use some help. :frown:
Coder68; Hello,
Let's see if we can cut to the heart of the matter. Look'n at the probable cause as the /boot directory full of old kernels;
As well, what release are we dealing with here , as the method to remove the kernels differs from earlier releases ?
Show us the output - BETWEEN code tags - of terminal commands:
code tag tutorial:Code:lsb_release -a
uname -a
dpkg -l | grep linux-
http://ubuntuforums.org/showthread.p...8#post12776168
Will tell the tale and we will see what can be done.
ain't no step for a stepper
This is still an issue. Can anyone please help?
Coder68; Hello,
My post #12 still applies, please provide the requested outputs - formatted by the code blocks - so we can continue.
my regards
The user already posted details: like 12.04.4 (testing the commands in a VM) and in post #3 a screen shot of installed kernels but I agree an output in text form is easier to read. Following command should purge all old kernel except the current one:
sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')
- HTHT
@ Gyokuro; sure I do agree, but
Related headers, not shown or known that also need to be removed - keeping what is current.
just my way of doing it
@ Bashing-om: Sorry my bad in case my post was rough - was not my intention - tried to save you some time :-)
Sorry, I was out for a bit. I was also not showing any updates until today.
Here are the request. I had to do it two posts as it only let me do 5 images in one post.
Attachment 254237Attachment 254238Attachment 254239Attachment 254240Attachment 254241
Here is the last image.
Attachment 254242
I get a bash error !d; event not found
sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')