[MacPorts] #50808: Cannot deactivate port: this entry does not own the given file (was: Cannot deactivate boost after OS upgrade)

MacPorts noreply at macports.org
Fri Mar 4 23:57:39 PST 2016


#50808: Cannot deactivate port: this entry does not own the given file
------------------------+--------------------------------
  Reporter:  reuben@…   |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.3.4
Resolution:  duplicate  |   Keywords:
      Port:             |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * component:  ports => base
 * resolution:   => duplicate
 * port:  boost =>


Old description:

> I have upgraded from Mountain Lion to El Capitan and am migrating
> following the instructions at [https://trac.macports.org/wiki/Migration].
> The one snag is that I cannot deactivate the old version of boost:
>
> {{{
> --->  Deactivating boost @1.58.0_3+no_single+no_static+python27
> Error: org.macports.deactivate for port boost returned: this entry does
> not own the given file
> Please see the log file for port boost for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_boost-1.58.0_3_371b161d218eb8a2e929ef6264e243ab3f3b452084f057f14bbe95beb2d06919-12796/boost/main.log
> Warning: Failed to execute portfile from registry for boost
> @1.58.0_3+no_single+no_static+python27
> }}}

New description:

 I have upgraded from Mountain Lion to El Capitan and am migrating
 following the instructions at [wiki:Migration].  The one snag is that I
 cannot deactivate the old version of boost:

 {{{
 --->  Deactivating boost @1.58.0_3+no_single+no_static+python27
 Error: org.macports.deactivate for port boost returned: this entry does
 not own the given file
 Please see the log file for port boost for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_boost-1.58.0_3_371b161d218eb8a2e929ef6264e243ab3f3b452084f057f14bbe95beb2d06919-12796/boost/main.log
 Warning: Failed to execute portfile from registry for boost
 @1.58.0_3+no_single+no_static+python27
 }}}

--

Comment:

 Others have reported this error before, e.g. in #32700 and
 https://lists.macosforge.org/pipermail/macports-
 dev/2012-February/017837.html. In that mailing list post, the error was
 determined to be the result of a single-bit corruption.

-- 
Ticket URL: <https://trac.macports.org/ticket/50808#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list