Remove PPC macports from Intel Mac

James Berry jberry at macports.org
Sat Oct 9 13:12:58 PDT 2010


Bradley,

On Oct 9, 2010, at 12:42 PM, Bradley Giesbrecht wrote:

> 
> On Oct 9, 2010, at 12:19 PM, Andrea D'Amore wrote:
> 
>> On Fri, Oct 8, 2010 at 7:38 PM, Mark Johnson <markajohnson at yahoo.com> wrote:
>>> How can I get rid of the old MacPorts or replace it with one compatible with my new machine?
>>> I can't run sudo port -f uninstall installed because the port command does not work.
>> 
>> You can install macports from latest dmg and get a list of installed
>> ports using "port installed", uninstall ports in list and then
>> reinstall them.
> 
> Couldn't you also do something like "port -f upgrade installed"?
> 
> Just curious. I would like a way to do this that kept the list if "requested" if it existed.

You can just substitute the pseudo-port "requested" for installed above. Do get a list of the requested ports:

	port echo requested

To upgrade only requested ports:

	port -f upgrade requested

Hope that helps.

James


More information about the macports-users mailing list