Re: [ubuntu-uk] Unwanted kernels .....

2015-01-22 Thread Andy Whitcroft
On Fri, Aug 15, 2014 at 04:16:55PM +0100, Colin Law wrote: > Right, gotit, thanks. I deduce from what I see that 14.04 > automatically uninstalls (or at least makes available for > autoremoving) all except the current and previous kernel, and all that > is left is the conf files for previous vers

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Colin Law
On 15 August 2014 14:45, Alan Pope wrote: > On 15 August 2014 14:09, Colin Law wrote: >> On 15 August 2014 13:55, Colin Law wrote: >>> On 15 August 2014 13:46, Alan Lord wrote: >>> .. Here's a very neat bash command that I stick in ~/bin for this very purpose: http://www.to

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Barry Drake
On 15/08/14 15:14, Barry Drake wrote: Thanks Alan. That is really neat. I've run the first part of the command and the three variables are precisely what I want. I'll amend the script just a little and keep it in my home directory with other neat little scripts I use from time to time. I've

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Barry Drake
On 15/08/14 13:46, Alan Lord wrote: On 15/08/14 10:59, Barry Drake wrote: I now have a very large number of unwanted kernels. Here's a very neat bash command that I stick in ~/bin for this very purpose: http://www.tolaris.com/2012/07/19/removing-old-kernels-from-ubuntu/ Thanks Alan. That is

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Alan Pope
On 15 August 2014 14:09, Colin Law wrote: > On 15 August 2014 13:55, Colin Law wrote: >> On 15 August 2014 13:46, Alan Lord wrote: >> .. >>> Here's a very neat bash command that I stick in ~/bin for this very purpose: >>> >>> http://www.tolaris.com/2012/07/19/removing-old-kernels-from-ubuntu/ >>

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Colin Law
On 15 August 2014 13:55, Colin Law wrote: > On 15 August 2014 13:46, Alan Lord wrote: > .. >> Here's a very neat bash command that I stick in ~/bin for this very purpose: >> >> http://www.tolaris.com/2012/07/19/removing-old-kernels-from-ubuntu/ > > That only removed one kernel for me (I have lots

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Colin Law
On 15 August 2014 13:46, Alan Lord wrote: > On 15/08/14 10:59, Barry Drake wrote: >> >> I've gone through an entire development cycle without having to >> re-install 14.10 - just amazing! >> >> I now have a very large number of unwanted kernels. There used to be a >> very simple gui tool that let

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Alan Lord
On 15/08/14 10:59, Barry Drake wrote: I've gone through an entire development cycle without having to re-install 14.10 - just amazing! I now have a very large number of unwanted kernels. There used to be a very simple gui tool that let me remove all the ones I didn't want, but I don't seem to s

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Robert McWilliam
On Fri, Aug 15, 2014, at 11:57 AM, Colin Law wrote: > > It's truncated. Maybe your terminal window is too small? (which is why > > I suggested making it full screen). > > Ah, I see. To get the line > rc linux-image-extra-3.6.0-030600rc1-generic > 3.6.0-030600rc1.201208022 i386

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Barry Drake
On 15/08/14 11:57, Colin Law wrote: Ah, I see. To get the line rc linux-image-extra-3.6.0-030600rc1-generic 3.6.0-030600rc1.201208022 i386 Linux kernel image for version 3.6.0 on 32 bit x86 SMP to not truncate the name I had to extend the window into the second monitor even though there is emp

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Barry Drake
On 15/08/14 11:36, Alan Pope wrote: dpkg -l linux-image* Gives me a list of kernels, but the names are not the actual package names. I altered the output for the oldest to the actual package and removed it with no problem, and it will save me quite a lot of time. I'll possibly use 'ls linu

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Colin Law
On 15 August 2014 11:36, Alan Pope wrote: > On 15 August 2014 11:31, Colin Law wrote: >> On 15 August 2014 11:12, Alan Pope wrote: >>> On 15 August 2014 11:07, Barry Drake wrote: On 15/08/14 11:02, Alan Pope wrote: > > On 15 August 2014 10:59, Barry Drake wrote: >> >> If I

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Alan Pope
On 15 August 2014 11:31, Colin Law wrote: > On 15 August 2014 11:12, Alan Pope wrote: >> On 15 August 2014 11:07, Barry Drake wrote: >>> On 15/08/14 11:02, Alan Pope wrote: On 15 August 2014 10:59, Barry Drake wrote: > > If I want to do it using apt-get, I'm going to have to u

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Colin Law
On 15 August 2014 11:12, Alan Pope wrote: > On 15 August 2014 11:07, Barry Drake wrote: >> On 15/08/14 11:02, Alan Pope wrote: >>> >>> On 15 August 2014 10:59, Barry Drake wrote: If I want to do it using apt-get, I'm going to have to use the command for every one which will take a

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Simon Greenwood
This command will remove all but your running kernel from the command line: sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d') Source is here: http://askubuntu.com/questions/2793/how-do-i-r

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Alan Pope
On 15 August 2014 11:07, Barry Drake wrote: > On 15/08/14 11:02, Alan Pope wrote: >> >> On 15 August 2014 10:59, Barry Drake wrote: >>> >>> If I want to do it using apt-get, I'm going to have to use the command >>> for every one which will take a while. Is there a tool >>> for automating this ju

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Dave Morley
On Fri, 15 Aug 2014 11:02:22 +0100 Alan Pope wrote: > On 15 August 2014 10:59, Barry Drake > wrote: > > I've gone through an entire development cycle without having to > > re-install 14.10 - just amazing! > > > > I now have a very large number of unwanted kernels. There used to > > be a very si

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Barry Drake
On 15/08/14 11:02, Alan Pope wrote: On 15 August 2014 10:59, Barry Drake wrote: If I want to do it using apt-get, I'm going to have to use the command for every one which will take a while. Is there a tool for automating this just a bit? Does this command offer to remove some? sudo apt-get a

Re: [ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Alan Pope
On 15 August 2014 10:59, Barry Drake wrote: > I've gone through an entire development cycle without having to re-install > 14.10 - just amazing! > > I now have a very large number of unwanted kernels. There used to be a very > simple gui tool that let me remove all the ones I didn't want, but I d

[ubuntu-uk] Unwanted kernels .....

2014-08-15 Thread Barry Drake
I've gone through an entire development cycle without having to re-install 14.10 - just amazing! I now have a very large number of unwanted kernels. There used to be a very simple gui tool that let me remove all the ones I didn't want, but I don't seem to see it anymore. If I want to do it u

Re: [ubuntu-uk] Unwanted kernels

2013-05-04 Thread Liam Proven
On 4 May 2013 15:53, Tony Pursell wrote: > Hi All > > Has anyone got any advice or tips on how to safely rid oneself of unwanted > kernel. I thought this was an issue that had been solved but I'm still left > with 5 ver 2.6 and 8 ver 3.0 kernels despite having upgraded to Raring. I > don't mind

Re: [ubuntu-uk] Unwanted kernels

2013-05-04 Thread pete smout
On 04/05/13 17:01, A wrote: On 04/05/13 15:53, Tony Pursell wrote: Hi All Has anyone got any advice or tips on how to safely rid oneself of unwanted kernel. I thought this was an issue that had been solved but I'm still left with 5 ver 2.6 and 8 ver 3.0 kernels despite having upgraded to Rarin

Re: [ubuntu-uk] Unwanted kernels

2013-05-04 Thread Tyler J. Wagner
On 2013-05-04 16:47, Colin Law wrote: > On 4 May 2013 15:53, Tony Pursell wrote: >> Hi All >> >> Has anyone got any advice or tips on how to safely rid oneself of unwanted >> kernel. I thought this was an issue that had been solved but I'm still left >> with 5 ver 2.6 and 8 ver 3.0 kernels despit

Re: [ubuntu-uk] Unwanted kernels

2013-05-04 Thread A
On 04/05/13 15:53, Tony Pursell wrote: > Hi All > > Has anyone got any advice or tips on how to safely rid oneself of > unwanted kernel. I thought this was an issue that had been solved but > I'm still left with 5 ver 2.6 and 8 ver 3.0 kernels despite having > upgraded to Raring. I don't mind kee

Re: [ubuntu-uk] Unwanted kernels

2013-05-04 Thread Colin Law
On 4 May 2013 15:53, Tony Pursell wrote: > Hi All > > Has anyone got any advice or tips on how to safely rid oneself of unwanted > kernel. I thought this was an issue that had been solved but I'm still left > with 5 ver 2.6 and 8 ver 3.0 kernels despite having upgraded to Raring. I > don't mind

Re: [ubuntu-uk] Unwanted kernels

2013-05-04 Thread Mark Fraser
On 4 May 2013 15:54, "Tony Pursell" wrote: > > Hi All > > Has anyone got any advice or tips on how to safely rid oneself of unwanted kernel. I thought this was an issue that had been solved but I'm still left with 5 ver 2.6 and 8 ver 3.0 kernels despite having upgraded to Raring. I don't mind ke

[ubuntu-uk] Unwanted kernels

2013-05-04 Thread Tony Pursell
Hi All Has anyone got any advice or tips on how to safely rid oneself of unwanted kernel. I thought this was an issue that had been solved but I'm still left with 5 ver 2.6 and 8 ver 3.0 kernels despite having upgraded to Raring. I don't mind keeping the latest 3.8 kernel and the 3.5 before that