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 1 root admin 68240 Jun 2 05:03 /opt/local/bin/port<br><br>I will take a look at the port file you sent me but I don't really know what to look for in terms of differences between mine and yours. I have never had a reason to edit the port command but I guess it is possible something happened to it. I guess you may be right and I might need to start from scratch. It is just frustrating since this isn'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). It is possible it is user error and that I am doing something wrong but I don'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'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>
<<a href="mailto:firstname.lastname@example.org">email@example.com</a>> 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>> The problem is that it refuses to recognize the uninstall command.<br>> I don't<br>> really want to go through the hassle of reinstalling macports<br>> because I have
<br>> other ports installed on my machine and I don't want to have to<br>> wait until<br>> sometime tomorrow for everything to finish compiling. But if that<br>> is the<br>> only way to fix this php and uninstall issue then I guess that is
<br>> what I<br>> will have to do.<br>><br>> $ sudo /opt/local/bin/port -f uninstall pcre @4.5_0<br>><br>> Password:<br>> Error: port uninstall failed: invalid command name<br>> "portuninstall::uninstall"
<br>><br>> I am really sorry for taking up so much of your time but I<br>> appreciate the<br>> help.<br>><br>> thanks,<br>> Evan<br>><br>Well,<br>the only problem here is that your problem isn'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> ll /opt/local/bin/port<br>-r-xr-xr-x 1 root admin 68240 17 Tou 18:27 /opt/local/bin/port*<br><br>(Tou comes from toukokuu, May in Finnish)
<br>I'll attach that here, you could compare.<br><br><br>!<br>! Jyrki Wahlstedt<br>! skype:jyrkiwahlstedt<br>! <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 A780<br>6366 EFD9 139C C386<br><br><br><br><br><br></blockquote></div><br>