Bug 4198 - Glint fails with new rpm-3.0.x
Glint fails with new rpm-3.0.x
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: glint (Show other bugs)
5.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
:
: 4795 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-07-24 15:30 EDT by Simon Hill
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-09-19 14:50:31 EDT
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 Simon Hill 1999-07-24 15:30:01 EDT
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
Comment 1 Bill Nottingham 1999-08-31 11:59:59 EDT
*** 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.
Comment 2 David Lawrence 1999-09-19 14:50:59 EDT
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.

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