Opened 12 years ago

Last modified 12 years ago

#33571 closed defect

Problems with "insufficient rights" to activate ncurses port. But I'm the administrator on my computer — at Initial Version

Reported by: garrets@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: ncurses

Description

The error in trying to install wine using the sudo command is below. Ncurses seems to be the problem.

I tried evey line of code on the problem hotlist to try and fix it. But nothing has changed.

Here's my selection of code, with what I inputed in bold Garret-Schneiders-MacBook-Pro:~ garrets$ sudo port install wine ---> Computing dependencies for wine ---> Dependencies to be installed: apple-gcc42 flex gettext ncurses ncurses fontconfig freetype bzip2 zlib zlib freetype gnutls libgcrypt libgpg-error libtasn1 lzo2 pkgconfig glib2 libffi perl5 perl5.12 gdbm perl5 xz pkgconfig readline jpeg jpeg lcms tiff tiff libpng libxml2 libxml2 libxslt mesa makedepend xorg-xproto py27-libxml2 python27 db46 libedit openssl openssl python_select sqlite3 xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXi xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libsm xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto ---> Activating ncurses @5.9_1+universal 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 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_tarballs_ports_devel_ncurses/ncurses/main.log Error: The following dependencies were not installed: flex gettext ncurses ncurses fontconfig freetype bzip2 zlib zlib freetype gnutls libgcrypt libgpg-error libtasn1 lzo2 pkgconfig glib2 libffi perl5 perl5.12 gdbm perl5 xz pkgconfig readline jpeg jpeg lcms tiff tiff libpng libxml2 libxml2 libxslt mesa makedepend xorg-xproto py27-libxml2 python27 db46 libedit openssl openssl python_select sqlite3 xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXi xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libsm xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>

Garret-Schneiders-MacBook-Pro:~ garrets$ sudo port -n upgrade --force ncurses Password: ---> Cleaning ncurses ---> Uninstalling ncurses @5.9_1+universal ---> Cleaning ncurses ---> Computing dependencies for ncurses ---> Fetching archive for ncurses ---> Attempting to fetch ncurses-5.9_1+universal.darwin_11.i386-x86_64.tbz2 from http://packages.macports.org/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.9_1+universal ---> Activating ncurses @5.9_1+universal 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 ncurses. Use 'port -f activate ncurses' to force the activation. Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log

Garret-Schneiders-MacBook-Pro:~ garrets$ port -f activate ncurses Error: Insufficient privileges to write to MacPorts install prefix.

Change History (0)

Note: See TracTickets for help on using tickets.