Opened 4 years ago
Last modified 4 years ago
#60524 new defect
please help i can't uninstalled macports i followed the 2.4. Uninstall MacPorts - MacPorts Guide but it don't work.
Reported by: | moostache349 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: |
Description
please help i can't uninstalled macports i followed the 2.4. Uninstall MacPorts - MacPorts Guide but it don't work.
For example:
philliplam@Phillips-MacBook-Pro ~ % port version
Version: 2.6.2
philliplam@Phillips-MacBook-Pro ~ % sudo dscl . -delete /Users/macports
Password:
delete: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
philliplam@Phillips-MacBook-Pro ~ % sudo port -fp uninstall installed
Error: No ports matched the given expression
philliplam@Phillips-MacBook-Pro ~ % sudo dscl . -delete /Groups/macports
delete: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
philliplam@Phillips-MacBook-Pro ~ % sudo rm -rf \
/opt/local \
/Applications/DarwinPorts \
/Applications/MacPorts \
/Library/LaunchDaemons/org.macports.* \
/Library/Receipts/DarwinPorts*.pkg \
/Library/Receipts/MacPorts*.pkg \
/Library/StartupItems/DarwinPortsStartup \
/Library/Tcl/darwinports1.0 \
/Library/Tcl/macports1.0 \
~/.macports
zsh: no matches found: /Library/LaunchDaemons/org.macports.*
philliplam@Phillips-MacBook-Pro ~ % port version
Version: 2.6.2
philliplam@Phillips-MacBook-Pro ~ %
Attachments (1)
Change History (5)
Changed 4 years ago by moostache349
Attachment: | Screen Shot 2020-05-20 at 4.46.06 pm.png added |
---|
comment:1 follow-up: 3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Priority: | High → Normal |
---|---|
Type: | request → defect |
comment:3 Changed 4 years ago by moostache349
Replying to ryandesign:
Trac is not for tech support, but since you're here already...
Did you install MacPorts in a location other than /opt/local? What is the output of
which port
?
i use MacPorts-2.6.2-10.15-Catalina.pkg to install and select Macintosh HD as a desination.
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
The pkg installer installs into /opt/local. After you ran sudo rm -rf /opt/local
, everything in /opt/local should be gone, including /opt/local/bin/port, so there should be no way for port version
to still respond with Version: 2.6.2
if that was the only copy of MacPorts that you installed.
You could verify whether anything is still in /opt/local for example by running ls /opt/local
or by using the Finder's Go→Go to Folder… menu item and typing in /opt/local. If anything remains there, then uninstallation was unsuccessful and you should follow the uninstallation instructions again, because as far as I know we haven't had any other reports of the instructions being wrong.
If /opt/local is gone but port version
still responds, that makes me think you have another copy of MacPorts installed somewhere else, which is why I asked you for the output of which port
to see where it is.
Trac is not for tech support, but since you're here already...
Did you install MacPorts in a location other than /opt/local? What is the output of
which port
?