My Mac running Snow Leopard has several MacPorts based open source software packages installed. Upon the upgrade to Lion, all my ports are listed as outdated.
It's safe to upgrade them en masse?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
I usually don't upgrade to a new major version of OS X until MacPorts has released their first official support for it.
I agree with Jerry Jacobs that you should probably back up your
/opt hierarchy before attempting. Then you could try doing
sudo port selfupdate to see if that upgrades you from 1.9.2 (or whatever) to the 2.0.0 release candidate. If it does, then you can try
sudo upgrade outdated.
I wouldn't try doing a
sudo upgrade outdated on Lion without at least being on the 2.0.0 release candidate of MacPorts.
The best thing you can do is to copy the /opt/local directory to a other directory, and then upgrade everything you installed with macports. If it fails you still have your old ports in the backup directory.
I just upgraded to Lion yesterday. Port 1.9 stopped working until I upgraded Xcode to the newest version (4.1). After I upgraded Xcode, port (1.9) started working again.