Opened 8 years ago
Last modified 7 years ago
#51499 new enhancement
Propose --follow-dependents
Reported by: | Liontooth (David Liontooth) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.3.4 |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: |
Description
When an uninstall command fails because of dependents, the user is prompted to uninstall the dependents first:
# port uninstall gimp2 @2.8.2_2+help_browser+python27 ---> Unable to uninstall gimp2 @2.8.2_2+help_browser+python27, the following ports depend on it: ---> gimp-app @2.8.0_0 ---> gimp-app @2.8.2_0 ---> gimp-gap @2.6.0_5 ---> gimp-jp2 @2.2.0_4 ---> gimp-jp2 @2.2.0_5 ---> gimp-lqr-plugin @0.7.1_1 ---> gutenprint @5.2.7_0 ---> gutenprint @5.2.7_1 ---> icns-gimp @0.1_1 ---> ufraw @0.18_2 ---> xsane @0.998_0 ---> xsane @0.998_1 Error: org.macports.uninstall for port gimp2 returned: Please uninstall the ports that depend on gimp2 first.
When this error is triggered, could the feedback add,
Please uninstall the ports that depend on gimp2 first, or use uninstall --follow-dependents
You wrote the code, tell people about it, make everybody happy.
Cheers, Dave
Change History (2)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Keywords: | uninstall dependents removed |
---|
comment:2 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|
Note: See
TracTickets for help on using
tickets.
With recent macports versions, the user is prompted with a question:
To get the old version, use -N so I still guess the text output could still be changed.