Opened 2 years ago
Closed 2 years ago
#65367 closed defect (fixed)
privoxy-pki-bundle: Image error: /opt/local/etc/privoxy/CA/trustedCAs.pem already exists and does not belong to a registered port
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: | privoxy-pki-bundle |
Description
On most of the buildbot machines this error occurs when trying to activate privoxy-pki-bundle:
Error: Failed to activate privoxy-pki-bundle: Image error: /opt/local/etc/privoxy/CA/trustedCAs.pem already exists and does not belong to a registered port. Unable to activate port privoxy-pki-bundle. Use 'port -f activate privoxy-pki-bundle' to force the activation.
On the servers, this file was created October 19, 2021. Looks like that was as a result of [17dbffd4a4878130afd546886e3240bb3bd862be/macports-ports] adding a post-activate block to the privoxy port to copy trustedCAs.pem into the prefix, bypassing the destroot.
This code was subsequently removed from the privoxy port and now the privoxy-pki-bundle subport wants to install that file, but can't since the unregistered file still exists, both on buildbot system and on the systems of any user who had installed the port before.
A pre-activate block should probably be added to the privoxy-pki-bundle subport that deletes this file; the block should stay in the port for a year or so to give people a chance to upgrade and receive the fix.
Change History (2)
comment:1 Changed 2 years ago by essandess (Steve Smith)
comment:2 Changed 2 years ago by essandess (Steve Smith)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Please see https://github.com/macports/macports-ports/pull/15212.