Hello,
I’ve done 3 upgrades from 15.6 to 16.0 on 2 laptops and 1 desktop system using my old method of “zypper --releasever=16.0 ref” and then “zypper --releasever=16.0 dup” after doing all the other preparation work. Today I have tried another desktop system as a test but this one is failing. It shows me the amount of packages to install and then starts to install packages after around 500 it reaches rpm and then the next package after that fails. See below
( 503/3853) Installing: rpm-config-SUSE-20250328-160000.2.2.noarch […done]
( 504/3853) Installing: rpm-4.20.1-160000.2.2.x86_64 […
Updating /etc/sysconfig/services …
.done]
( 505/3853) Installing: p11-kit-tools-0.25.5-160000.2.2.x86_64 [.
warning: Found bdb_ro Packages database while attempting ndb backend: using bdb_ro backend.( 505/3853) Installing: p11-kit-tools-0.25.5-160000.2.2.x86_64 [.
warning: Found bdb_ro Packages database while attempting ndb backend: using bdb_ro backend.
warning: Found bdb_ro Packages database while attempting ndb backend: using bdb_ro backend.
warning: Converting database from bdb_ro to ndb backend
error: cannot add record originally at 6
warning: failed to rebuild database: original database remains in place
warning: Found bdb_ro Packages database while attempting ndb backend: using bdb_ro backend.
error: cannot open Packages database in /usr/lib/sysimage/rpm
error]
Installation of p11-kit-tools-0.25.5-160000.2.2.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
I’ve tried retry, ignore without result. When I do abort I get the following
Problem occurred during or after installation or removal of packages:
Failed to cache rpm database (127).
History:
- ‘rpmdb2solv’ ‘-r’ ‘/’ ‘-D’ ‘/usr/lib/sysimage/rpm’ ‘-X’ ‘-p’ ‘/etc/products.d’ ‘/var/cache/zypp/solv/@System/solv’ ‘-o’ ‘/var/cache/zypp/solv/@System/solvkRVYWh’
rpmdb2solv: error while loading shared libraries: librpmio.so.8: cannot open shared object file: No such file or directory
Please see the above error message for a hint.
This to me is indicating that it is still looking for an old library of leap 15.6 which is no longer there I do find librpmio.so.10 which is for leap 16.0. The same for librpm.so
Is there anything I can do here at this point or should I have done something in the first place.
I have found 2 references of people having the same issues but not really had resolutions either.
The migration tool has also been mentioned quite a few times but just as often people complain that it fails as well hence I haven’t tried that method myself yet.