Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#24469 closed defect (invalid)

pcb 2009103 - install error

Reported by: javicm@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: pcb

Description (last modified by mf2k (Frank Schima))

Hello,

I get this error when I try to install the port PCB (I have only copied the end of the output, the rest seems to be OK):

--->  Computing dependencies for pcb
DEBUG: Searching for dependency: gtk2
DEBUG: Found Dependency: receipt exists for gtk2
DEBUG: Searching for dependency: gd2
DEBUG: Found Dependency: receipt exists for gd2
DEBUG: Searching for dependency: tk
DEBUG: Found Dependency: receipt exists for tk
--->  Activating pcb @20091103_0
DEBUG: Image error: /opt/local/share/mime/aliases already exists and does not belong to a registered port.  Unable to activate port pcb.
    while executing
"_activate_contents $name $imagefiles $imagedir"
    (procedure "portimage::activate" line 56)
    invoked from within
"registry_activate $name ${version}_${revision}${portvariants
[array get user_options]"
    (procedure "eval_targets" line 21)
    invoked from within
"eval_targets activate"
    invoked from within
"$workername eval eval_targets $target"
    (procedure "mportexec" line 85)
    invoked from within
"mportexec $workername $target"
Error: Unable to execute port: Image error: /opt/local/share/mime/aliases already exists and does not belong to a registered port.  Unable to activate port pcb.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (3)

comment:1 Changed 14 years ago by javicm@…

Cc: javicm@… added

Cc Me!

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: javicm@… removed
Description: modified (diff)
Resolution: invalid
Status: newclosed

This is not a problem with the pcb port. You need to either delete /opt/local/share/mime/aliases or force the activate.

sudo port -f activate pcb

comment:3 in reply to:  2 Changed 14 years ago by javicm@…

Replying to macsforever2000@…:

This is not a problem with the pcb port. You need to either delete /opt/local/share/mime/aliases or force the activate.

sudo port -f activate pcb

Thanks a lot for the solution!

BTW, erasing only the file "aliases" does not solve the problem. Actually all the files in /opt/local/share/mime folder generate the error.

Note: See TracTickets for help on using tickets.