Bug 75057
Summary: | rpm-4.1: --relocate is not working. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Aleksey Nogin <aleksey> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | bill, chris.ricker, dan, jason, jim.fisher, redhatbugzillaold, sandor.szabo, vanderwl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-12-28 00:25:01 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
Aleksey Nogin
2002-10-04 01:38:50 UTC
With rpm-4.1, the command: rpm -i --relocate $OLDPATH=$NEWPATH --badreloc somepackage.rpm gives no error messages, but the relocation is ignored. The package is instaled in $OLDPATH ! With rpm-4.0, the same command works fine. I have also run into this problem with rpm 4.1-1.06 on RedHat 8.0. Not only does it not relocate the package it never sets the RPM_INSTALL_PREFIXn environment values. This causes there use in the post script to fail. This did not happen in previous versions of rpm. I also see the problem where $RPM_INSTALL_PREFIX is not being set during %post and %postun script processing. This is a major problem with installing rpm's with scripts. Should the Priority be bumped up on this one? *** Bug 75550 has been marked as a duplicate of this bug. *** *** Bug 78898 has been marked as a duplicate of this bug. *** *** Bug 79331 has been marked as a duplicate of this bug. *** Fixed in rpm-4.2-0.42. Be forewarned: rpm is switching to using posix mutexes from nptl at the moment, and I'm not at all sure whether the Raw Hide version will run on Red Hat 8.0. |