Bug 40651 - rpm won't remove old kernel after upgrade
rpm won't remove old kernel after upgrade
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-05-15 02:42 EDT by Philip Hirschhorn
Modified: 2007-04-18 12:33 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-16 03:18:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Philip Hirschhorn 2001-05-15 02:42:55 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)

Description of problem:
I used rpm-4.0.2-6x to upgrade my RedHat 6.0 plus most upgrades to 6.2 from
kernel-2.2.5-22 to kernel-2.2.19-6.2.1.  After booting the new kernel I
tried to use "rpm -e kernel-2.2.5" (and got the message "kernel-2.2.5 not
installed" and "rpm -e kernel-2.2.5-22" (and got the message
"kernel-2.2.5-22 not installed") and "rpm -e --test kernel" (and got the
message "kernel specifies multiple packages").  I can delete all the files
of kernel-2.2.5-22 by hand, but how would I then convince rpm that
kernel-2.2.5-22 was no longer installed?

How reproducible:

Steps to Reproduce:
1.Just give the rpm command to attempt to remove the old kernel.

Additional info:
Comment 1 Philip Hirschhorn 2001-05-16 03:18:13 EDT
All better now!  I gave the command

  rpm --rebuilddb

after which the command

  rpm -e kernel-2.2.5

removed the old kernel.

Note You need to log in before you can comment on or make changes to this bug.