Thread: major problems
View Single Post
Old 8th February 2012, 21:12
kwickcut kwickcut is offline
Senior Member
Join Date: Nov 2005
Location: nj usa
Posts: 226
Thanks: 14
Thanked 11 Times in 10 Posts

yes i understand that but how can i do one at a time

i know that i can run
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
it will remove all but the current kernel but how can i just delete one at a time instead of doing them all?

i want to keep one or 2 backups rite now i am running on 2.6.32-37-server but i think that 2.6.32-38-server is the latest when i select that one i am getting the error from above thanks

Operating system Ubuntu Linux 10.04.4
ISPConfig Version:
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
Reply With Quote