Opened 14 years ago

Closed 14 years ago

#27653 closed defect (fixed)

expat: /opt/local/bin/xmlwf already exists and does not belong to a registered port

Reported by: nvangalenlast@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: expat

Description

Hi! I just installed the snow leopard version of macports on my snow leopard because I wanted to install wget (and some other apps). There were no problems during the installation. However, when I tried installing wget, I subsequently ran into Image errors that the file already exists. (The first one is given below and for each of the dependencies, the same error occurred.) Running the activation command with -f works, but I was wondering if this is normal or do I have to set an option somewhere that this can automatically be resolved?

I hope that you can help me out. (By the way I have XCode 3.2.4)

  • Niels
appel:~ nvangalenlast$ sudo port install wget
--->  Computing dependencies for wget
--->  Dependencies to be installed: gettext expat libiconv gperf ncurses ncursesw libidn openssl zlib
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from http://cdnetworks-us-2.dl.sourceforge.net/expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat
--->  Staging expat into destroot
--->  Installing expat @2.0.1_1
--->  Activating expat @2.0.1_1
Error: Target org.macports.activate returned: Image error: /opt/local/bin/xmlwf already exists and does not belong to a registered port.  Unable to activate port expat. Use 'port -f activate expat' to force the activation.
Error: Failed to install expat
Log for expat is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/main.log
Error: The following dependencies were not installed: gettext expat libiconv gperf ncurses ncursesw libidn openssl zlib
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
appel:~ nvangalenlast$ sudo port -f activate expat
--->  Activating expat @2.0.1_1
Warning: File /opt/local/bin/xmlwf already exists.  Moving to: /opt/local/bin/xmlwf.mp_1292173568.
Warning: File /opt/local/include/expat.h already exists.  Moving to: /opt/local/include/expat.h.mp_1292173568.
Warning: File /opt/local/include/expat_external.h already exists.  Moving to: /opt/local/include/expat_external.h.mp_1292173568.
Warning: File /opt/local/lib/libexpat.0.dylib already exists.  Moving to: /opt/local/lib/libexpat.0.dylib.mp_1292173568.
Warning: File /opt/local/lib/libexpat.1.5.2.dylib already exists.  Moving to: /opt/local/lib/libexpat.1.5.2.dylib.mp_1292173568.
Warning: File /opt/local/lib/libexpat.a already exists.  Moving to: /opt/local/lib/libexpat.a.mp_1292173568.
Warning: File /opt/local/lib/libexpat.la already exists.  Moving to: /opt/local/lib/libexpat.la.mp_1292173568.
Warning: File /opt/local/share/man/man1/xmlwf.1.gz already exists.  Moving to: /opt/local/share/man/man1/xmlwf.1.gz.mp_1292173568.
--->  Cleaning expat
appel:~ nvangalenlast$ sudo port install wget
--->  Computing dependencies for wget
--->  Dependencies to be installed: gettext libiconv gperf ncurses ncursesw libidn openssl zlib
--->  Fetching gperf
--->  Attempting to fetch gperf-3.0.4.tar.gz from http://mirror.facebook.net/gnu/gnu/gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Installing gperf @3.0.4_0
--->  Activating gperf @3.0.4_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.13.1.tar.gz from http://mirrors.kernel.org/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv

Change History (7)

comment:1 Changed 14 years ago by nvangalenlast@…

And for some reason my terminal has stopped working :-/ It does not give me the prompt anymore to enter commands.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: wget image failure removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: expat added; wget removed
Status: newassigned
Summary: wget @1.12 Many image errors when installing.expat: /opt/local/bin/xmlwf already exists and does not belong to a registered port

See the ProblemHotlist.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Duplicate of #23110.

comment:4 in reply to:  2 Changed 14 years ago by nvangalenlast@…

Replying to ryandesign@…:

See the ProblemHotlist.

Thank had already read that since it was in the instructions to read that before posting something here. However, I can't delete macports in the way that is described there since my terminal is not working anymore. So I deleted all the directories manually, and reinstalled macports, but my terminal is still not working.

comment:5 Changed 14 years ago by nvangalenlast@…

Resolution: fixed
Status: closedreopened

I attached a screenshot of my terminal. You only see the cursor blinking and that is it. It is possible to type but none of the commandos are working. Basically you don't get any response from the system.

http://www.nielsgl.com/terminal.png

comment:6 Changed 14 years ago by nvangalenlast@…

Nevermind, I solved the problem. The ticket can be closed.

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

The specific article in the ProblemHotlist that I was referring you to had not been written at the time you filed this ticket; I just wrote it.

How did you solve your Terminal problem?

Note: See TracTickets for help on using tickets.