OSX Upgrades: Snow Leopard

Darren Weber dweber at macports.org
Mon Jun 15 15:05:12 PDT 2009


On Tue, Jun 9, 2009 at 5:32 PM, Ryan Schmidt <ryandesign at macports.org>wrote:

> On Jun 9, 2009, at 17:07, Jeremy Huddleston wrote:
>
>  On Jun 9, 2009, at 13:36, Darren Weber wrote:
>>
>>  What's the recommended series of command lines for that?
>>>
>>
>> Here's what I did:
>>
>> cd /opt/local/var/macports/software
>> /bin/ls -1d * > ~/todo.mp
>> cd
>> sudo mv /opt/local /var/tmp/old_macports
>>
>
> Moving /opt/local aside is not sufficient to uninstall MacPorts. See proper
> uninstall instructions here:
>
> http://trac.macports.org/wiki/FAQ#HowdoIremoveoruninstallMacPorts
>
>
>  cd src/macports/trunk/base
>> ./configure && make && sudo make install
>> for f in $(cat todo.mp ); do [[ -d /opt/local/var/macports/software/$f ]]
>> || sudo port -v install $f; done
>>
>> I'm sure there's something ports option to do that, but /shrug...
>>
>
> MacPorts doesn't include a command to help you rebuild an entire
> installation like this. This is unfortunate and makes it a rather involved
> process. But since upgrading to a new major OS version is a task users don't
> perform often, I don't think any work has gone into making this easier.
>
>
> I think the key to solving this would be to have MacPorts record more
> information in the registry about each port that was installed, including
> what version of Mac OS X it was done on, with what version of Xcode, and
> even record several of the settings from macports.conf that were in effect
> at the time. Then we can make "port outdated" recognize that if the current
> OS is a major version later than the one a port was installed with, the port
> needs to be rebuilt.
>
>
Interesting suggestion.  Does the receipt include the variants installed?
Is this process likely to be available in 1.8?

Take care, Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090615/c6724780/attachment.html>


More information about the macports-users mailing list