Re: RPM errors - SOLVED

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

 



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@gemini1 root]# rm -f /var/lib/rpm/__db*
> > [root@gemini1 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@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/rpm-list




-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[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