Overview
Request 544383 accepted
- Created by scarabeus_iv
- In state accepted
- Supersedes 543914
+# We want to make sure to have rpm with new dbpath used +Requires(post): rpm >= 4.13
You still can't be sure to have an rpm with a new path with this requires.
There is simply no symbol there guaranteeing that you have an RPM with the new dbpath.
+ mv -f %{_dbpath}/alternatives/* /var/lib/alternatives/ || : + rmdir %{_dbpath}/alternatives ||:
I wonder if it were not safer to use the old admindir here, instead of relying on the 'changing' dbpath.
ALL systems have the old u-a files accessible under /var/lib/rpm/alternatives (with new dbpath via symlink, wihtout new dbpath it is there directly)
You would probably save yourself a lot of headaches (and the weird dependency on a specifc rpm version which is still no guarantee)
Request History
scarabeus_iv created request
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto added repo-checker as a reviewer
Please review build success
factory-auto accepted review
Check script succeeded
dimstar_suse set openSUSE:Factory:Staging:B as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:B"
dimstar_suse accepted review
Picked openSUSE:Factory:Staging:B
licensedigger accepted review
ok
repo-checker accepted review
cycle and install check passed
dimstar_suse changed priority to moderate => important
raising priority for openSUSE:Factory:Staging:B
namtrac accepted review
lgtm
dimstar_suse accepted review
ready to accept
dimstar_suse approved review
ready to accept
dimstar_suse accepted request
Accept to openSUSE:Factory