Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
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.
RPM errors - SOLVED

RPM errors - SOLVED

2004-03-03       - By Luke

 Back
Reply:     1     2  

On Monday, March 01, 2004 5:32 PM Michael Schwendt wrote:
> The people on rpm-list
>
>   https://www.redhat.com/mailman/listinfo/rpm-list
>
> might be able to help you.
>

Thanks. It was a good advice :). The problem has been solved. Look below:

Luke.

On Tue, 2004-03-02 at 01:19, Axel Thimm wrote:
> On Mon, Mar 01, 2004 at 11:23:23PM +0100, Luke D. wrote:
> > Mike Zupan wrote:
> > > Try fixing your rpm DB first
> > >
> > > rm -f /var/lib/rpm/__db*
> > > rpm -vv --rebuilddb
> > >
> >
> > [root@(protected) root]# rm -f /var/lib/rpm/__db*
> > [root@(protected) root]# rpm -vv --rebuilddb
> > D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.2540
> > D: creating directory /var/lib/rpmrebuilddb.2540
> > 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.2540/Packages
create:mpool
> > D: opening  db index       /var/lib/rpmrebuilddb.2540/Packages create
> > mode=0x42
> > D: opening  db environment /var/lib/rpm/Packages joinenv
> > D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
> > D: opening  db index       /var/lib/rpm/Pubkeys rdonly mode=0x0
> > error: rpmdbNextIterator: skipping h#     971 Header V3 DSA signature:
BAD,
> > key
> > ID db42a60e
> > D:  read h#     981 Header sanity check: OK
> > D: ========== ??? pubkey id 9060094040210940
> > Segmentation fault
> >
> > Something wrong with DSA key ?
>
> try adding "--nosignature", and if that doesn't help, too, blow away
> you Signatures:
>
> mv -f /var/lib/rpm/Pubkeys /var/lib/rpm/Pubkeys.off
>

Thanks! That was it!
After:

$ mv -f /var/lib/rpm/Pubkeys /var/lib/rpm/Pubkeys.off
$ rpm --rebuilddb

all is ok except of one error:

error: db4 error(16) from dbenv->remove: Device or resource busy

But this error doesn't matter - I can install new packets now and update
the system.
Thanks!

Luke.

> >
> > __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> > Rpm-list mailing list
> > Rpm-list@(protected)
> > https://www.redhat.com/mailman/listinfo/rpm-list




--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list



Earn $52 per hosting referral at Lunarpages.