No, before now I have never had a need to uninstall a port so I haven't tried but when I tried to uninstall pcre, expat, etc like you said before I get the same problem about it not understanding the uninstall command.  
<br><br>$ ls -ll /opt/local/bin/port<br>-r-xr-xr-x&nbsp;&nbsp; 1 root&nbsp; admin&nbsp; 68240 Jun&nbsp; 2 05:03 /opt/local/bin/port<br><br>I will take a look at the port file you sent me but I don&#39;t really know what to look for in terms of differences between mine and yours.&nbsp; I have never had a reason to edit the port command but I guess it is possible something happened to it.&nbsp; I guess you may be right and I might need to start from scratch.&nbsp; It is just frustrating since this isn&#39;t the first time I would have had to completely reinstall macports (well I had darwinports and that had issues so I did a fresh install of macports a few months back).&nbsp; It is possible it is user error and that I am doing something wrong but I don&#39;t really use it all that often and have only installed like 10 apps since I originally installed darwinports a year and a half ago.
<br><br>I&#39;ll take a look at your file and try to see if anything strikes me as blatantly obvious.<br><br>Thanks,<br>Evan<br><br><div><span class="gmail_quote">On 6/2/07, <b class="gmail_sendername">Jyrki Wahlstedt</b>
 &lt;<a href="mailto:jwa@macports.org">jwa@macports.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>On 2.6.2007
, at 21.07, Evan Burrows wrote:<br><br>&gt; The problem is that it refuses to recognize the uninstall command.<br>&gt; I don&#39;t<br>&gt; really want to go through the hassle of reinstalling macports<br>&gt; because I have
<br>&gt; other ports installed on my machine and I don&#39;t want to have to<br>&gt; wait until<br>&gt; sometime tomorrow for everything to finish compiling. But if that<br>&gt; is the<br>&gt; only way to fix this php and uninstall issue then I guess that is
<br>&gt; what I<br>&gt; will have to do.<br>&gt;<br>&gt; $ sudo /opt/local/bin/port -f uninstall pcre @4.5_0<br>&gt;<br>&gt; Password:<br>&gt; Error: port uninstall failed: invalid command name<br>&gt; &quot;portuninstall::uninstall&quot;
<br>&gt;<br>&gt; I am really sorry for taking up so much of your time but I<br>&gt; appreciate the<br>&gt; help.<br>&gt;<br>&gt; thanks,<br>&gt; Evan<br>&gt;<br>Well,<br>the only problem here is that your problem isn&#39;t solved. Have you
<br>been able to uninstall anything else? What is the info of your port.<br>Mine is:<br>jwa@lan3:conf&gt; ll /opt/local/bin/port<br>-r-xr-xr-x&nbsp;&nbsp; 1 root&nbsp;&nbsp;admin&nbsp;&nbsp;68240 17 Tou 18:27 /opt/local/bin/port*<br><br>(Tou comes from toukokuu, May in Finnish)
<br>I&#39;ll attach that here, you could compare.<br><br><br>!<br>! Jyrki Wahlstedt<br>!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; skype:jyrkiwahlstedt<br>!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.wahlstedt.fi/jyrki/">http://www.wahlstedt.fi/jyrki/</a><br>!<br>! Our life is no dream; but it ought to become one and perhaps will.
<br>! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0&nbsp;&nbsp;A780<br>6366 EFD9 139C C386<br><br><br><br><br><br></blockquote></div><br>