how exclude several ports from upgrade?

Ryan Schmidt ryandesign at macports.org
Tue May 11 16:59:25 UTC 2021


On May 11, 2021, at 11:26, Murray Eisenberg wrote:

> On 11 May2021, at 12:20 PM, Murray Eisenberg wrote:
> 
>> Sorry, but cannot find the relevant syntax in docs…
>> 
>> How do I exclude SEVERAL ports from the “port upgrade outdated and not ….” command?
>> 
>> (sbcl has fatal build error, so other ports dependent on it cannot upgrade either:
>> if I try “port upgrade outdated and not sbcl” it still tries to upgrade sbcl, and then fails, because at least one other port depends on it)
> 
> Specifically, maxima depends on sbcl. But if I try…
> 
> 	port upgrade outdated and not \(maxima or sbcl\)
> 
> ...or even...
> 
> 	port upgrade outdated and not \(maxima or sbcl\)
> 
> ...it still tries to upgrade sbcl.
> 
> What am I doing wrong?



I believe this should work:

sudo port upgrade outdated and not \( maxima sbcl \)




More information about the macports-users mailing list