port selfupdate incredibly slow
ryandesign at macports.org
Tue Aug 16 15:09:58 PDT 2011
On Aug 16, 2011, at 09:44, Federico Calboli wrote:
> I'd like to ask, is it just for me that sudo port -v selfupdate is very slow and CPU intensive?
> My mac details: 2.2 GHz Intel Core i7, 8GB RAM, OS 10.7 (Lion), installed from scratch -- I made a bootable USB image and wiped my HD.
"Selfupdate" syncs your ports tree, then builds a new version of MacPorts, if available.
Syncing the ports tree should not use hardly any CPU time at all; it should be limited by the speed of your network and your disk.
Building the new version of MacPorts will be CPU intensive for a minute or two.
If you're upgrading from MacPorts 1.x to MacPorts 2.x, then all existing installed ports must be converted. This can take hours depending on how many ports you have installed, but again should be bound by disk speed and not be CPU intensive.
More information about the macports-users