[MacPorts] #19908: dry-run option (-y) not honored everywhere
MacPorts
noreply at macports.org
Wed Jun 10 01:14:45 PDT 2009
#19908: dry-run option (-y) not honored everywhere
------------------------------+---------------------------------------------
Reporter: blb@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts Future
Component: base | Version: 1.8.0
Keywords: | Port:
------------------------------+---------------------------------------------
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.
--
Ticket URL: <http://trac.macports.org/ticket/19908>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list