migration instructions

Joshua Root jmr at macports.org
Mon Sep 14 17:04:39 PDT 2015


On 2015-9-15 06:10 , David Strubbe wrote:
> Hello all,
> 
> I have just updated to Yosemite and used the migration instructions
> at http://trac.macports.org/wiki/Migration
> 
> I want to point out two issues:
> 
> 1. Running "sudo port clean all" takes a huge amount of time. Apparently
> many hours for me; I didn't have the patience to let it finish. Instead
> we should clean just the ports that have incomplete builds (probably
> just a few in most cases) which can be found by looking at
> /opt/local/var/macports/builds and /optlocal/var/macports/logs I think,
> saving a lot of time.

I've never liked this step much, especially since by definition you
should only be building installed ports during migration. But it is
theoretically possible that someone has a half-finished build for a port
they don't have installed but is a dependency of something else on the
new platform only.

'sudo rm -rf /opt/local/var/macports/build/*' would do the trick but
apparently that wasn't "nice" enough.

> 2. The list of ports generated in myports.txt and requested.txt will
> include ports that are deactivated, including one line for each version
> of a port, whether active or not. One line total regardless of number of
> versions would be sufficient. Re-installing deactivated ports should
> probably not be done by default since that is not returning you to the
> original state and there was probably a reason (such as conflicts) why
> the ports were deactivated.

This actually isn't a problem at all. We can't install old versions, so
what you end up with is the current version of each port, with the
previously active variants (if any) active, and any other listed variant
combinations inactive.

- Josh


More information about the macports-dev mailing list