Aaron Konstam wrote:
On Fri, 2005-09-16 at 12:40 -0500, akonstam@xxxxxxxxxxx wrote:
Does any one know what the following installed rpms do since they
prevent the removal of older kernels that the system says these
installed rpms depend on:
dlm-kernel-2.6.11.5-20050601.152643.FC4.2
GFS-kernel-2.6.11.8-20050601.152643.FC4.2
cman-kernel-2.6.11.5-20050601.152643.FC4.12
dlm-kernel-2.6.11.5-20050601.152643.FC4.12
dlm-kernel-2.6.11.5-20050601.152643.FC4.10
GFS-kernel-2.6.11.8-20050601.152643.FC4.9
cman-kernel-2.6.11.5-20050601.152643.FC4.2
gnbd-kernel-2.6.11.2-20050420.133124.FC4.35
gnbd-kernel-2.6.11.2-20050420.133124.FC4.45
GFS-kernel-2.6.11.8-20050601.152643.FC4.14
gnbd-kernel-2.6.11.2-20050420.133124.FC4.43
cman-kernel-2.6.11.5-20050601.152643.FC4.9
-> yum info dlm-kernel-
I have gotten several answers to this question from knowledgeable who give
their time generously to answer questions. But in this case the answers
were like the old Microsoft joke the answers are correct but not helpful.
Now before people get riled let me make it clear that the reasons
that the answers were not useful is that I asked the wrong question.
Sure I can find out what these do by using techniques like rpm -qi and the
yum method above but what mystifies me is that there are certain installed
kernels on our machines that these rpms depend on.
Or rather they depend on the kernel modules that the kernels bring with them.
Now the latest kernel 2.6.12-1.1442.6.12-1.1447_FC47_FC4 is not one that
these depend on.So if I want to use the rpms how can I do that and still
remove the old kernels that are lying around?
You need versions that are specific to the kernel removed. You should
have versions for each kernel that you installed. The older versions
will be removed and the newer versions for your later kernel will still
be installed on your system.
Actually I am not really
sure that there are not some of the dlm, GFS, etc kernels that do not
depend on:
kernel 2.6.12-1.1442.6.12-1.1447 but I think that is true.
I am still not sure this is the right question but I am getting closer.
--
yum remove kernel<version>
will remove the kernel and the related kernel dependent standalone
modules. You will still have the kernel-devel modules left, so they will
accumulate if you do not yum remove (or erase) the kernel-devel package
for the kernel that you removed also.
You probably do not need the clustering related modules and can safely
remove them, so you can just use rpm -e kernel<version> in the future as
another solution. The standalone modules are dependent upon specific
kernels and are mentioned in the release notes.
I filed an RFE bug report on this pre-release of FC4. It has some more
specific details within it.
Jim
--
QOTD:
If it's too loud, you're too old.