[MacPorts] #32700: port upgrade -u py25-wxpython fails to deactivate old version
MacPorts
noreply at macports.org
Thu Dec 29 20:59: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: ports | Version: 2.0.3
Keywords: | Port:
--------------------------------+-------------------------------------------
I thought I reported this yesterday, but maybe I only clicked on
"preview"? Can't find that report, but if this turns out to be a dupe,
sorry.
Not sure if this is a bug in the port program or in the py25-wxpython
port, but since I've never seen anything like it before, I'm assuming it's
in py25-wxpython.
{{{
Mac OS X 10.5.8
MacBook Pro (Intel Core Duo)
port compiled from r88339
old version of py25-wxpython @2.8.9.1_0
new version of py25-wxpython @2.8.12.1_0
}}}
After a successful build, activation of @2.8.12.1_0 fails trying to
deactivate @2.8.9.1_0 like this:
{{{
wideload:src/MacPorts 13:57$ sudo port -d -v -f uninstall py25-wxpython
@2.8.9.1_0 2>&1
Password:
DEBUG: no portfile in registry for py25-wxpython @2.8.9.1_0
---> Unable to uninstall py25-wxpython @2.8.9.1_0, the following ports
depend on it:
---> bittorrent @5.2.0_1
Warning: Uninstall forced. Proceeding despite dependencies.
DEBUG: no portfile in registry for py25-wxpython @2.8.9.1_0
---> Deactivating py25-wxpython @2.8.9.1_0
---> Unable to deactivate py25-wxpython @2.8.9.1_0, the following ports
depend on it:
---> bittorrent @5.2.0_1
Warning: Deactivate forced. Proceeding despite dependencies.
DEBUG: this entry does not own the given file
while executing
"$port deactivate $imagefiles"
invoked from within
"registry::write {
$port deactivate $imagefiles
foreach file $files {
_deactivate_file $file
}
..."
(procedure "_deactivate_contents" line 37)
invoked from within
"_deactivate_contents $requested [$requested files] $force"
(procedure "portimage::deactivate" line 54)
invoked from within
"portimage::deactivate $portname $version $revision $variants [array get
options]"
(procedure "uninstall" line 91)
invoked from within
"uninstall $portname $version $revision $variants $optionslist"
(procedure "registry_uninstall::uninstall_composite" line 5)
invoked from within
"registry_uninstall::uninstall_composite $portname $composite_version
[array get options]"
Error: port uninstall failed: this entry does not own the given file
}}}
--
Ticket URL: <https://trac.macports.org/ticket/32700>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list