Re: rpm database corrupted after fedeup from 20 to 21

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

 



On Tue, 2014-12-23 at 08:06 -0800, Mick wrote:
> Hi;
>   I was running FC20 fully updated.
> [root@localhost ~]#  fedup --network 21 --product=nonproduct
> 
> Which worked.
> Now when I try to 'yum update'
> [root@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@localhost ~]#
> 
> Or rpm--rebuilddb
> [root@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@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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux