multiple copies of same kernel??!!

2001-11-13 Thread John Thayer Jensen

I have 5 identical copies of kernel-2.4.9-13 on my Redhat 7.2.  This was a
result of a bug (Bugzilla number 55633) in up2date for Redhat 7.2.  If one
had (I had) earlier versions of the same package (in this case, the kernel)
installed, then each time up2date ran it installed yet another version of
the latest.

I got rid of all the earlier versions of the kernel, so now it no longer
adds duplicates.  Is there any way to remove all but one copy of this same
version?  I see in the rpm man pages that one can remove rpm installs by
install number - but I don't see how to find out the install numbers for my
five copies.

jj

John Thayer Jensen, System Administrator
School of Commerce, University of Auckland



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: multiple copies of same kernel??!!

2001-11-13 Thread Ray Curtis

 jtj == John Thayer Jensen [EMAIL PROTECTED] writes:

jtj I have 5 identical copies of kernel-2.4.9-13 on my Redhat 7.2.  This was a
jtj result of a bug (Bugzilla number 55633) in up2date for Redhat 7.2.  If one
jtj had (I had) earlier versions of the same package (in this case, the kernel)
jtj installed, then each time up2date ran it installed yet another version of
jtj the latest.

jtj I got rid of all the earlier versions of the kernel, so now it no longer
jtj adds duplicates.  Is there any way to remove all but one copy of this same
jtj version?  I see in the rpm man pages that one can remove rpm installs by
jtj install number - but I don't see how to find out the install numbers for my
jtj five copies.


Make sure you have a good kernel to boot from or a boot floppy then 

rpm -e --allmatches kernel

Of course at this point you will have to re-install only one copy of 
the kernel yo want.




-- 
Ray Curtis Unix Programmer/Consultant   Curtis Consulting
mailto:[EMAIL PROTECTED] http://www.ccux.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: multiple copies of same kernel??!!

2001-11-13 Thread John Thayer Jensen

Yeah.  This technique I had thought of.  Scared me slightly.  I just
wondered whether there wasn't an easier way.

jj
- Original Message -
From: Ray Curtis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 8:26 AM
Subject: Re: multiple copies of same kernel??!!


  jtj == John Thayer Jensen [EMAIL PROTECTED] writes:

 jtj I have 5 identical copies of kernel-2.4.9-13 on my Redhat 7.2.  This
was a
 jtj result of a bug (Bugzilla number 55633) in up2date for Redhat 7.2.
If one
 jtj had (I had) earlier versions of the same package (in this case, the
kernel)
 jtj installed, then each time up2date ran it installed yet another
version of
 jtj the latest.

 jtj I got rid of all the earlier versions of the kernel, so now it no
longer
 jtj adds duplicates.  Is there any way to remove all but one copy of this
same
 jtj version?  I see in the rpm man pages that one can remove rpm installs
by
 jtj install number - but I don't see how to find out the install numbers
for my
 jtj five copies.


 Make sure you have a good kernel to boot from or a boot floppy then

 rpm -e --allmatches kernel

 Of course at this point you will have to re-install only one copy of
 the kernel yo want.




 --
 Ray Curtis Unix Programmer/Consultant   Curtis Consulting
 mailto:[EMAIL PROTECTED] http://www.ccux.com



 ___
 Redhat-list mailing list
 [EMAIL PROTECTED]
 https://listman.redhat.com/mailman/listinfo/redhat-list




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: multiple copies of same kernel??!!

2001-11-13 Thread Leonard den Ottolander

Hi John,

 Yeah.  This technique I had thought of.  Scared me slightly.  I just
 wondered whether there wasn't an easier way.

  rpm -e --allmatches kernel

 Maybe add --justdb as well, and afterwards do a single install --justdb.

Bye,

Leonard.




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: multiple copies of same kernel??!!

2001-11-13 Thread John Thayer Jensen

Excellent idea!  I will try that.

jj
- Original Message - 
From: Leonard den Ottolander [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 9:29 AM
Subject: Re: multiple copies of same kernel??!!


 Hi John,
 
  Yeah.  This technique I had thought of.  Scared me slightly.  I just
  wondered whether there wasn't an easier way.
 
   rpm -e --allmatches kernel
 
  Maybe add --justdb as well, and afterwards do a single install --justdb.
 
 Bye,
 
 Leonard.
 
 
 
 
 ___
 Redhat-list mailing list
 [EMAIL PROTECTED]
 https://listman.redhat.com/mailman/listinfo/redhat-list
 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: multiple copies of same kernel??!!

2001-11-13 Thread Dan Egli

He wanted a version #. Did no one think of:
rpm -qa | grep kernel?

That will return all the versions of a kernel installed, then he can isolate
the correct one and rpm -e the others. i.e. rpm -e kernel-1.2.3-4
kernel-1.2.3-5 kernel-1.5.7-6 kernel-1.5.8-3


- Original Message -
From: John Thayer Jensen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 13, 2001 2:07 PM
Subject: Re: multiple copies of same kernel??!!


 Excellent idea!  I will try that.

 jj
 - Original Message -
 From: Leonard den Ottolander [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, November 14, 2001 9:29 AM
 Subject: Re: multiple copies of same kernel??!!


  Hi John,
 
   Yeah.  This technique I had thought of.  Scared me slightly.  I just
   wondered whether there wasn't an easier way.
 
rpm -e --allmatches kernel
 
   Maybe add --justdb as well, and afterwards do a single
install --justdb.
 
  Bye,
 
  Leonard.
 
 
 
 
  ___
  Redhat-list mailing list
  [EMAIL PROTECTED]
  https://listman.redhat.com/mailman/listinfo/redhat-list
 



 ___
 Redhat-list mailing list
 [EMAIL PROTECTED]
 https://listman.redhat.com/mailman/listinfo/redhat-list




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list