Bug 12824

Summary: (python traceback) Rebuild of RPM database fails if not enough space
Product: [Retired] Red Hat Linux Reporter: James Manning <jmm>
Component: installerAssignee: Matt Wilson <msw>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: low    
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: 2000-06-22 21:02:36 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 James Manning 2000-06-22 21:02:35 UTC
installer does about all it can, actually... it worries me that / and /tmp 
can have so much (relatively) free and the rebuild fail (later on, when 
there's not enough room for the upgrade, perhaps).  Is the error just not 
clear and this is actually warning about room for the full upgrade?  Or is 
the rebuild being done in the current /tmp where there's not enough room 
instead of /mnt/sysimage/tmp?

Mount Point
/                             1963       764        1199
/proc                         0          0          0
/dev/pts                      0          0          0
/mnt/source                   625158     625158     0
/mnt/runtime                  93575      88518      5057
/mnt/sysimage                 2004801    1663508    341293
/mnt/sysimage/home/jmm        2004801    1679436    325365
/mnt/sysimage/home/oracle     1633944    575444     1058500
/mnt/sysimage/tmp             497928     219656     278272
/mnt/sysimage/proc            0          0          0


340M avail on /, 278M avail on /tmp, upgrade from beta1

Popup says "Rebuild of RPM database failed. You may be out of disk space?" 
then it gave a traceback after hitting "OK" (only button available):

Traceback (innermost last):
  File "/usr/bin/anaconda", line 423, in ?
    intf.run(todo, test = test)
  File "/usr/lib/anaconda/gui.py", line 297, in run
    self.icw.run ()
  File "/usr/lib/anaconda/gui.py", line 639, in run
    mainloop ()
  File "/usr/lib/python1.5/site-packages/gtk.py", line 2554, in mainloop
    _gtk.gtk_main()
  File "/usr/lib/python1.5/site-packages/gtk.py", line 125, in __call__
    ret = apply(self.func, a)
  File "/usr/lib/anaconda/gui.py", line 373, in nextClicked
    next = self.currentScreen.getNext ()
  File "/usr/lib/anaconda/iw/examine_gui.py", line 21, in getNext
    self.todo.upgradeFindPackages (self.root)
  File "/usr/lib/anaconda/todo.py", line 867, in upgradeFindPackages
    raise RuntimeError, "Rebuild of RPM database failed."
RuntimeError: Rebuild of RPM database failed.

Comment 1 James Manning 2000-06-22 22:10:05 UTC
Jeff Johnson's mail to testers-list explains the lack of support for beta1's db
format, explaining my failed upgrades.

Message-ID: <20000622041906.I22847.redhat.com>