Bug 32377 - unlink error on single package install with a --prefix
Summary: unlink error on single package install with a --prefix
Status: CLOSED DUPLICATE of bug 25876
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
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-03-20 06:06 UTC by Richard Keech
Modified: 2013-07-03 13:05 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2001-03-20 21:17:40 UTC


Attachments (Terms of Use)

Description Richard Keech 2001-03-20 06:06:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.1-0.1.9 i686)


Attempted installation of Applix 5.  Applix's install script failed when
loading the first
package.  The command it was attempting was
rpm -Uvh --replacefiles --prefix /opt/applix 
shelf-bin-shelf-base-2.2-315.i386.rpm

The error sent by the rpm command was:

   1:shelf-bin-shelf-base   error: can't unlink /optapplix-RPMDELETE: Is a
directory

Installation was successfull when the --prefix option was removed from the
rpm 
command line, even though the package default location was the same as that
specified by --prefix.

Reproducible: Always
Steps to Reproduce:
1.  command as shown above (I didn't try it with other packages).
2.
3.

Comment 1 Jeff Johnson 2001-03-20 15:01:15 UTC
What version of rpm? Try "rpm -q rpm" ...

Comment 2 Richard Keech 2001-03-20 21:17:36 UTC
rpm version 4.0.2-0.38

Comment 3 Jeff Johnson 2001-04-03 14:49:03 UTC
Using --prefix is the same error as using --relocate.

*** This bug has been marked as a duplicate of 25876 ***


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