1

Snowleopard のダウンロード ページにあるインストーラーからインストールしました。私はこれが初めてで、自作がより良い代替手段であることがわかりました。だから、今、私はそれを完全に取り除こうとしています。

sudo port -fp uninstall installed

私は得る:

Error: No ports matched the given expression

やってみると

sudo port uninstall installed

次のメッセージが表示されます。

Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/Shashank").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.

私は何を間違っていますか?

情報をいただければ幸いです。ありがとう。

4

1 に答える 1

3

発行しているコマンドは、インストールされているポートを削除します。インストールを完了するには、フォルダーを手動で削除する必要があります。

次のコマンドを使用します。

ノート:

インストール フォルダは、インストールによっては、以下にリストされているものとは異なる場合があります。

%% sudo rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports
于 2013-02-26T22:14:00.337 に答える