Opened 11 years ago
Last modified 3 months ago
#42207 assigned enhancement
uninstalling macports could be easier
Reported by: | dave@… | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts Future |
Component: | base | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), umeshksingla (Umesh Singla), cooljeanius (Eric Gallager) | |
Port: |
Description
Instead of getting the user to know about and to follow the directions here, MacPorts could do all of that itself when the user issues a port command, such as
port uninstall macports
or
port selfuninstall
Change History (10)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Component: | ports → base |
---|---|
Type: | defect → enhancement |
Version: | 2.2.1 |
comment:2 follow-up: 8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
comment:3 Changed 7 years ago by neverpanic (Clemens Lang)
Milestone: | → MacPorts 2.6.0 |
---|---|
Owner: | changed from macports-tickets@… to neverpanic |
Status: | new → assigned |
We can ship the command from the guide in a shell script, e.g. in $prefix/libexec/macports/uninstall
to simplify uninstalling.
This would also have the advantage of being able to remove the correct $applications_dir
for the installation that is being removed.
comment:4 Changed 7 years ago by umeshksingla (Umesh Singla)
Cc: | umeshksingla added |
---|
comment:6 Changed 7 years ago by mojca (Mojca Miklavec)
Milestone: | MacPorts 2.6.0 → MacPorts 2.7.0 |
---|
comment:7 Changed 3 years ago by jmroot (Joshua Root)
Milestone: | MacPorts 2.7.0 → MacPorts Future |
---|
Ticket retargeted after milestone closed
comment:8 Changed 3 months ago by cooljeanius (Eric Gallager)
Replying to ryandesign:
- MacPorts is not interactive, but you'd want to ask the user "Are you sure?"
This has changed; interactivity has since been added.
comment:9 Changed 3 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:10 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
True, but reason 1 that I mentioned above still applies so it's probably safer for there to be a separate standalone uninstaller script rather than trying to integrate it into the port
executable.
Uninstalling MacPorts could be easier. On the other hand, how easy do we really want it to be to uninstall everything, which is a drastic and irreversible step and also something that won't be done regularly?
And a couple problems come to mind with this proposal:
port
anything and need to uninstall manually.We could offer a separate shell script to uninstall.
The proposed self-management feature may address this concern.