Bugzilla – Bug 1069187
update-alternatives breaks rpmqpack after move of the rpmdb
Last modified: 2017-11-21 12:14:21 UTC
$ rpmqpack | grep ruby db->open: No such file or directory $ ls -ld /var/lib/rpm/ /var/lib/rpm/* drwxr-xr-x 3 root root 60 Nov 6 10:48 /var/lib/rpm/ drwxr-xr-x 2 root root 120 Nov 20 22:18 /var/lib/rpm/alternatives according to rbrown@ /var/lib/rpm should be a symlink to the new location. but at least in the build env that fails.
This seems to be resolved by https://build.opensuse.org/request/show/543914 (rpmqpack works with testing update-alternatives correctly)
rpmqpack needs to be fixed, it's coming from RPM package itself and should not relay on compat symlinks...
We may fix it, but it's not critical. For example libzypp will always rely on the compat symlink otherwise things like kiwi builds for older distributions cannot work.