Ticket #19908 (closed defect: fixed)
dry-run option (-y) not honored everywhere
| Reported by: | blb@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 1.8.0 |
| Keywords: | Cc: | ||
| Port: |
Description
At least uninstall appears to not honor the dry-run option (-y):
$ port -dy uninstall gimp2
---> Deactivating gimp2 @2.6.6_1+darwin_9+x11
DEBUG: deactivating link: /mp/share/man/man5/gimprc.5.gz
DEBUG: error deleting "/mp/share/man/man5/gimprc.5.gz": permission denied
while executing
"_deactivate_contents $name $imagefiles"
(procedure "portimage::deactivate" line 52)
invoked from within
"portimage::deactivate $portname ${version}_${revision}${variants} $optionslist"
(procedure "portuninstall::uninstall" line 88)
invoked from within
"portuninstall::uninstall $portname [composite_version $portversion [array get variations]] [array get options]"
Error: port uninstall failed: error deleting "/mp/share/man/man5/gimprc.5.gz": permission denied
(It failed since I didn't use sudo, as I didn't want it actually uninstalling).
Initially ran into this trying it with --follow-dependents to see if that would show a recursive dependent list.
Change History
Note: See
TracTickets for help on using
tickets.

