upgrades fail after leopard update
Ryan Schmidt
ryandesign at macports.org
Thu Jun 12 16:26:14 PDT 2008
On Jun 12, 2008, at 17:53, Alan Batie wrote:
> Ryan Schmidt wrote:
>
>> For these reasons you may be better off uninstalling MacPorts and
>> then reinstalling the ports you need.
>
> !!!
>
> Consider this a feature request that "port upgrade" actually do an
> upgrade... I realize that's a different sort of upgrade, but this
> is going to be a royal pain in the backside...
One way to improve this would be to remove autoselected variants
during upgrade if they aren't applicable anymore. For example, if you
have a port installed with +darwin_8 but you're now on Leopard,
upgrading the port should deselect the darwin_8 variant.
Can you think of other concrete ways we could improve the situation?
I suppose it would be really nice if we had a script you could run
which would fix everything for you. Rebuild all ports in the right
order. Of course if you have a lot of ports installed and/or a slow
machine it could take days to run. Also there might be a few cases
where it wouldn't work. (I think we still have a few ports which work
on Tiger but not on Leopard...)
I guess such a script hasn't materialized yet (and the other
mentioned issues haven't been resolved) because upgrading across
major OS releases is not something one does often. Generally one does
it once per major OS release, which is no more frequently than once a
year. Also, testing such a script could be difficult. The fixes I've
seen committed to the MacPorts repository recently deal with issues
one would encounter in normal day-to-day use of MacPorts, so that's
more important.
More information about the macports-users
mailing list