MacPorts throws errors on everything (include uninstall) since selfupdate

Aba-Sah Dadzie a.dadzie at dcs.shef.ac.uk
Fri Feb 18 09:55:54 PST 2011


Thanks, Andrea, Harald,

I've just done a full check of my HD, using the Macs disk utility and 
the more thorough Apple Hardware Test. Both passed with no errors, as 
expected.

Then removed all traces of macports I could find on my machine, first by 
checking the directories listed in the guide, then by doing a search for 
"ports", ""macports" and "darwinports". Then reinstalled 1.9.2 from the 
disk image I downloaded earlier. I checked with a "port installed" and 
it found nothing.

I just did a port install of emacs, a couple of complaints with ncursesw 
and ncurses, and had to go force activation for each. But it finally 
installed and it ran with no errors when I opened it.


Error logs at bottom of mail.


I'm now trying gimp2, and I'm having a similar problem - 3rd log at 
bottom. I can't empty out /opt/local/bin because there are other 
programs in the same directory not put in there by macports. It's just 
complained about gperf, while writing this mail. It's a bit tedious to 
install like this... is there some other clean action I missed?

Regards,
Aba-Sah



Error: Target org.macports.activate returned: Image error: 
/opt/local/bin/captoinfo already exists and does not belong to a 
registered port.  Unable to activate port ncursesw. Use 'port -f 
activate ncursesw' to force the activation.
Error: Failed to install ncursesw
Log for ncursesw is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/main.log
Error: The following dependencies were not installed: ncurses ncursesw
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

****************

lap-lin-09-246:~ aba-sah$ sudo port install emacs-app
--->  Computing dependencies for emacs-app
--->  Dependencies to be installed: ncurses
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Applying patches to ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.7_1
--->  Activating ncurses @5.7_1
Error: Target org.macports.activate returned: Image error: 
/opt/local/bin/ncurses5-config already exists and does not belong to a 
registered port.  Unable to activate port ncurses. Use 'port -f activate 
ncurses' to force the activation.
Error: Failed to install ncurses
Log for ncurses is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/main.log
Error: The following dependencies were not installed: ncurses
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
lap-lin-09-246:~ aba-sah$ sudo port -f activate ncurses
Password:
--->  Computing dependencies for ncurses
--->  Activating ncurses @5.7_1
Warning: File /opt/local/bin/ncurses5-config already exists.  Moving to: 
/opt/local/bin/ncurses5-config.mp_1298050374.
Warning: File /opt/local/include/ncurses/curses.h already exists. 
Moving to: /opt/local/include/ncurses/curses.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/cursesapp.h already exists. 
Moving to: /opt/local/include/ncurses/cursesapp.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/cursesf.h already exists. 
Moving to: /opt/local/include/ncurses/cursesf.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/cursesm.h already exists. 
Moving to: /opt/local/include/ncurses/cursesm.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/cursesp.h already exists. 
Moving to: /opt/local/include/ncurses/cursesp.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/cursesw.h already exists. 
Moving to: /opt/local/include/ncurses/cursesw.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/cursslk.h already exists. 
Moving to: /opt/local/include/ncurses/cursslk.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/eti.h already exists.  Moving 
to: /opt/local/include/ncurses/eti.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/etip.h already exists.  Moving 
to: /opt/local/include/ncurses/etip.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/form.h already exists.  Moving 
to: /opt/local/include/ncurses/form.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/menu.h already exists.  Moving 
to: /opt/local/include/ncurses/menu.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/ncurses_dll.h already exists. 
Moving to: /opt/local/include/ncurses/ncurses_dll.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/panel.h already exists.  Moving 
to: /opt/local/include/ncurses/panel.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/term.h already exists.  Moving 
to: /opt/local/include/ncurses/term.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/termcap.h already exists. 
Moving to: /opt/local/include/ncurses/termcap.h.mp_1298050374.
Warning: File /opt/local/include/ncurses/unctrl.h already exists. 
Moving to: /opt/local/include/ncurses/unctrl.h.mp_1298050374.
Warning: File /opt/local/lib/libform.5.dylib already exists.  Moving to: 
/opt/local/lib/libform.5.dylib.mp_1298050374.
Warning: File /opt/local/lib/libform.a already exists.  Moving to: 
/opt/local/lib/libform.a.mp_1298050374.
Warning: File /opt/local/lib/libmenu.5.dylib already exists.  Moving to: 
/opt/local/lib/libmenu.5.dylib.mp_1298050374.
Warning: File /opt/local/lib/libmenu.a already exists.  Moving to: 
/opt/local/lib/libmenu.a.mp_1298050374.
Warning: File /opt/local/lib/libncurses++.a already exists.  Moving to: 
/opt/local/lib/libncurses++.a.mp_1298050374.
Warning: File /opt/local/lib/libncurses.5.dylib already exists.  Moving 
to: /opt/local/lib/libncurses.5.dylib.mp_1298050374.
Warning: File /opt/local/lib/libncurses.a already exists.  Moving to: 
/opt/local/lib/libncurses.a.mp_1298050374.
Warning: File /opt/local/lib/libpanel.5.dylib already exists.  Moving 
to: /opt/local/lib/libpanel.5.dylib.mp_1298050374.
Warning: File /opt/local/lib/libpanel.a already exists.  Moving to: 
/opt/local/lib/libpanel.a.mp_1298050374.
--->  Cleaning ncurses
lap-lin-09-246:~ aba-sah$ sudo port install emacs-app
--->  Computing dependencies for emacs-app
--->  Fetching emacs-app
--->  Attempting to fetch emacs-23.2.tar.bz2 from 
http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/emacs
--->  Verifying checksum(s) for emacs-app
--->  Extracting emacs-app
--->  Configuring emacs-app
--->  Building emacs-app
--->  Staging emacs-app into destroot
--->  Installing emacs-app @23.2_1
--->  Activating emacs-app @23.2_1
--->  Cleaning emacs-app

