Re: rpm database corrupted after fedeup from 20 to 21

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

 



On Ter, 2014-12-23 at 19:46 -0800, Mick wrote: 
> Hi Adam;
>     thanks for trying.
> It made no difference.
> 
> The message was:
> [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)
> 
> and looking at the file:
> [root@localhost ~]# ls -l /var/lib/rpm/Packages
> -rw-r--r--. 1 root root 452214784 Dec 20 14:49 /var/lib/rpm/Packages

what you got ? with command : 
file /var/lib/rpm/Packages

I got : 
/var/lib/rpm/Packages: Berkeley DB (Hash, version 9, native byte-order)

> When I renamed Packages the rpmbuilddb error went away.
> However
> [root@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@xxxxxxxxxxxxxxxxx> wrote:
> 
>  Subject: Re: rpm database corrupted after fedeup from 20 to 21
>  To: "For testing and quality assurance of Fedora releases" <test@xxxxxxxxxxxxxxxxxxxxxxx>
>  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@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

-- 
Sérgio M. B.

-- 
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