Cannot Install Anything using Zypper or YaST

Hi all,

I don’t know why this is happening, however, all of a sudden I am unable to install any packages (from OpenSUSE repos of course) using either Zypper from the CLI or YaST2. Every time I try and install anything, or perfom a zypper dup, I am greeted with the below error message.

error: error(-30987) getting "" records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index

I’m no stranger to OpenSUSE’s package manager, however I have yet to come across this error before, any help will be of course, greatly appreciated.

Tom

Try this

Open a terminal and do

su -
rpmdb --rebuilddb

It takes a little time

Then try again

sounds like (i think) the rpm data base is corrupted, try this at a
command line


su -
rpmdb --rebuilddb

don’t forget the - after su[space] and then give your root password when
asked…

give it plenty of time to complete…

may not work (post again) but i doubt it can cause trouble…


DD
Caveat-Hardware-Software
openSUSE®, the “German Engineered Automobiles” of operating systems!