[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Been carefully in questions about the kernel ..?



On Fri, 03 Jan 2003 16:26:44 +0100
Thomas Rump <trump epost de> wrote:

> Please, could someone tell me which files / dirs i could delete, after
> 
> 'kernel-update' (2.4.18-19.8.0) seems ok. May be i've found these
> files in '/usr/src/...', '/boot/..' and '/lib/modules/...'. I am so
> carefully, cause in the past i have tried to update the kernel by
> myself, with different descriptions and no success!
> May be a member of this list knows also an internet side which
> declares or show a way how to update (manual) a kernel in a
> "Linux-RedHat" system?
> 
> Regards                                                Thomas Rump

You can get rid of anything that is in multiples. For instance:
bash-2.05b$ rpm -q kernel
kernel-2.4.18-17.8.0
kernel-2.4.18-14
kernel-2.4.20-0.pp.9
kernel-2.4.19-0.pp.20

bash-2.05b$ rpm -q kernel-source
kernel-source-2.4.19-0.pp.20
kernel-source-2.4.20-0.pp.9
kernel-source-2.4.18-17.8.0

Since I'm using kernel-2.4.20-0.pp.9, I can get rid of all of the
others. i can also get rid of all kernel-source or I can keep the one
for the current kernel. Or I can get rid of just one of each.

So:

rpm -e kernel-2.4.18-17.8.0

That would get rid of the one with that name. I need to put the whole
thing there because I have more than one. If I have one of something and
want to get rid of it, I can just use the name and not the version:

rpm -e kernel   (only for example purposes)

I'd do that for each one I wanted to get rid of for both kernel and
kernel-source.

If I wanted to get rid of all kernels-source because I didn't need any
of them:

rpm -e kernel-source --allmatches

That would get rid of all versions of something, so make sure it isn't
something you need and that's what you want to do before using that type
of command.

Once finished, you should see several things have disappeared in /boot
and /usr/src.

-- 
2 days without a Human Rights Violation!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]