Red Hat Bugzilla – Bug 25876
rpm does not accept forced relocations
Last modified: 2007-04-18 12:31:07 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.1-3 i686)
When I try to force the relocation of some package directories with
--badreloc together with --relocate <orig>=<new> it refuses to install the
Steps to Reproduce:
1. "rpm -Uvh --badreloc --relocate /usr/doc=/usr/share/doc somepackage.rpm"
where somepackage.rpm has files/directories in /usr/doc
Actual Results: rpm said that /usr/sharedoc conflicted with some other
package(s) already installed.
Expected Results: It should of put the files that sould be put in
/usr/doc, in /usr/share/doc
I'm using Redhat 7.0 with the rpm-* packages from Redhat public beta
Fixed in CVS, will be in rpm-4.0.3-0.4 and later.
*** Bug 32377 has been marked as a duplicate of this bug. ***