Re: Failed attempt at rebuilding RPM database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03 May 2003 08:52:56 -0700
Z <zleite@xxxxxxxxxxxxxx> wrote:

> Also, I got rpm to work for root on kernel 2.5.68 by creating
> /etc/rpm/macros(renaming etc/macros.specspo - what__ that anyway?) and
> adding 
> 
>     %__dbi_cdb  create cdb mpool mp_mmapsize=16Mb mp_size=1Mb private
> 
> AS Jeff Johnson suggested. Otherwise no go.

Hello, Z :)
I did everything that you said (I put "%__dbi_cdb  create cdb mpool
mp_mmapsize=16Mb mp_size=1Mb private" in the file that I had just
renamed "macros" (the one that was formerly named "macros.specspo")) and
I rebooted.
After refollowing the directions that I quoted (and you re-quoted) in a
previous message, when I ran "db_verify Packages", I got the following
error:
db_verify: Old or incorrect DB version; extraneous errors may result
db_verify: DB->verify: Packages: DB_VERIFY_BAD: Database verification
failed

This appears to be an error message that I haven't seen yet, and it fits
in perfectly with what Jeff Johnson said:
"Ah, that's db-4.0.14 vs. db-4.1.25 incompatibility."

Because I am running Red Hat 9, the version of db4 on my system is
4.0.14 (I had to check the installation cd's, as "rpm -qa" is completely
dead.  If I believed it's output, then I have no RPM's installed :)

One new point of clarification: my problem is not related to a specific
package, like in the bug report.  Everything I've tried to run works
just as well as it did before, it's just that I can't install RPM's,
erase RPM's or run any RPM query's.  (The statement about not being able
to install RPM's needs a little clarification: If I run "rpm (-ivh,
-Uvh, -Fvh)", I get a full list of dependencies (I assume this is
because my RPM database is non-operational.)  If I add "--nodeps", then
the installation proceeds as normal.  Of course, I never needed to add
"--nodeps" before, and if I had done so on a regular basis, especially
with official Red Hat updates, that would have been kind of stupid)

I just tried a test:
1. ran "gnome-breakout" from the command line.  Got "command not found",
which was expected, because I hadn't reinstalled it since my last
install.
2. Tried "rpm -ivh" and "rpm -Uvh" on the "gnome-breakout" RPM, and I
got a list of all its dependencies.
3. Ran "rpm -Uvh --nodeps" on the "gnome-breakout" RPM and the
installation proceeded as normal.
4. Ran "gnome-breakout" from the command line, with the result that I
just played a game on my machine that shouldn't work, considering that
the output of "rpm -Uvh" on that RPM gave me a dependency list of 25
libraries that were "missing" and 10 RPM's that were suggested to fix
the dependencies! (all of which were installed when I installed Red Hat
9, and none of which have I removed since then)

Well, that's all for now :)
Thanks again to everyone who has given advice so far :)  It looks like
we are making progress :)

Steven P. Ulrick





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux