I thought "pkg updating" would alert me about python...?
ronald-lists at klop.ws
Sun May 2 20:14:14 UTC 2021
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) tail +16 /usr/ports/UPDATING | head -5
> AFFECTS: users of python
> AUTHOR: kai at 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) 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) pkg updating -d 20210424
> lgld-dhw(12.2-S) echo $?
> Am I alone in expecting "pkg updating" to have displayed the 20210425
> (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) 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 at lgld-dhw.corp.example.com:/common/S2/obj/common/S2/src/amd64.amd64/sys/GENERIC amd64
> lgld-dhw(12.2-S) pkg -v
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.
More information about the freebsd-ports