Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Failed attempt at rebuilding RPM database

Failed attempt at rebuilding RPM database

2003-05-03       - By Steven P. Ulrick

 Back
Reply:     1     2     3     4     5     6     7     8  

On 03 May 2003 08:52:56 -0700
Z <zleite@(protected) > 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