Help with conjoined apaches

Ryan Schmidt ryandesign at macports.org
Sun Apr 29 14:05:09 PDT 2012


On Apr 28, 2012, at 22:00, Jeremy Lavergne wrote:

>> None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port.
>> 
>> Do you try to do a forced upgrade apache2 and mysql5 that failed? I think that would have uninstalled apache2 and mysql5 before building and installing.
> 
> I'd check the code for that one; pretty sure uninstall should never happen until immediately before activate (unless the port itself commands otherwise).

Whether intentionally or not, MacPorts was changed a few versions ago so that running

sudo port -n upgrade --force foo

will FIRST uninstall the current version of foo, THEN build the new version of foo, which might fail, leaving you with no installed version of foo.





More information about the macports-users mailing list