[MacPorts] #32700: port upgrade -u py25-wxpython fails to deactivate old version
MacPorts
noreply at macports.org
Fri Dec 30 10:03:42 PST 2011
#32700: port upgrade -u py25-wxpython fails to deactivate old version
--------------------------------+-------------------------------------------
Reporter: stephen@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.0.3
Keywords: | Port:
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):
* component: ports => base
Comment:
First, from the summary line of this ticket:
> {{{port upgrade -u py25-wxpython}}} fails to deactivate old version
Single-letter flags like `-u` have no effect unless you place them right
after the `port` command, i.e. "`port -u upgrade py25-wxpython`".
Next, from the command you showed in the description:
>
{{{
sudo port -d -v -f uninstall py25-wxpython @2.8.9.1_0 2>&1
}}}
It's unnecessary to specify `-v` (verbose) when you've already specified
`-d` (debug). Debug output is verbose output plus more.
Next, to the errors in your log:
>
{{{
DEBUG: no portfile in registry for py25-wxpython @2.8.9.1_0
}}}
This shows this py25-wxpython was installed some time ago with an old
version of MacPorts, before we started storing installed ports' Portfiles
in the registry. This shouldn't be a problem. We only store the Portfiles
so that any custom deactivate code can be run, and py25-wxpython does not
have any custom deactivate code.
>
{{{
DEBUG: this entry does not own the given file
}}}
This seems to be the real problem, but I haven't seen this error before
and don't know what it means. It sounds like there is something wrong in
your registry but I don't know how to identify it or correct it.
I'm sure however that it's nothing specific to the py25-wxpython portfile;
it's not really possible for individual ports to affect the way in which
MacPorts activates and deactivates ports; that's a base function.
--
Ticket URL: <https://trac.macports.org/ticket/32700#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list