[MacPorts] #19908: dry-run option (-y) not honored everywhere
#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
#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: ------------------------------+--------------------------------------------- Comment(by jmr@…): Fixed activate/deactivate in r52113. -- Ticket URL: <http://trac.macports.org/ticket/19908#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: ------------------------------+--------------------------------------------- Comment(by jmr@…): Fixed uninstall in r52154. Are there any more? -- Ticket URL: <http://trac.macports.org/ticket/19908#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: ------------------------------+--------------------------------------------- Comment(by blb@…): My original test appears to work (on python26, it shows quite a few ports being dry-runned for deactivate and uninstall). However, a new issue has cropped up but I don't think it's dry-run related: {{{ ---> The following versions of xorg-xcb-proto are currently installed: ---> xorg-xcb-proto @1.5_0+python26 ---> xorg-xcb-proto @1.5_1+python26 (active) DEBUG: Registry error: Please specify the full version as recorded in the port registry. while executing "portuninstall::uninstall $depport "" [array get options]" (procedure "portuninstall::uninstall" line 65) invoked from within "portuninstall::uninstall $portname [composite_version $portversion [array get variations]] [array get options]" Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry. }}} I'm guessing we need a new ticket for that one? -- Ticket URL: <http://trac.macports.org/ticket/19908#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: ------------------------------+--------------------------------------------- Comment(by jmr@…): Apparently the work directory will still be deleted in dry-run mode if the Portfile is newer than the statefile. -- Ticket URL: <http://trac.macports.org/ticket/19908#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: ------------------------------+--------------------------------------------- Comment(by jmr@…): Fixed the deleting of the work dir in r53707. -- Ticket URL: <http://trac.macports.org/ticket/19908#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19908: dry-run option (-y) not honored everywhere -------------------------------+-------------------------------------------- Reporter: blb@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.8.0 Resolution: fixed | Keywords: Port: | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed * milestone: MacPorts Future => Comment: No further issues reported; closing. -- Ticket URL: <https://trac.macports.org/ticket/19908#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts