id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	port
27653	expat: /opt/local/bin/xmlwf already exists and does not belong to a registered port	nvangalenlast@…	ryandesign@macports.org	"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
}}}"	defect	closed	Normal		ports	1.9.2	fixed			expat
