Re: [MacPorts] #10226: BUG: port command can't be interrupted cleanly - creates database inconsistency
#10226: BUG: port command can't be interrupted cleanly - creates database inconsistency ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: MacPorts Future Component: base | Version: Resolution: | Keywords: Port: | ---------------------------------+------------------------------------------ Changes (by blb@…): * cc: blb@… (added) Comment: Perhaps if port were to trap Ctrl-C and have certain actions based on which phase was active at the time: - during anything up to and including destroot, just stop since it can be safely resumed from where it left off - during install, remove what it installed in ${prefix}/var/macports/software - during activate, ignore the signal until it completes activation, perhaps with a message - during deactivate, either ignore or go back to activate - during uninstall, since this has probably already begun deleting there's probably no choice but to let it finish -- Ticket URL: <http://trac.macports.org/ticket/10226#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts