Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2021 14:43:42 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Tatsuki Makino <tatsuki_makino@hotmail.com>
Cc:        FreeBSD ports <freebsd-ports@freebsd.org>, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Trubles compiling lxqt on RPi4
Message-ID:  <C94974DB-C43A-4B9B-9726-881C6061B435@yahoo.com>
In-Reply-To: <PSAPR03MB5639481F62F289B37ED945FDFA519@PSAPR03MB5639.apcprd03.prod.outlook.com>
References:  <515FCC01-19A2-463C-8416-85D0BF0B4845.ref@yahoo.com> <515FCC01-19A2-463C-8416-85D0BF0B4845@yahoo.com> <PSAPR03MB5639481F62F289B37ED945FDFA519@PSAPR03MB5639.apcprd03.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-May-13, at 14:27, Tatsuki Makino <tatsuki_makino at hotmail.com> =
wrote:

> 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)
>=20
> Can you experiment with the commands I've been thinking about in =
anticipation of 3.9 becoming the default :)
>=20
> # 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 =3D 0 && %#''r =3D =
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
>=20

My context is not based on using portmaster at all. I do
not create environments with multiple versions of python
in use (or other such potential conflicts).

So: It will not be me that tests such commands for handling
such contexts.

May be Bob P. will test your sequence.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C94974DB-C43A-4B9B-9726-881C6061B435>