how exclude several ports from upgrade?

Murray Eisenberg murrayeisenberg at gmail.com
Wed May 12 00:57:27 UTC 2021



> On 11 May2021, at 8:13 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> On May 11, 2021, at 14:57, Murray Eisenberg wrote:
> 
>> On 11 May2021, at 12:59 PM, Ryan Schmidt  wrote:
>>> 
>>> 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 \)
>> 
>> No: still tries first to upgrade sbcl (and fails).
>> 
>> And I copied & pasted the command directly from your email response into Terminal, just to be sure!
> 
> The syntax is correct. You should be able to verify this by running:
> 
> port echo outdated
> 
> Verify that the list contains maxima and sbcl. Now run:
> 
> port echo outdated and not \( maxima sbcl \)
> 
> Verify that the list does not contain maxima or sbcl anymore.
> 
> 
> Do you perhaps have other outdated ports that depend on sbcl? These ports depend on sbcl:
> 
> QiII
> acl2
> cl-ppcre
> fricas
> maxima
> slime
> 
> Or do you have outdated ports that depend on maxima? These ports depend on maxima:
> 
> imaxima
> wxMaxima
> 
> You would have to exclude those from upgrading as well.
> 
> 
> The sbcl build failure has been fixed [1] so you can sudo port sync to receive the fix and should be able to upgrade those ports now.
> 
> 
> [1] https://github.com/macports/macports-ports/commit/e4a200932dc0a44df212f5dbf4438daf1ca782f0
> 


I so have wxMaxima, too, so probably that’s what was at issue.

But issue now resolved with fixed sbcl.


thanks for letting me know about that!
---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210511/3b5b4fbd/attachment.htm>


More information about the macports-users mailing list