Re: MacPorts-2.0.3 can’t be installed on this computer.

Ryan Schmidt ryandesign at macports.org
Wed Jan 11 09:16:26 PST 2012


On Jan 11, 2012, at 11:10, Arno Hautala wrote:

> On 2012-01-11, Bradley Giesbrecht <brad at pixilla.com> wrote:
>> 
>> Caution should be exercised if for example you user database file in
>> /opt/local/var/db/mysql5 or user conf files in /opt/local/etc.
>> 
>> I would suggest you first move /opt/local out of the way; then after you
>> have the current MacPorts installed and previous functionality restored you
>> can delete the old dir.
> 
> It would probably be a good idea to add a note regarding this to the
> uninstall page.

Already there:

"All that will be left in your installation prefix now will be files that were not registered to any port. This includes configuration files, databases, any files which MacPorts renamed in order to allow a forced installation or upgrade, and the base MacPorts software itself. You may wish to save your configuration files (most are in ${prefix}/etc), databases, or any other unique data by moving it aside."


> And perhaps alter the suggested "rm" command.

Alter it how? We can't just exclude the directories var/db and etc from the removal instructions, since that could leave some files that were registered to ports. And we do not want to introduce complicated knowledge of various ports' database and config file locations into the uninstall instructions.




More information about the macports-users mailing list