[MacPorts] #32700: port upgrade -u py25-wxpython fails to deactivate old version
MacPorts
noreply at macports.org
Mon Jan 23 17:55:15 PST 2012
#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:
--------------------------------+-------------------------------------------
Comment(by stephen@…):
I don't have time to mess with this for a few days (in particular, I have
*not* yet tried the manual update procedure mentioned in ticket #32686),
so there's no hurry on a response. But if somebody has advice on what to
look for, or the SQL needed to rip out a broken DB entry by the roots, I'd
be very grateful.
I'm now up to r89291, and the automatic upgrade described in ticket #32686
is apparently working (other ports can now be handled fine), but it does
not repair this. I still cannot upgrade or uninstall py25-wxpython, and
now I'm seeing this after some but not all ports are upgraded:
{{{
---> Updating database of binaries: 4%Error: Updating database of
binaries failed
an invalid file was passed
while executing
"$f path"
("foreach" body line 6)
invoked from within
"foreach f $files {
if {![macports::ui_isset ports_debug]} {
ui_msg -nonewline "\r$macports::ui_prefix Upda..."
invoked from within
"try {
ui_msg -nonewline "$macports::ui_prefix Updating database
of binaries"
set i 1
foreach f $files ..."
invoked from within
"registry::write {
try {
ui_msg -nonewline "$macports::ui_prefix Updating database
of binaries"
set i 1
..."
(procedure "revupgrade_scanandrebuild" line 8)
invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
(procedure "macports::revupgrade" line 5)
invoked from within
"macports::revupgrade $opts"
(procedure "action_revupgrade" line 2)
invoked from within
"action_revupgrade $action $portlist $opts"
(procedure "action_upgrade" line 24)
invoked from within
"$action_proc $action $portlist [array get global_options]"
(procedure "process_cmd" line 95)
invoked from within
"process_cmd $remaining_args"
invoked from within
"if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command
set exit_status [process_cmd $remaining..."
(file "/opt/local/bin/port" line 4760)
}}}
I'll report back what I find out when I try the manual upgrade.
--
Ticket URL: <https://trac.macports.org/ticket/32700#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list