Bug 61420 - upgraded kernel not reported by rpm
upgraded kernel not reported by rpm
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.2
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-03-19 09:25 EST by Lorna Watts
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-03-19 09:26:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Lorna Watts 2002-03-19 09:25:59 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)

Description of problem:
I got rpm database errors when I upgraded my kernel from 2.4.7.10 to 2.4.9.31 
and modutils to modutils-2.4.13-0.7.1 as part of this work. 

rpm -q kernel still gives the old kernel version - 2.4.7.10. rpm -qa | grep 
kernel lists the old kernel packages but not the new one. But the new kernel 
boots successfully, has been added to /etc/grub.conf and is listed by uname -a.

Initially, rpm -qa | grep kernel gave an error (below) but I have reinstalled 
the same version of rpm and rebuilt the database and I no longer get this 
error. But rpm still does not list the new kernel version.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.rpm -q kernel 
2.rpm -qa | grep kernel 
3.uname -a 
	

Actual Results:  1. lists old kernel revision only 
2. lists only old kernel versions
3. lists new kernel version

Expected Results:  1. The new kernel should be listed as well as the old one
2. All kernel packages, both new and old versions, should be listed
3. uname -a should list the running kernel version (it does)

Additional info:

new modutils rpm version: modutils-2.4.13-0.7.1
new kernel version: 2.4.9-31
error when upgraded modutils:
error: db3 error(-30998) from db->close: DB_INCOMPLETE: Cache flush was unable 
to complete
rpmdb: First overflow page 1445 of invalid type
error: db3 error(-30985) from db->verify: DB_VERIFY_BAD: Database verification 
failed

error when upgraded kernel:
error: db3 error(-30998) from db->close: DB_INCOMPLETE: Cache flush was unable 
to complete
rpmdb: First overflow page 1445 has a prev_pgno
rpmdb: Overflow item incomplete on page 1210
error: db3 error(-30985) from db->verify: DB_VERIFY_BAD: Database verification 
failed

error when running rpm -qa | grep kernel after upgrades but before reinstalled 
rpm and rebuilt database:
error: rpmdb: damaged header instance #875 retrieved, skipping
Comment 1 Jeff Johnson 2002-03-19 10:28:47 EST
Reinstall the kernel package in order to
re-add the header to the database.

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