Happy new year everyone!
It's been a while since I've booted my PC, had a lovely holiday!
However, I feel like I'm forgetting stuff I used to know. or rather stuff that I've been shown how to do in the past.
Anyway, I'm trying to intall a local pkgsrc package and am getting a python310
version conflict.
See below:
[...]
===> Building binary package for python310-3.10.9
=> Creating binary package /home/dave/.pkgsrc/packages/All/python310-3.10.9.tgz
=> Becoming ``root'' to make su-real-package-install (/usr/bin/su)
Password:
===> Installing binary package of python310-3.10.9
pkg_add: A different version of python310-3.10.9 is already installed: python310-3.10.6
pkg_add: 1 package addition failed
*** Error code 1
Stop.
make: stopped in /home/dave/.pkgsrc/lang/python310
*** Error code 1
Stop.
make[4]: stopped in /home/dave/.pkgsrc/lang/python310
*** Error code 1
Stop.
make[3]: stopped in /home/dave/.pkgsrc/lang/python310
*** Error code 1
Stop.
make[2]: stopped in /home/dave/.pkgsrc/textproc/py-expat
*** Error code 1
Stop.
make[1]: stopped in /home/dave/.pkgsrc/devel/py-setuptools
*** Error code 1
Stop.
make: stopped in /home/dave/.pkgsrc/local/py-Ueberzug
I tried to delete the currently install version:
/.pkgsrc/local/py-Ueberzug $ doas pkg_delete python310
doas (dave@localhost.local) password:
Package `python310-3.10.6' is still required by other packages:
nghttp2-1.48.0
Check again which version is available in the repos:
~ $ pkgin search python310
python310-3.10.5 > Interpreted, interactive, object-oriented programming language
=: package is installed and up-to-date
<: package is installed but newer version is available
>: installed package has a greater version than available package
Try to manually install the latest version from pkgsrc
:
~/.pkgsrc/lang/python310 $ doas make install clean clean-depends distclean
doas (dave@localhost.local) password:
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing binary package of python310-3.10.9
pkg_add: A different version of python310-3.10.9 is already installed: python310-3.10.6
pkg_add: 1 package addition failed
*** Error code 1
Stop.
make[2]: stopped in /home/dave/.pkgsrc/lang/python310
*** Error code 1
Stop.
make[1]: stopped in /home/dave/.pkgsrc/lang/python310
*** Error code 1
Stop.
make: stopped in /home/dave/.pkgsrc/lang/python310
I know I've lost a few brian cells over the past few weeks and perhaps I'm not thinking clearly but and help is much appreciated.
I'm on NetBSD HEAD v10.99.2