Bug 77433

Summary: rpm --excludepath doesn't work
Product: [Retired] Red Hat Linux Reporter: jmccann
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: a.rainer, cschalle
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-06 23:08:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jmccann 2002-11-06 23:07:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021031

Description of problem:
rpm version 4.1 doesn't seem to recognize the excludepath option.

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


How reproducible:
Always

Steps to Reproduce:
1.rpm -Uvh --excludepath /usr/local --noscripts 
/.auto/kickstart/Packages/realplayer/rp8_linux20_libc6_i386_cs2.rpm

	

Actual Results:  rpm -Uvh --excludepath /usr/local --noscripts 
/.auto/kickstart/Packages/realplayer/rp8_linux20_libc6_i386_cs2.rpm
Preparing...                ########################################### [100%]
   1:RealPlayer             ########################################### [100%]
error: unpacking of archive failed on file
/usr/local/lib/netscape/mailcap;3dc99fee: cpio: open failed - Permission denied


Expected Results:  All files that begin with /usr/local should be excluded from
the install.

Additional info:

% rpm -q rpm
rpm-4.1-1.06

Comment 1 Jeff Johnson 2002-11-16 20:10:41 UTC

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

Comment 2 Andreas RAINER 2003-05-05 15:45:23 UTC
I don't understand why this bug has been marked as duplicate of 75550 whereby
this bug (--relocate option problem) seems to has nothing to do with it.
I've not so much experience in using this tool, so I will leave this bug as 
closed and hope to get an answer on how to find the corresponding information.