Messed up YaST - can't install/update software

I have only been an OpenSUSE user for a week or two, but seem to have messed up YaST’s abilities to install new programs or to keep already installed programs updated.

The error message I am receiving when I try to install/update software is


Subprocess failed. Error: RPM mislyktes: 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
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index

I am not sure what this means, but I guess maybe some database is missing or corrupted. I have done a lot of installing and removing software, both from the repositories and from rpm’s found on the web, but I suspect the problems started when I installed the 32-bit version of Lazarus along with the 32 bit FPC compiler.

I am using the 64 bit version of OpenSUSE 11.4 on my computer. I hope that someone can help me with this.

Thanks in advance.

Open your terminal and write

su
# zypper refresh

Open your terminal and run this

su -c 'rpm --rebuilddb'

Your rpm database may be corrupt. Try this from a console (as root):

rpm -vv --rebuilddb

That did the trick!

Thank you very much!

On 04/17/2011 01:06 PM, brist wrote:
>
> That did the trick!

FYI, rpm database corruption on a new users machine is often due to
aborting a YaST software operation…

it is best to let YaST run the whole thing…and, be patient because
the mirrors around the world are almost all donated resources and they
tend to cut back the band width during local business/school hours…so,
downloads may take a while…be patient…go for a walk…turn off the
torrent or whatever else might be soaking up the net width…but, do
you best to not interrupt YaST’s operation it almost always leads to
problems…

oh, and if you click the “Abort” button you will notice it is NOT an
instant finished…it takes a while (sometimes a LONG while) before it
gets to a point it can abort…if you force kill it, you will almost
always have a corrupted rpm database…


CAVEAT: http://is.gd/bpoMD
[NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]
Q: Why do you upgrade?
A: Because the Gecko is always greener on the other side!
So said k428 in http://is.gd/Pwc3xq

Thanks for valuable information.

I am experiencing stability issues with my current OpenSUSE installation (the desktop freezes and requires a reboot), so this may have caused it - I can’t remember if this happened during a YaST-session. But I’ll try to be patient. :slight_smile:

Thank you DenverD, That solved the problem of a crashed software update.

On 05/20/2011 12:06 AM, Fud4sale wrote:
>
> Thank you DenverD, That solved the problem of a crashed software update.

welcome!!


dd CAVEAT: http://is.gd/bpoMD
[NNTP via openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10]
Dual booting with Sluggish Loser7 on Acer Aspire One D255