Bug 104415 - rpm ignores --prefix
Summary: rpm ignores --prefix
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 8.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-15 12:23 UTC by Winfrid Tschiedel
Modified: 2007-04-18 16:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-09-15 13:11:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Winfrid Tschiedel 2003-09-15 12:23:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.8 [en] (Windows NT 5.0; U)

Description of problem:
The following command should install the product in a directory
/opt/intel/compiler80 
But after installation the product is not installed in the requested 
directory, it is installed in the default directory.

ls -l /opt
insgesamt 4
drwxr-xr-x    4 root     root         4096 Mai  9 23:37 intel
[root@p4 compiler80]# ls -l /opt/intel
insgesamt 8
drwxr-xr-x    6 root     root         4096 Mai  9 23:37 compiler70
drwxr-xr-x    2 root     root         4096 Sep  3 01:37 licenses

rpm -Uvh  --replacefiles --force --prefix /opt/intel/compiler80  intel-ifort8-8.0-29.i386.rpm
Preparing...                ########################################### [100%]
   1:intel-ifort8           ########################################### [100%]
[root@p4 l_fc_bc_8.0.024]# ls -l /opt
insgesamt 8
drwxr-xr-x    4 root     root         4096 Mai  9 23:37 intel
drwxr-xr-x    8 root     root         4096 Sep 15 13:54 intel_fc_80
[root@p4 l_fc_bc_8.0.024]# ls -l /opt/intel
insgesamt 8
drwxr-xr-x    6 root     root         4096 Mai  9 23:37 compiler70
drwxr-xr-x    2 root     root         4096 Sep  3 01:37 licenses
 

Version-Release number of selected component (if applicable):
rpm-4.1-1.06

How reproducible:
Always

Steps to Reproduce:

See in description, error was found in installation of intel fortran 8.0 on redhat 8.0; but it should be possible to reproduce this error 
with any relocatable product.  

Actual Results:  Product is installed in default directory

Expected Results:  Product should be installed in requested directory

Additional info:

Error does not occur on RedHat 9.0 with rpm-4.2-0.69

Comment 1 Jeff Johnson 2003-09-15 13:11:27 UTC
Yes, relocation broken on 8.0.

Upgrade to rpm-4.1.1 from ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x


Note You need to log in before you can comment on or make changes to this bug.