RPM database problem

Hi,

I’m having difficulties installing Apache2 on one of our SLES servers. Yast2 keeps reporting that ‘There are no installable providers of xxxxx for apache2-2.2.3-16.21.i586[SLES10-SP2-Updates]’ where xxxx are various components, for example Apache MPM or Apache Runtime. The same thing seems to be happening for other packages such a Ethereal. The thing is that the required modules are listed (e.g. there is an Apache MPM module available and for Ethereal there is a lippcap) but the installer does not seem to recognize they are available and instead gives the error above. Ordinarily, Yast informs you that there is a dependency and allows you to select the package you need to install.

I have tried repairing the database using:

 rpm --repairdb

but to no avail.

How can I fix this problem? Does the OS need to be re-installed or can the RPM database be fixed or re-installed somehow? :confused:

have you tried

rpmdb --rebuild

Andy

Strange. Getting:

rpmdb --rebuild

–rebuild: unknown option

PS: That was quick!

oops, my bad, forgot the db at the end. it should be

rpmdb --rebuilddb

Andy

It’s actually

rpm --rebuilddb

But you guys were bound to get it eventually without checking the man page if you tried all combinations. :wink:

rpmdb also works for just the db operations.

Sorry, I actually mis-typed my opening post. I have already tried

rpm --rebuilddb

NOT rpm --repairdb which is also an invalid option!

Have tried it again though but still getting the same error. I’m only selecting to install Apache2 - nothing else.

I have also tried the:

rpmdb --rebuilddb

option but also to no avail.

Doesn’t look like a DB problem, usually that results in different messages, but I’m not familiar with SLES packages so I can’t offer any good advice on how to fix it. You know that there is an Enterprise SUSE forum hosted at Novell, right?

No I wasn’t aware of the Enterprise forum ken_yap. Thanks for letting me know. I’ve place my query on there now too.