Re: [OM Cooker] Bad rpm database
Per Øyvind Karlsen <[email protected]> Tue, 8 Oct 2013 16:06:59 +0200
| Newsgroups | gmane.linux.mandrake.cooker.devel,gmane.linux.openmandriva.cooker.devel |
|---|---|
| Message-ID | <CA+0WU1Si+v8d8=EFuViBZMEgE4YSyN73zQHx1HcEQCQmOcrVDQ@mail.gmail.com> |
--bcaec53f30ed3ded4b04e83b4876 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You might wanna take a look at /usr/lib/rpm/bin/rpmdbchk as well. :) -- Regards, Per =D8yvind 2013/10/8 Chris Tanner <[email protected]> > Hello, > > I had a power failure while installing packages and now I get the > following from 'rpm' when I try to install a package: > > rpmdb: BDB2506 file /var/lib/rpm/Packages has LSN 30/4527913, past end of > log at 30/4280504 > rpmdb: BDB2507 Commonly caused by moving a database from one database > environment > rpmdb: BDB2508 to another without clearing the database LSNs, or by > removing all of > rpmdb: BDB2509 the log files from a database environment > rpmdb: BDB0641 __db_meta_setup: /var/lib/rpm/Packages: unexpected file > type or format > error: cannot open Packages(0) index: Invalid argument(22) > DB: Berkeley DB 5.2.42: (February 29, 2012) > error: cannot open Packages database in /var/lib/rpm > > > Is there anything that I can do to fix the problem. > > Chris > > --bcaec53f30ed3ded4b04e83b4876 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>You might wanna take a look at /usr/lib/rpm/bin/rpmdb= chk as well. :)<br><br>--<br></div>Regards,<br>Per =D8yvind<br></div><div c= lass=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2013/10/8 Chris Tan= ner <span dir=3D"ltr"><<a href=3D"mailto:[email protected]= " target=3D"_blank">[email protected]</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Hello,<br> <br> I had a power failure while installing packages and now I get the following= from 'rpm' when I try to install a package:<br> <br> rpmdb: BDB2506 file /var/lib/rpm/Packages has LSN 30/4527913, past end of l= og at 30/4280504<br> rpmdb: BDB2507 Commonly caused by moving a database from one database envir= onment<br> rpmdb: BDB2508 to another without clearing the database LSNs, or by removin= g all of<br> rpmdb: BDB2509 the log files from a database environment<br> rpmdb: BDB0641 __db_meta_setup: /var/lib/rpm/Packages: unexpected file type= or format<br> error: cannot open Packages(0) index: Invalid argument(22)<br> =A0 =A0 =A0 =A0 DB: Berkeley DB 5.2.42: (February 29, 2012)<br> error: cannot open Packages database in /var/lib/rpm<br> <br> <br> Is there anything that I can do to fix the problem.<span class=3D"HOEnZb"><= font color=3D"#888888"><br> <br> Chris<br> <br> </font></span></blockquote></div><br></div> --bcaec53f30ed3ded4b04e83b4876--