Bug 33131

Summary: upgrade from 7.0 to qa0322 fails
Product: [Retired] Red Hat Linux Reporter: Chris Ricker <chris.ricker>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: high    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-26 19:58:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Ricker 2001-03-25 20:22:54 UTC
I'm trying to upgrade a machine from a 7.0 custom install (mostly stock RH,
does have more recent openssh, modutils, procmail, and postfix rpms
installed, as well as a 2.4 SMP kernel not from rpm) to qa0322.  Using
either NFS install or local CD install, it dies at the "finding packages to
upgrade" step.  This occurs whether or not I select the "customize
packages" option.  The only error message I get (and it's the same from all
four scenarios) is

python: header.c:511: headerLoad: Assertion `rdlen == dl` failed


Let me know what other information would be useful (list of installed
RPMs?), and if there's any way to get more debugging output than that....

Comment 1 Chris Ricker 2001-03-26 01:07:27 UTC
This appears to be due to a subtly corrupted rpm database on the 7.0 box.  rpm
--rebuilddb didn't fix the problem, but doing an rpm -Va showed that gcc had
gotten part of the postfix log overwriting its description.  Removing and
reinstalling gcc cleared the corruption from the rpm db, and then the upgrade
worked.

You can probably go ahead and close this bug.  More robust handling of corrupt
rpm dbs and / or a more informative error than "python: header.c:511:
headerLoad: Assertion `rdlen == dl` failed" would be nice, though.

Also, failed upgrades due to corrupt db leave lots of droppings behind.  I have
a lot of /var/lib/anaconda-rebuilddb* directories full of rpm db dumps....

Comment 2 Michael Fulbright 2001-03-26 17:22:50 UTC
Jeff any idea what is going on here, and if its been fixed?

Comment 3 Jeff Johnson 2001-03-26 19:58:46 UTC
Nope, there's no way to tell how or when the gcc package was installed before
the
the upgrade was attempted.