errror while installing/replacing python 3.10

Riccardo Mottola <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
Hi!

I am make-replacing packages on my SS20 running 9.2

pkg_rolling-replace stopped in python...

<... many more errore ...>

pkg_add: Couldn't remove
/usr/pkg/lib/python3.10/zoneinfo/__pycache__/_common.cpython-310.opt-1.pyc:
No such file or directory
pkg_add: Couldn't remove /usr/pkg/lib/python3.10/zoneinfo/_tzpath.py: No
such file or directory
pkg_add: Couldn't remove
/usr/pkg/lib/python3.10/zoneinfo/__pycache__/_tzpath.cpython-310.pyc: No
such file or directory
pkg_add: Couldn't remove
/usr/pkg/lib/python3.10/zoneinfo/__pycache__/_tzpath.cpython-310.opt-1.pyc:
No such file or directory
pkg_add: Couldn't remove /usr/pkg/lib/python3.10/zoneinfo/_zoneinfo.py:
No such file or directory
pkg_add: Couldn't remove
/usr/pkg/lib/python3.10/zoneinfo/__pycache__/_zoneinfo.cpython-310.pyc:
No such file or directory
pkg_add: Couldn't remove
/usr/pkg/lib/python3.10/zoneinfo/__pycache__/_zoneinfo.cpython-310.opt-1.pyc:
No such file or directory
pkg_add: Couldn't remove /usr/pkg/man/man1/python3.10.1: No such file or
directory
pkg_add: 1 package addition failed
*** Error code 1

Stop.
make[3]: stopped in /disk2/pkgsrc/lang/python310
*** Error code 1

I wonder what is it trying to do, remove an existing python installation?

/usr/pkg/lib/python3.10/

exists, but there are few files inside.

$ pkg_info | grep python
python38-3.8.10nb1  Interpreted, interactive, object-oriented
programming language


tells me only 3.8 is registered as installed....
I did run pkg_admin rebuild-tree without success.

Riccardo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.