port -u upgrade outdated

Ryan Schmidt ryandesign at macports.org
Wed Oct 3 17:11:09 PDT 2007


On Oct 3, 2007, at 18:54, Thomas De Contes wrote:

> there is still a minor problem : waste of disk space
> since each old version remains on the disk, whereas they are  
> completely useless :-/
>
> do you see what i mean ?
> well, is there some guys who work on macports, who would like to  
> look at this problem, to allow us to make a script which  
> automatically updates macports without waste of disk space ?

Then uninstall those old versions if you do not want them anymore.

$ sudo port -f uninstall foo @1.2.3_0

Or, when you do the upgrade, use the -u switch to tell MacPorts you  
would like it to uninstall the old version for you.

$ sudo port -nfu upgrade foo




More information about the macports-users mailing list