[macports-mgr] A problem

Ryan Schmidt ryandesign at macports.org
Mon Dec 1 12:35:39 PST 2008


On Dec 1, 2008, at 14:24, Christos Vlachos wrote:

> Dear maintainers,
> Apologies for using this email address, but couldn't find any other  
> to address to you. I would appreciate your help on the following  
> problem. I want to uninstall MacPorts, since I installed it before  
> installing X11 and Xcode. Now, the problem is that although I  
> follow the command line below, I get the error:
>
> rm: illegal option -- /
> usage: rm [-f | -i] [-dPRrvW] file ...
>        unlink file
>
>
>
>
>
>
>  sudo rm -rf \
>     /opt/local \
>     /etc/manpaths.d/macports \
>     /etc/paths.d/macports \
>     /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
>
>
> I would really appreciate your help on this. Is there any possible  
> command line to solve the problem?
>
> Thank you,
> Chris

Hi Chris. The command given above is correct. Indeed "--" is not a  
legal option to "rm", but "--" does not appear in the command  
provided above. Which command did you actually execute? You should  
just be able to copy all the above lines and paste them into a Terminal.

The correct place to ask these kinds of questions is on the macports- 
users mailing list, which I have Cc'd on this reply. Please direct  
any further replies there, and make sure you subscribe to the list  
first so that you will be allowed to post.

http://lists.macosforge.org/mailman/listinfo.cgi/macports-users




More information about the macports-users mailing list