Thanks to all for their patience.

> Maybe something went wrong and the rpm database is messed up. Try to
> run rpm to fix the problem (check with man rpm)

I think you are right because glint does not work either:

[root@localhost /]# glint &
[1] 3054
[root@localhost /]# 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 51, in reopen
    label = name + ":" + version + ":" + release
TypeError: bad operand type(s) for +

[1]+  Exit 1                  glint
[root@localhost /]#


I had no luck rebuilding the rpm database. Can one of you please tell me what I am 
doing
wrong:

[root@localhost /root]#  rpm --rebuilddb
cannot allocate space for database
cannot add record originally at 24664
failed to rebuild database; original database remains in place
[root@localhost /root]#  rpm --rebuilddb --root /root
error creating directory /root//var/lib/rpm/rebuilddb.3115: No such file or directory
failed to open /root/var/lib/rpm/packages.rpm
[root@localhost /root]#  rpm --rebuilddb  --dbpath /root/var/lib/rpm/
error creating directory ///root/var/lib/rpm//rebuilddb.3116: No such file or directory
failed to open //root/var/lib/rpm/packages.rpm

I hope that there is a solution short of a complete reinstall...

Thanks to all for their help, and Happy New Year!
Idris



Reply via email to