Ticket #35048 (closed defect: fixed)
rpm tries to access files in destroot in activate phase
|Reported by:||ryandesign@…||Owned by:||afb@…|
rpm tries to access files in the destroot in the activate phase. The destroot does not necessarily exist at activation time. For example, if a port it installed, activated, deactivated, then activated again. Or if a port is installed from a pre-compiled binary from the packages server. This was reported by Wim Deblauwe on the users mailing list and on stack exchange.
The workaround is to install from source:
sudo port -f uninstall rpm sudo port clean rpm sudo port -s install rpm
The fix is to move files that are part of the destroot in the destroot phase, not the activate phase.
- Status changed from closed to reopened
- Resolution fixed deleted