Bug 25876

Summary: rpm does not accept forced relocations
Product: [Retired] Red Hat Linux Reporter: Carlos Rodrigues <cefrodrigues>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-03 17:37:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos Rodrigues 2001-02-03 17:37:06 UTC
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
package.


Reproducible: Always
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
<fisher> (rpm-4.0.2)

Comment 1 Jeff Johnson 2001-04-03 13:41:54 UTC
Fixed in CVS, will be in rpm-4.0.3-0.4 and later.

Comment 2 Jeff Johnson 2001-04-03 14:48:59 UTC
*** Bug 32377 has been marked as a duplicate of this bug. ***