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)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.1
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2001-08-01 03:34:24 UTC
Embargoed:


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:
Always

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.