Trying to upgrade from 11.4 to 12.1 via DVD update, I get the following error:
Installation Failed
Details:
Failed to cache RPM database(1).
History:
-rpmdb2solv -r ‘/mnt’ -p ‘/mnt/etc/products.d’
‘/mnt/var/cache/zypp/solv/@System/solv’ >
‘/mnt/var/cache/zypp/solv/@System/solvnBusFn’
db->get: No such file or directory
corrupt rpm database, key2152 not found
please run ‘rpm --rebuilddb’ to recreate the database index files
Package installation will be aborted.
Running the recommended rpm command doesn’t seem to help. The system is left unbootable in either 11.4 or 12.1.
Any help appreciated.
On 06/21/2012 06:56 AM, kjlynn00 wrote:
>
> Yep, media check passes.
unfortunately, the in place upgrade from one supported version to
another is not as simple as clicking a button (which is why, for
example, caf4926 and many other SuSE/SUSE/openSUSE old heads “never do
‘Upgrades’”
so, did you do all the steps you are should to take prior to attempting
the DVD upgrade?
if you look though all three you might discover which step you missed,
and can then have a place to being solving the current state of your
system…but, if you can’t figure it out i’d agree with caf4926’s
“consider just doing a clean install and not formatting /home” [but i
would do that only after saving a copy of all my movies, music, photos,
homework, almost finished doctoral thesis and letters to/from Aunt
Tilly, etc etc etc to a safe, off machine, medium…]
On 2012-06-21 06:26, kjlynn00 wrote:
>
> Trying to upgrade from 11.4 to 12.1 via DVD update, I get the following
> error:
>
> Installation Failed
> Details:
> Failed to cache RPM database(1).
> History:
> -rpmdb2solv -r ‘/mnt’ -p ‘/mnt/etc/products.d’
> ‘/mnt/var/cache/zypp/solv/@System/solv’ >
> ‘/mnt/var/cache/zypp/solv/@System/solvnBusFn’
> db->get: No such file or directory
> corrupt rpm database, key2152 not found
> please run ‘rpm --rebuilddb’ to recreate the database index files
> Package installation will be aborted.
Ugly error!
> Running the recommended rpm command doesn’t seem to help. The system
> is left unbootable in either 11.4 or 12.1.
> Any help appreciated.
How did you run that command, if the system is unbootable?
I’m guessing that you did that in one of the consoles of the install
system, but in that case you have to use extra steps to run the command on
the database of the installed system and not in that of the installation
live system.
We might succeed booting another live system and recovering the database.