Trubles compiling lxqt on RPi4

Tatsuki Makino tatsuki_makino at hotmail.com
Thu May 13 21:28:03 UTC 2021


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.



More information about the freebsd-ports mailing list