Minimising MacPorts Internal Disk Usage

"René J.V. Bertin" rjvbertin at gmail.com
Thu Aug 15 07:25:20 PDT 2013


On Aug 15, 2013, at 16:09, Daniel J. Luke wrote:

> On Aug 15, 2013, at 9:22 AM, Arno Hautala <arno at alum.wpi.edu> wrote:
>> On Thu, Aug 15, 2013 at 9:16 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
>>> 
>>> If you want to combine those two operations into a single command, it's:
>>> 
>>> sudo port -u upgrade outdated
>> 
>> Ah, good point. I don't recall why I had them split out like that.
>> Restricting commands to single actions? Ignorance? I don't know.
> 
> I usually use -u because I don't mind fixing things when I break them with an upgrade ... however it's /really/ nice to do an upgrade and if something goes wrong, to be able to reactivate the previously installed port - so I'm glad that -u isn't the default on upgrade :)
> 

Exactly, which is why I'd want to leave the previous version around.

>> I tried that once, and had to restore my whole installation tree from backup.
> 
> That shouldn't have been necessary. What went wrong?


If only I knew ... It's possible that I did an "-u uninstall inactive", I have a vague memory that I should never use -u again!



More information about the macports-users mailing list