#43194: Failed to initialize Macports -----------------------------+-------------------------------- Reporter: awil1026.1090@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: port file6 | Port: -----------------------------+-------------------------------- My port command does not function at all. Here is the output i get when using s simple port command: %% sudo port error reading "file6": illegal operation on a directory while executing "gets $f" (procedure "auto_load_index" line 23) invoked from within "auto_load_index" (procedure "auto_load" line 30) invoked from within "auto_load $name [uplevel 1 {::namespace current}]" (autoloading "::tcl::tm::UnknownHandler") (procedure "::unknown" line 30) invoked from within "::tcl::tm::UnknownHandler {::tcl::MacOSXPkgUnknown ::tclPkgUnknown} msgcat 0-" ("package unknown" script) invoked from within "package require msgcat" (file "/opt/local/share/macports/Tcl/registry2.0/registry.tcl" line 40) invoked from within "source /opt/local/share/macports/Tcl/registry2.0/registry.tcl" ("package ifneeded registry 1.0" script) invoked from within "package require registry 1.0" (procedure "mportinit" line 444) invoked from within "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize MacPorts, error reading "file6": illegal operation on a directory I've searched the for a fix, but can't find anything -- Ticket URL: <https://trac.macports.org/ticket/43194> MacPorts <http://www.macports.org/> Ports system for OS X