On 11/26/06, Chris Mohler <cr33dog@xxxxxxxxx> wrote:
> funny thing, now rpm -qa shows nothing.
That sounds bad - I found this:
http://fedoranews.org/alex/tutorial/rpm/16.shtml
Be *sure* to include the underscores in the first command presented.
I would write it this way:
rm /var/lib/rpm/__* -f
With the -f on the end. If you leave out those underscores, you
*will* be re-installing afterward!!!
If and when rpm -qa returns the correct info, try typing 'python' on
the CLI and see what version you have(or if it's working). But if you
don't have RPM working, yum is going to fail...
Good luck!
Chris
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Hi
I tried it and it did not work out. This is the result.
[root@bloody ~]# [root@bloody ~]# rm -f /var/lib/rpm/__*
[root@bloody ~]# rpm -vv --rebuilddb
D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.3358
D: creating directory /var/lib/rpmrebuilddb.3358
D: opening old database with dbapi 3
D: opening db environment /var/lib/rpm/Packages create:cdb:mpool
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening new database with dbapi 3
D: opening db environment /var/lib/rpmrebuilddb.3358/Packages create:mpool
D: opening db index /var/lib/rpmrebuilddb.3358/Packages create mode=0x42
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: closed db index /var/lib/rpmrebuilddb.3358/Packages
D: closed db environment /var/lib/rpmrebuilddb.3358/Packages
D: removing directory /var/lib/rpmrebuilddb.3358
D: May free Score board((nil))
[root@bloody ~]# rpm -qa
[root@bloody ~]#
[root@bloody ~]# rpm -vv --rebuilddb
D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.3358
D: creating directory /var/lib/rpmrebuilddb.3358
D: opening old database with dbapi 3
D: opening db environment /var/lib/rpm/Packages create:cdb:mpool
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening new database with dbapi 3
D: opening db environment /var/lib/rpmrebuilddb.3358/Packages create:mpool
D: opening db index /var/lib/rpmrebuilddb.3358/Packages create mode=0x42
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: closed db index /var/lib/rpmrebuilddb.3358/Packages
D: closed db environment /var/lib/rpmrebuilddb.3358/Packages
D: removing directory /var/lib/rpmrebuilddb.3358
D: May free Score board((nil))
[root@bloody ~]# rpm -qa
[root@bloody ~]#
What else can I try/do ?
--
------------------------------
/\_/\
|O O| pepebuho@xxxxxxxxxxx
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.