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

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

i know that i can run
Code:
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


kwick
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
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