Bug 50550 - rpm -i --prefix <path> <xxx.rpm> error! (ver 4.0.2)
Summary: rpm -i --prefix <path> <xxx.rpm> error! (ver 4.0.2)
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-08-01 03:34 UTC by Xuan Li
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-01 03:34:24 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Xuan Li 2001-08-01 03:34:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)

Description of problem:
Install a relocatable package with command:
    'rpm -i --prefix /home/lix abcde.rpm' on Red Hat 7.1
Got an error message:
    'Error: can't unlink homelix-RPMDELETE: Is a directory.'
Install failed.  RPM version on rh7.1 is 4.0.2.
Use the same command on Red Hat 7.0.  Install successfully. RPM version on 
rh7.0 is 4.0.

How reproducible:

Steps to Reproduce:
1.Find a relocatable package, for example: abcde.rpm
2.Create directory '/home/lix' and give properly priviledge.
3.run 'rpm -i --prefix /home/lix abcde.rpm' on Red Hat 7.1.
4.Error occurs.

Actual Results:  Error messages:
    'Error: can't unlink homelix-RPMDELETE: Is a directory.'

Expected Results:  Install successfully to directory /home/lix.

Additional info:

Comment 1 Jeff Johnson 2001-08-01 12:32:41 UTC
Yup, relocations were broken in rpm-4.0.2.

Try rpm-4.0.3 from Raw Hide, or ftp://ftp.rpm.org/pub/rpm/test-4.0.3

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