[MacPorts] #19253: port clean aborts with error if port has been removed from collection but is installed

MacPorts noreply at macports.org
Sun Apr 12 01:36:06 PDT 2009


#19253: port clean aborts with error if port has been removed from collection but
is installed
-----------------------------------+----------------------------------------
 Reporter:  febeling@…             |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:  MacPorts Future                      
Component:  base                   |     Version:  1.7.1                                
 Keywords:  upgrade obsolete       |        Port:                                       
-----------------------------------+----------------------------------------
Changes (by raimue@…):

 * cc: raimue@… (added)
  * keywords:  => upgrade obsolete


Comment:

 Removing ports on upgrade could be bad as we also allow installation of
 ports not in the PortIndex by using the `current` pseudo-port or `-D
 portdir`.

 Also, it is not clear to me how you got this error message. I can't think
 of a way how that could happen with the recommended `port upgrade
 outdated` as a removed port is never in the outdated set, so I assume you
 used `port upgrade installed` as gail is still in the installed set?

 `port upgrade gail` could maybe get a smarter error message. But in
 general it is the expected behavior. You asked to upgrade a port which
 cannot be found in the PortIndex, so there is no way to check the
 versions.

-- 
Ticket URL: <http://trac.macports.org/ticket/19253#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list