Bug 52151 - Can not relocate a relocatable package
Summary: Can not relocate a relocatable package
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-21 04:12 UTC by Need Real Name
Modified: 2007-04-18 16:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-08-21 04:12:58 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Need Real Name 2001-08-21 04:12:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Description of problem:
I build a package with prefix /opt. I want to install the package into
/usr/opt with this command: rpm -i --prefix /usr/opt.
>> error: can't unlink /usropt-RPMDELETE: Is a directory
   error: can't rename /usropt to /usropt-RPMDELETE: Is a directory
   error: unpacking of archinve failed on file /usropt: cpio: unlink 
failed - Is a directory.

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


How reproducible:
Always

Steps to Reproduce:
1. build a relocatable package
2. install in other place
3.
	

Additional info:

Comment 1 Jeff Johnson 2001-08-21 12:38:04 UTC
Yup. Fixed in rpm-4.0.3.


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