Re: No user or group to remove on macOS Catalina

2021-11-27 Thread Ryan Schmidt
On Nov 27, 2021, at 02:22, Pieter van Oostrum wrote:

> chilli.names...@gmail.com writes:
> 
>> 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*
> 
> You may also have to add
> 
> sudo rm -rf /Applications/Macports

The link to the correct uninstallation instructions were already provided in 
the first message of this thread.





Re: No user or group to remove on macOS Catalina

2021-11-27 Thread chilli.names...@gmail.com
I don't consider /Applications/MacPorts part of the installation. And deleting 
binaries I built would be like... not only uprooting the tree, but destroying 
the fruit as well. That said, you have fair point.

> On Nov 27, 2021, at 03:22, Pieter van Oostrum  wrote:
> 
> "chilli.names...@gmail.com"  writes:
> 
>> 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*
> 
> You may also have to add
> 
> sudo rm -rf /Applications/Macports
> -- 
> Pieter van Oostrum 
> www: http://pieter.vanoostrum.org/
> PGP key: [8DAE142BE17999C4]


Re: No user or group to remove on macOS Catalina

2021-11-27 Thread Pieter van Oostrum
"chilli.names...@gmail.com"  writes:

> 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*

You may also have to add

sudo rm -rf /Applications/Macports
-- 
Pieter van Oostrum 
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]


Re: No user or group to remove on macOS Catalina

2021-11-26 Thread André-John Mas
I would say the big benefit of MacPorts over Brew is that it feels more secure, 
mainly because it doesn’t do everything as an unprivileged user. 

André-John

Sent from my phone. Envoyé depuis mon téléphone. 

> On 26 Nov 2021, at 19:50, Dave Horsfall  wrote:
> 
> On Fri, 26 Nov 2021, Ryan Schmidt wrote:
> 
>> You're right, it's best to pick one package manager and uninstall the 
>> other, to avoid them conflicting with one another. If you have any 
>> feedback about ways that MacPorts could improve, please let us know.
> 
> I'm not sure how I came across MacPorts, but I wouldn't switch away from 
> it for quids; it serves my purposes perfectly.  Keep up the great work!
> 
> -- Dave


Re: No user or group to remove on macOS Catalina

2021-11-26 Thread Dave Horsfall
On Fri, 26 Nov 2021, Ryan Schmidt wrote:

> You're right, it's best to pick one package manager and uninstall the 
> other, to avoid them conflicting with one another. If you have any 
> feedback about ways that MacPorts could improve, please let us know.

I'm not sure how I came across MacPorts, but I wouldn't switch away from 
it for quids; it serves my purposes perfectly.  Keep up the great work!

-- Dave


Re: No user or group to remove on macOS Catalina

2021-11-26 Thread chilli.names...@gmail.com
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  wrote:
> 
> 
> Hello,
> I am following the steps from 
> https://guide.macports.org/chunked/installing.macports.uninstalling.html 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


Re: No user or group to remove on macOS Catalina

2021-11-26 Thread Ryan Schmidt
On Nov 26, 2021, at 07:16, Masoud Ghaderi wrote:

> Hello,
> I am following the steps from 
> https://guide.macports.org/chunked/installing.macports.uninstalling.html 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

You're right, it's best to pick one package manager and uninstall the other, to 
avoid them conflicting with one another. If you have any feedback about ways 
that MacPorts could improve, please let us know.


On my Catalina system:


$ /usr/bin/dscl . -search /Users name macports
macportsdsAttrTypeNative:name = (
macports
)


If you don't get that result, then I guess you don't have the macports user, so 
you can skip the step of deleting it.



No user or group to remove on macOS Catalina

2021-11-26 Thread Masoud Ghaderi
Hello,
I am following the steps from
https://guide.macports.org/chunked/installing.macports.uninstalling.html 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