Search found 8 matches

by Bildo
Sun Aug 19, 2018 7:15 am
Forum: Software & Applications
Topic: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up
Replies: 28
Views: 2164

Re: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up

Looking good. Two more commands to run and your spring cleaning will be all done. :) sudo rm /boot/initrd.img-4.10.0-40-generic apt purge linux-*4.13* Done. Thx for help. I got back almost 1Gig of space thanks to that cleaning. I really should learn how to do this cleaning properly each time I upgr...
by Bildo
Fri Aug 17, 2018 3:54 am
Forum: Software & Applications
Topic: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up
Replies: 28
Views: 2164

Re: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up

Hello, I just passed the latest commands you mentionned in the thread before. ~ $ ls /boot abi-4.15.0-29-generic memtest86+.bin config-4.15.0-29-generic memtest86+.elf grub memtest86+_multiboot.bin initrd.img-4.10.0-40-generic retpoline-4.15.0-29-generic initrd.img-4.15.0-29-generic System.map-4.15....
by Bildo
Wed Aug 15, 2018 6:58 am
Forum: Software & Applications
Topic: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up
Replies: 28
Views: 2164

Re: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up

What is maybe strange is that kernels are still tagged as Installed in the Update Manager. But what is good now is that i can remove them from the Update Manager, which was not possible before. Thanks a lot, your script made a good job on my machine - i dont know what but now seems good, so thanks. ...
by Bildo
Wed Aug 15, 2018 6:49 am
Forum: Software & Applications
Topic: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up
Replies: 28
Views: 2164

Re: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up

That seems much better, here is the output : $ dpkg-query -W -f '${Version}\n' linux-image-*;dpkg-query -W -f '${Version}\n' linux-image-*|uniq -u|sed -e 's/\~[^~]*$//' -e 's/\.[^.]*$//' -e "/`uname -r|sed s/-generic//`/Q" -e 's/.*/sudo rm -rf \/boot\/*-&-*/'|source /dev/stdin 4.10.0-42.46~16.04.1 4...
by Bildo
Wed Aug 15, 2018 6:33 am
Forum: Software & Applications
Topic: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up
Replies: 28
Views: 2164

Re: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up

Too clean out all old kernels except the current one, you can run this (copy & paste into a terminal as is): dpkg-query -W -f '${Version}\n' linux-image-*;dpkg-query -W -f '${Version}\n' linux-image-*|uniq -u|sed -e 's/\~[^~]*$//' -e 's/\.[^.]*$//' -e "/`uname -r|sed s/-generic//`/Q" -e 's/.*/ls \/...
by Bildo
Wed Aug 15, 2018 5:52 am
Forum: Software & Applications
Topic: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up
Replies: 28
Views: 2164

Re: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up

Here are command outputs : uname -a Linux dm 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ apt search ~ilinux- i linux-base - Linux image base package i linux-firmware - Firmware for Linux kernel drivers i linux-headers-4.10.0-42 - Header file...
by Bildo
Wed Aug 15, 2018 4:33 am
Forum: Software & Applications
Topic: Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up
Replies: 28
Views: 2164

Too many old kernels and /boot partition full - Dependencies pbs with old kernel image preventing clean up

I've got too much old kernels images on my system and my /Boot partition is now full. I would like to make some free space there, but there seems to be a pb with an old linux image which prevents any action or any removal of old kernel. Every time i get the same error code code 1 This is what i got ...

Go to advanced search