No user or group to remove on macOS Catalina

chilli.namesake at chilli.namesake at
Fri Nov 26 19:46:08 UTC 2021

To uninstall macports entirely, I use the three commands below in a script (which I assume I got from the manual, but it's been awhile, I do not recall), but they work just as well one at a time:

sudo port -vfp uninstall --follow-dependencies installed  

sudo port -vfp uninstall all

sudo rm -rf   /opt/local   /Library/Tcl/macports*

> On Nov 26, 2021, at 08:16, Masoud Ghaderi <masoudshao at> wrote:
> Hello,
> I am following the steps from to remove mac ports from my machine (it is currently functioning but I want to migrate to homebrew and I've heard they do not coexist).
> The second step states that I need to remove the user or group that has been created by macports. However, looking for the user (as suggested in SO)
> /usr/bin/dscl . -search /Users name macports
> returns nothing. Also, running step 3 with -v flag did not return anything. Executing 
> where port
> returned
> /opt/local/bin/port
> Any help regarding the proper uninstallation of macports would be appreciated.
> Regards,
> Masoud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list