ARG! I've tried doing
rpm --rebuilddb --dbpath /
and get the same problem.
I've tried
rpm --rebuilddb --root /
and get it too. It won't allow either --dbpath or --root to be specified
without the first character being a /
I mean, come on, even Windows95 allowed you to edit the registry to correct
an error like this! Why is rpm appending an unneeded extra /?
Bill Ward
-----Original Message-----
From: Ward William E PHDN [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 28, 2000 10:56 AM
To: Redhat-List (E-mail)
Subject: Problems with RPM
I'm having some odd problems with RPM which have turned a bit alarming. The
machine is a PPro running RH6.1 with the latest upgrades upto a bit over a
week ago. The RPM database seems to have become corrupted, and rpm
--rebuilddb does not work. I get the following error message whenever I try
to run it:
[root@Linus /root]# rpm --rebuilddb
failed to open //var/lib/rpm/packages.rpm
Obviously, //var is part of the problem.... ok, then, anyone know of an
rpm.conf or like file that I can see if I can fix that in? Or some other
way of saying to use it? For that matter, a search of packages.rpm comes up
blank, so it's not even on the system... of course, that could mean it's a
temporary file.
I'm lost.... my next option is to do a reinstall from scratch, which I am
loathe to do, especially when the machine is 95% normal....
TIA
Bill Ward
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.