New Migration procedure
Joshua Root
jmr at macports.org
Sat Jul 16 17:03:32 PDT 2011
On 2011-7-17 09:16 , Rainer Müller wrote:
> Hey,
>
> as registry 2.0 with 'portdbformat sqlite' stores the platform a port
> was built and installed on, the migration procedure [1] needs to be
> rewritten for the upcoming Lion release.
>
> 'port outdated' will consider all installed ports as outdated with a
> note saying "(platform darwin 10 != darwin 11)".
>
> It's no longer necessary to manually remove and reinstall all ports or
> use a script for that, instead this can be solved by running the command
> 'port upgrade outdated'. Of course the migration will only be that easy
> if no build failures occur.
>
> Rainer
>
> [1] http://trac.macports.org/wiki/Migration
Well, you still run into trouble if you're coming from a different arch
because of stuff like gawk and gsed that isn't actually depended on but
will be used if present by just about every configure script out there.
Otherwise the original 'port upgrade --force installed' migration
procedure would have worked.
- Josh
More information about the macports-dev
mailing list