Bug 104415 - rpm ignores --prefix
rpm ignores --prefix
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-15 08:23 EDT by Winfrid Tschiedel
Modified: 2007-04-18 12:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-09-15 09:11:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Winfrid Tschiedel 2003-09-15 08:23:37 EDT
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 09:11:27 EDT
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.