Hide Forgot
After installing the new rpm-3.0.2-5.x, and rebuilding the rpm database with rpm --rebuilddb, glint was unable to read the new rpm database format. Traceback (innermost last): File "./glint.py", line 49, in ? installedPackageSet = InstalledPackageSet() File "./packageset.py", line 133, in __init__ self.db = RPMDatabase(prefix) File "./rpmdb.py", line 61, in __init__ self.OpenDatabase(Prefix) File "./rpmdb.py", line 26, in OpenDatabase self.reopen() File "./rpmdb.py", line 41, in reopen self.db = rpm.opendb() rpm.error: cannot open database in /var/lib/rpm
*** Bug 4795 has been marked as a duplicate of this bug. *** After upgrading to the latest rpm (3.0.2) from your Support list, glint does not work. Also, the X-Windows Package Management tool (which envokes glint) does not work. Executing glint from the command line results in the following messages: bad option 'macrofiles' at /usr/lib/rpm/rpmrc:256 Glint Graphical Package Manager -- version 2.6.2 Copyright (C) 1998 - Red Hat Software This may be freely redistributed under the terms of the GNU Public License Traceback (innermost last): File "./glint.py", line 49, in ? installedPackageSet = InstalledPackageSet() File "./packageset.py", line 133, in __init__ self.db = RPMDatabase(prefix) File "./rpmdb.py", line 61, in __init__ self.OpenDatabase(Prefix) File "./rpmdb.py", line 26, in OpenDatabase self.reopen() File "./rpmdb.py", line 41, in reopen self.db = rpm.opendb() rpm.error: cannot open database in /var/lib/rpm I downloaded the rpm and rpm-devel RPMs from the errata list, and did a "rpm --rebuilddb". Problem persists.
Glint has been deprecated and will probably disappear in following releases. Gnorpm as was shipped with 6.0 is a better and more modern choice for rpm package maintenance.