Macports won't uninstall

Ryan Schmidt ryandesign at macports.org
Mon Jan 23 18:57:12 UTC 2023


On Jan 23, 2023, at 12:43, Isabelle Dolan wrote:

> I tried running uninstall and got this:
> > Running command: /opt/local/bin/port -fp uninstall installed
> > Error: No ports matched the given expression
> 
> I am running a script that uninstalls macports using 'Running command: /opt/local/bin/port -fp uninstall installed' and then reinstall the proper configuration. Since the script can't uninstall it, I tried to follow the instructions in section 2.4 to uninstall fully. Even after doing that, I still get the same error. 
> 
> I really need to get past this to be able to finish running the script.
> 
> Any suggestions? 
> 
> Running command: /opt/local/bin/port -fp uninstall installed
> Error: No ports matched the given expression

In this context, this error means "no ports are installed". So you can proceed to the next step of uninstalling MacPorts.



More information about the macports-users mailing list