[macports-mgr] A problem
Moshe Kamensky
moshe.kamensky at gmail.com
Mon Dec 1 13:53:24 PST 2008
* Ryan Schmidt <ryandesign at macports.org> [01/12/08 15:39]:
> 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.
>
Maybe rm is a shell alias or function. Try replacing rm with /bin/rm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081201/3381c705/attachment.bin>
More information about the macports-users
mailing list