[MacPorts] #10226: BUG: port command can't be interrupted cleanly - creates database inconsistency

MacPorts noreply at macports.org
Sun Apr 26 13:19:19 PDT 2009


#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


More information about the macports-tickets mailing list