Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #730

Re: Limiting number of kernels on debian/ubuntu

From Tim Watts <tw@dionic.net>
Newsgroups comp.os.linux.misc
Subject Re: Limiting number of kernels on debian/ubuntu
Followup-To comp.os.linux.misc
Date 2011-04-14 18:24 +0100
Organization A noiseless patient Spider
Message-ID <t6nj78-bs8.ln1@squidward.dionic.net> (permalink)
References <mukj78-n5v.ln1@squidward.dionic.net> <io79sq$dgk$1@news.albasani.net>

Followups directed to: comp.os.linux.misc

Show all headers | View raw


The Natural Philosopher wrote:

> Tim Watts wrote:
>> Interesting one - looked at my old ubuntu 8.04 server.
>> 
>> Loads of installed kernel debs (not unexpected for its age).
>> 
>> But - is there any way to get apt-get to limit the max number, say to the
>> last 3 latest (ie to "autoremove" old ones)? I've looked into this before
>> via google, but not found an answer...
>> 
>> Cheers,
>> 
>> Tim
> On debian I just remove em manually

That's what I just did :)

But, let's say you have 50+ machines...

OK - I could code a maint script in perl, but I *suspected* there might be a 
clever way to tell apt to junk them ("clever" like pinning and the other 
stunts advanced apt-fu can pull).

Cheers

Tim

-- 
Tim Watts

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Find similar


Thread

Limiting number of kernels on debian/ubuntu Tim Watts <tw@dionic.net> - 2011-04-14 17:45 +0100
  Re: Limiting number of kernels on debian/ubuntu The Natural Philosopher <tnp@invalid.invalid> - 2011-04-14 18:11 +0100
    Re: Limiting number of kernels on debian/ubuntu Tim Watts <tw@dionic.net> - 2011-04-14 18:24 +0100

csiph-web