Tumbleweed problem: librpm.so.2 is missing during distupdate

Right…

I tried to run zypper dup --from Tumbleweed just now, and before the process started zypper asked to solve some dependencies problems. Solution to one of them involved downgrading rpm.4.9 to rpm.4.8 - to which I agreed. Now, during the upgrade zypper started throwing fatal error messages at me, like this one:

error: db3 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery

I aborted the upgrade process and tried to run zypper again, but got only this:

zypper: error while loading shared libraries: librpm.so.2: cannot open shared object file: No such file or directory

As you might expect, PackageKit and Install/Remove Yast module refused to operate too.

Now, I really don’t want to try my luck and reboot after all that, so can someone give me any idea, what to expect and what to do next? I am at a complete loss here, frankly.

Before Tumbleweed I was using Factory-Tested for some time, but removed those repositories and replaced them with Main repos instead. I’m sure I must’ve done something incredibly stupid but hope everything is not lost just yet…

On Fri, 24 Jun 2011 16:06:04 +0000, TrueNeutral wrote:

> Right…
>
> I tried to run -zypper dup --from Tumbleweed- just now, and before the
> process started zypper asked to solve some dependencies problems.
> Solution to one of them involved downgrading rpm.4.9 to rpm.4.8 - to
> which I agreed. Now, during the upgrade zypper started throwing fatal
> error messages at me, like this one:

<snip>

This was caused by:

> Before Tumbleweed I was using Factory-Tested for some time, but removed
> those repositories and replaced them with Main repos instead. I’m sure I
> must’ve done something incredibly stupid but hope everything is not lost
> just yet…

That.

This is part of the “downgrade” from factory to 11.4.

Please, do a “downgrade” first, and reboot, before adding the tumbleweed
repos to your system.

Also note that downgrades like this don’t always work, and are
unsupported, and by doing so, you really are on your own.

Also, this has nothing to do with the Tumbleweed repo, sorry.

best of luck,

greg k-h