REPRODUCIBILITY (% or how often): 100
I cannot install any packages into the target http://releases.sailfishos.org/sdk/targets/Sailfish_OS-4.1.0.23-Sailfish_SDK_Target-aarch64.tar.7z
Below, nano is used for demo
$ sb2 -t SailfishOS-4.1.0.23-aarch64 -R zypper in nano
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
nano
1 new package to install.
Overall download size: 395.6 KiB. Already cached: 0 B. After the operation, additional 395.6 KiB will be used.
Continue? [y/n/v/...? shows all options] (y):
Retrieving package nano-2.8.5+git2-1.3.1.jolla.aarch64 (1/1), 395.6 KiB (395.6 KiB unpacked)
Retrieving: nano-2.8.5+git2-1.3.1.jolla.aarch64.rpm ...................................................................[done]
Checking for file conflicts: ..........................................................................................[done]
(1/1) Installing: nano-2.8.5+git2-1.3.1.jolla.aarch64 ................................................................[error]
Installation of nano-2.8.5+git2-1.3.1.jolla.aarch64 failed:
Error: Subprocess failed. Error: RPM failed: error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db4 - (-30971)
error: cannot open Packages database in /var/lib/rpm