Bug 1069187 - update-alternatives breaks rpmqpack after move of the rpmdb
Summary: update-alternatives breaks rpmqpack after move of the rpmdb
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 11:44 UTC by Marcus Rückert
Modified: 2017-11-21 12:14 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Rückert 2017-11-21 11:44:32 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.
Comment 1 Martin Pluskal 2017-11-21 11:52:17 UTC
This seems to be resolved by https://build.opensuse.org/request/show/543914 (rpmqpack works with testing update-alternatives correctly)
Comment 2 Thorsten Kukuk 2017-11-21 12:11:15 UTC
rpmqpack needs to be fixed, it's coming from RPM package itself and should not relay on compat symlinks...
Comment 3 Michael Schröder 2017-11-21 12:14:21 UTC
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.