Red Hat Bugzilla – Bug 173685
update-alternatives --install should not remove non-symlinks
Last modified: 2014-03-16 22:56:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
update-alternatives --install removes slaves if they're in its database but are no longer slaves of the master being installed, even if slave has been changed to something other than a symlink. This behaviour causes legitimate files to be removed during upgrades that change a file from an alternative symlink to a normal file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. build and install java-1.4.2-gcj-compat-220.127.116.11-40jpp_51rh
2. build and install java-1.4.2-gcj-compat-18.104.22.168-40jpp_52rh
Actual Results: /usr/bin/rebuild-gcj-db does not exist:
$ rpm -qV java-1.4.2-gcj-compat
Expected Results: Smooth upgrade.
Fixed in 1.3.24-1, in theory.