Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2021 06:27:55 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Mark Millard <marklmi@yahoo.com>, FreeBSD ports <freebsd-ports@freebsd.org>
Cc:        bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Trubles compiling lxqt on RPi4
Message-ID:  <PSAPR03MB5639481F62F289B37ED945FDFA519@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <515FCC01-19A2-463C-8416-85D0BF0B4845@yahoo.com>
References:  <515FCC01-19A2-463C-8416-85D0BF0B4845.ref@yahoo.com> <515FCC01-19A2-463C-8416-85D0BF0B4845@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB5639481F62F289B37ED945FDFA519>