20210425 of UPDATING doesn't take into care the environment where python37 and 
python38 are installed at the same time.
This is a problem for people who installed 3.8 when 3.7 was the default. (e.g. 
user of graphics/blender)

Can you experiment with the commands I've been thinking about in anticipation 
of 3.9 becoming the default :)

# check dependencies.
pkg check -d -n -a
# gather the names of packages that will need to be reinstalled.
pkg query -e '( %n !~ py37-* && %n !~ *-py37-* )' %n-:%dn | grep -e 
':python37\|:py37-\|:.*-py37-' | cut -d : -f 1 | sort -u > /tmp/py37.txt
# gather the origins of manually installed packages where the FLAVOR will 
change.
pkg query -e '( %n ~ py37-* || %n ~ *-py37-* ) && %a = 0 && %#''r = 0' %o:%dn | 
grep -e ':python37\|:py37-\|:.*-py37-' | cut -d : -f 1 | sort -u > 
/tmp/py37-o.txt
# delete the py37 packages
pkg delete -f -g py37-\* \*-py37-\*
# install the package of py37-o.txt
xargs -o -- portmaster (portmaster options of your choice) < /tmp/py37-o.txt
# reinstall the package of py37.txt
xargs -o -- portmaster (portmaster options of your choice) < /tmp/py37.txt

Best regards.

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to