[MacPorts] FAQ modified
MacPorts
noreply at macports.org
Thu Mar 12 15:54:41 PDT 2009
Changed page "FAQ" by raimue at macports.org from 91.11.197.163*
Page URL: <http://trac.macports.org/wiki/FAQ>
Diff URL: <http://trac.macports.org/wiki/FAQ?action=diff&version=57>
Revision 57
Comment: This is so old, I don't think anyone will still encounter this issue
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: FAQ
=========================================================================
--- FAQ (version: 56)
+++ FAQ (version: 57)
@@ -214,21 +214,6 @@
port <command> <portname> -- -<variant>
}}}
-=== When uninstalling a port I get an error like `port uninstall failed: invalid command name "portuninstall::uninstall"`. What's going on? ===
-
-This is a known error caused by left overs from old MacPorts installations, specifically the `${prefix}/share/darwinports/Tcl/port1.0/portuninstall.tcl` file that is no longer in the MacPorts source code (`${prefix}` expanding to whatever path was chosen upon initial installation of MacPorts, `/opt/local` by default).
-However, a reinstallation of the infrastructure (most commonly through `port selfudpate`) does not remove this file and therefore manual intervention is needed:
-
-{{{
-rm -f ${prefix}/share/darwinports/Tcl/port1.0/portuninstall.tcl
-port -f selfupdate
-}}}
-
-These steps will remove the stray file and force a rebuild of the infrastructure, overriding the release number comparison done by "selfupdate" between the local copy and the one on the MacPorts rsync server.
-If this workaround does not clear the problem for you, please refer to the [http://lists.macosforge.org/mailman/listinfo/macports-users users mailing list] with as much information as possible.
-
-Be sure you have the latest MacPorts before removing `portuninstall.tcl`. I had the same problem that I couldn't uninstall ports and so I first ran a `sudo port selfupdate` to get the latest version of MacPorts and removed the tcl file afterwards. But when running `sudo port -f selfupdate` it gave me this error message: `Failed to initialize ports system, couldn't read file "/opt/local/share/darwinports/Tcl/port1.0/portuninstall.tcl": no such file or directory` and stopped working.
-
=== When trying to selfupdate, I get the error: failed to connect to rsync.macports.org: Connection refused (61) ===
Some firewalls, such as PeerGuardian, block connections to certain corporate IP addresses as a way to prevent software from "phoning home" and violating your privacy. Our main rsync server is hosted by Apple Inc. Self updating requires an rsync connection to download files, but this will be blocked. In order to work around this, you need to temporarily disable or white-list rsync.macports.org. Another alternative is to use [wiki:Mirrors another mirror] that is not hosted by Apple.
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on FAQ. If it was not you, please
report to .
More information about the macports-changes
mailing list