rpm database corrupted after fedeup from 20 to 21
Mick
yam_bike at yahoo.com
Wed Dec 24 03:46:14 UTC 2014
Hi Adam;
thanks for trying.
It made no difference.
The message was:
[root at localhost ~]# rpm --rebuilddb
error: rpmdb: BDB0641 __db_meta_setup: /var/lib/rpm/Packages: unexpected file type or format
error: cannot open Packages index using db5 - Invalid argument (22)
and looking at the file:
[root at localhost ~]# ls -l /var/lib/rpm/Packages
-rw-r--r--. 1 root root 452214784 Dec 20 14:49 /var/lib/rpm/Packages
When I renamed Packages the rpmbuilddb error went away.
However
[root at localhost rpm]# yum update
CRITICAL:yum.main:
Error: rpmdb failed release provides. Try: rpm --rebuilddb
>From my Google-FU it seems that a full re-install (DVD) of F21 is the only cure.
I am trying to avoid that.
MickM
--------------------------------------------
On Tue, 12/23/14, Adam Williamson <adamwill at fedoraproject.org> wrote:
Subject: Re: rpm database corrupted after fedeup from 20 to 21
To: "For testing and quality assurance of Fedora releases" <test at lists.fedoraproject.org>
Date: Tuesday, December 23, 2014, 12:13 PM
On Tue, 2014-12-23 at
08:06 -0800, Mick wrote:
> Hi;
> I was running FC20 fully
updated.
> [root at localhost ~]#
fedup --network 21 --product=nonproduct
>
> Which worked.
> Now
when I try to 'yum update'
> [root at localhost ~]# yum
update
> error: rpmdb: BDB0641
__db_meta_setup: /var/lib/rpm/Packages:
> unexpected file type or format
> error: cannot open Packages index using
db5 - Invalid argument (22)
> error:
cannot open Packages database in /var/lib/rpm
> CRITICAL:yum.main:
>
> Error: rpmdb open failed
> [root at localhost ~]#
>
> Or rpm--rebuilddb
> [root at localhost ~]# rpm
--rebuilddb
> error: rpmdb: BDB0641
__db_meta_setup: /var/lib/rpm/Packages:
> unexpected file type or format
> error: cannot open Packages index using
db5 - Invalid argument (22) [
> root at localhost ~]#
>
> Any ideas?
> Apart from this the system is working
fine.
>
Try:
mv
/var/lib/rpm/__db* /tmp
rpm --rebuilddb
if it doesn't help, move
the __db* files back, you may want to keep
them in case some RPM guru can help you debug.
Hope this helps!
--
Adam
Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP:
adamw AT happyassassin . net
http://www.happyassassin.net
--
test
mailing list
test at lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test
More information about the test
mailing list