Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 2021 22:14:05 +0200
From:      Ronald Klop <ronald-lists@klop.ws>
To:        freebsd-ports@freebsd.org
Subject:   Re: I thought "pkg updating" would alert me about python...?
Message-ID:  <02c13b1f-198f-3163-8688-7d01f60baee5@klop.ws>
In-Reply-To: <YI61Riuyz78oz0Wx@albert.catwhisker.org>
References:  <YI61Riuyz78oz0Wx@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/2/21 4:20 PM, David Wolfskill wrote:
> I just re-verified the behavior, so -- even though I have already
> started taking evasive action (updating python), I figured it may be of
> use to show what I'm seeing; maybe I'm confused:
> 
> Local ports tree is updated; previous ports update was a week ago.  I
> happen to know that there's an UPDATING entry:
> 
> lgld-dhw(12.2-S)[4] tail +16 /usr/ports/UPDATING | head -5
> 20210425:
>    AFFECTS: users of python
>    AUTHOR: kai@FreeBSD.org
> 
>    The default version of python3 and python was switched to 3.8.
> 
> 
> And that this machine should be affected:
> 
> lgld-dhw(12.2-S)[5] pkg info -o python\*
> python27-2.7.18_1              lang/python27
> python36-3.6.13                lang/python36
> python38-3.8.9                 lang/python38
> 
> 
> [As noted above, I had already started evasive action.]
> 
> But "pkg updating" is not actually showing the above entry:
> 
> lgld-dhw(12.2-S)[6] pkg updating -d 20210424
> lgld-dhw(12.2-S)[7] echo $?
> 0
> 
> 
> Am I alone in expecting "pkg updating" to have displayed the 20210425
> entry?
> 
> (There was an issue a while back, where "pkg updating" was not showing
> "glob" entries, but that has since been addressed.)
> 
> This is on a machine running stable/12:
> 
> lgld-dhw(12.2-S)[8] uname -a
> FreeBSD lgld-dhw.corp.example.com 12.2-STABLE FreeBSD 12.2-STABLE #21 stable/12-n233048-23a3c3d97d72: Sun May  2 04:43:57 PDT 2021     root@lgld-dhw.corp.example.com:/common/S2/obj/common/S2/src/amd64.amd64/sys/GENERIC  amd64
> lgld-dhw(12.2-S)[9] pkg -v
> 1.16.3
> 
> Thanks.
> 
> Peace,
> david
> 


The UPDATING file says "users of python" while the pkg/port name is python37. So that does not match. It does match for humans but not for computers. :-)
The UPDATING entry should have said something like "users of lang/python*" to work.

Regards,
Ronald.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02c13b1f-198f-3163-8688-7d01f60baee5>