Python update 3.7->3.8

Rozhuk Ivan rozhuk.im at gmail.com
Tue Apr 27 17:28:18 UTC 2021


On Tue, 27 Apr 2021 07:29:01 +0200 (CEST)
obx2un1 at oldach.net (Helge Oldach) wrote:

> > This long command hanle files that requires shebang:
> > portmaster -BvD -y --no-confirm --delete-build-only `grep -rsp
> > "\/python3\.7" /usr/local/ | grep -v '/usr/local/man/' | grep -v
> > '/usr/local/lib/python3' | sed -e 's|:.*||' -e 's|Binary file ||'
> > -e 's| matches||' | xargs pkg which -oq | sort -u`  
> 
> I am afraid this is botching up things. For instance, tinkering with
> pkg installed files will break proper removal of packages in the
> future because of md5 mismatch. Also please note that you are not
> just changing shebang but unrelated documentation files as well which
> may be overly excessive.


This long command find all files that contain "/python3.7", then find
package name that own this file and reinstall it.
It does not shange file content.




More information about the freebsd-ports mailing list