****************

lap-lin-09-246:~ aba-sah$ sudo port install gimp2
Password:
--->  Computing dependencies for gimp2
--->  Dependencies to be installed: aalib autoconf help2man gettext 
expat libiconv gperf p5-locale-gettext m4 automake libtool curl 
curl-ca-bundle libidn openssl zlib pkgconfig gegl babl librsvg 
fontconfig freetype gtk2 atk gtk-doc docbook-xml docbook-xml-4.1.2 
xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 
docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils intltool 
gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils 
p5-xml-parser iso-codes libxslt libxml2 py27-libxml2 python27 bzip2 db46 
gdbm readline sqlite3 rarian getopt gdk-pixbuf2 jasper jpeg libpng tiff 
shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXext 
xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau 
xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs 
xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto 
xorg-xf86bigfontproto xorg-xtrans xorg-libXfixes xorg-fixesproto 
xorg-libXcursor xorg-renderproto xrender xorg-libXdamage 
xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto 
xorg-libXrandr xorg-randrproto libart_lgpl libcroco libgsf gconf 
dbus-glib dbus orbit2 libidl policykit eggdbus gnome-vfs 
desktop-file-utils popt gnome-mime-data libbonobo python26 w3m boehmgc 
libopenraw boost icu libspiro lua openexr ilmbase gsed lcms libexif 
libgnomeui libbonoboui libgnome esound audiofile libgnomecanvas 
libglade2 libgnome-keyring gnome-keyring libgcrypt libgpg-error libtasn1 
xorg-libsm xorg-libice libmng libwmf poppler openjpeg poppler-data 
py26-gtk py26-cairo py26-numpy atlas gcc44 gmp mpfr gzip texinfo fftw-3 
py26-nose py26-distribute py26-gobject libffi
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from 
http://kent.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: aalib autoconf 
help2man gettext expat libiconv gperf p5-locale-gettext m4 automake 
libtool curl curl-ca-bundle libidn openssl zlib pkgconfig gegl babl 
librsvg fontconfig freetype gtk2 atk gtk-doc docbook-xml 
docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 
docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl 
gnome-doc-utils intltool gnome-common p5-getopt-long p5-pathtools 
p5-scalar-list-utils p5-xml-parser iso-codes libxslt libxml2 
py27-libxml2 python27 bzip2 db46 gdbm readline sqlite3 rarian getopt 
gdk-pixbuf2 jasper jpeg libpng tiff shared-mime-info xorg-libXcomposite 
xorg-compositeproto xorg-libXext xorg-libX11 xorg-bigreqsproto 
xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp 
xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros 
xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans 
xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-renderproto xrender 
xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama 
xorg-xineramaproto xorg-libXrandr xorg-randrproto libart_lgpl libcroco 
libgsf gconf dbus-glib dbus orbit2 libidl policykit eggdbus gnome-vfs 
desktop-file-utils popt gnome-mime-data libbonobo python26 w3m boehmgc 
libopenraw boost icu libspiro lua openexr ilmbase gsed lcms libexif 
libgnomeui libbonoboui libgnome esound audiofile libgnomecanvas 
libglade2 libgnome-keyring gnome-keyring libgcrypt libgpg-error libtasn1 
xorg-libsm xorg-libice libmng libwmf poppler openjpeg poppler-data 
py26-gtk py26-cairo py26-numpy atlas gcc44 gmp mpfr gzip texinfo fftw-3 
py26-nose py26-distribute py26-gobject libffi
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
lap-lin-09-246:~ aba-sah$ port installed
The following ports are currently installed:
   emacs-app @23.2_1 (active)
   expat @2.0.1_1
   ncurses @5.7_1 (active)
   ncursesw @5.7_1 (active)
lap-lin-09-246:~ aba-sah$

****************
On 18/02/2011 13:58, Andrea D'Amore wrote:
> On Fri, Feb 18, 2011 at 1:41 PM, Aba-Sah Dadzie<a.dadzie at dcs.shef.ac.uk>  wrote:
>> This is the last thing I tried. Which also failed. The output I copied into
>> my mail from the terminal are the results from the uninstall.
>
>  From uninstall instructions:
> "If you need to uninstall MacPorts, and your port command is
> functioning, first uninstall all the installed ports"
>
> your port command isn't functioning so if you still intend to wipe out
> current installation skip the uninstall part and go to the remove
> part.
>
>


More information about the macports-users mailing list