#33571: Problems with "insufficient rights" to activate ncurses port. But I'm the administrator on my computer -------------------------------+-------------------------------------------- Reporter: garrets@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ncurses -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * priority: High => Normal Old 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.
New 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. }}} -- -- Ticket URL: <https://trac.macports.org/ticket/33571#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS