rpm tries to access files in destroot in activate phase
|Reported by:||ryandesign (Ryan Schmidt)||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.
Change History (3)
comment:2 Changed 5 years ago by ryandesign (Ryan Schmidt)
- Resolution fixed deleted
- Status changed from closed to reopened