Just as an example, the latest instance. This host was updated
December 12 2025 earlier using similar method ("pkgin fug"):
# pkgin up
processing remote summary (https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All)...
pkg_summary.bz2 100% 4222KB 603.2KB/s 00:07
# pkgin fug
5 packages to refresh:
exabgp-4.2.25 libuuid-2.40.2 pkg_install-20250417 py311-setuptools-80.9.0
readline-8.3nb1
5 packages to upgrade:
pkgin-25.10.0 python310-3.10.19 python311-3.11.14 python312-3.12.12
sqlite3-3.51.1
0 to remove, 5 to refresh, 5 to upgrade, 0 to install
67M to download, 651K of additional disk space will be used
proceed ? [Y/n] y
[1/10] exabgp-4.2.25.tgz 100% 837KB 837.0KB/s 00:01
[2/10] libuuid-2.40.2.tgz 100% 36KB 36.5KB/s 00:00
[3/10] pkg_install-20250417.tgz 100% 295KB 294.7KB/s 00:00
[4/10] pkgin-25.10.0.tgz 100% 69KB 69.1KB/s 00:00
[5/10] py311-setuptools-80.9.0.tgz 100% 1877KB 1.8MB/s 00:01
[6/10] python310-3.10.19.tgz 100% 18MB 2.2MB/s 00:08
[7/10] python311-3.11.14.tgz 100% 23MB 2.3MB/s 00:10
[8/10] python312-3.12.12.tgz 100% 23MB 2.8MB/s 00:08
[9/10] readline-8.3nb1.tgz 100% 352KB 352.3KB/s 00:00
[10/10] sqlite3-3.51.1.tgz 100% 1228KB 1.2MB/s 00:01
[1/10] refreshing pkg_install-20250417...
[2/10] upgrading sqlite3-3.51.1...
[3/10] refreshing libuuid-2.40.2...
[4/10] refreshing readline-8.3nb1...
[5/10] upgrading pkgin-25.10.0...
[6/10] upgrading python310-3.10.19...
[7/10] upgrading python311-3.11.14...
[8/10] upgrading python312-3.12.12...
[9/10] refreshing exabgp-4.2.25...
[10/10] refreshing py311-setuptools-80.9.0...
pkg_install warnings: 0, errors: 2
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
#
and the pkg_install-err.log has a slightly similar (but not
identical) entry seen earlier:
2026-01-23T11:42:39Z [9/10] refreshing exabgp-4.2.25...
pkg_add: no pkg found for 'python313>=3.13', sorry.
pkg_add: Can't install dependency python313>=3.13
pkg_add: exabgp-4.2.25: expected dependency python313>=3.13 still missing
pkg_add: 1 package addition failed
2026-01-23T11:42:39Z [10/10] refreshing py311-setuptools-80.9.0...
And ... this counts as two errors? But it is there in the repository:
# pkgin se python313
python313-3.13.11 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
#
However, at this point rebuilding the pkg db made the
installation of exabgp succeed without issues (whether the
rebuilds made any difference is anyone's guess at this point):
# pkg_admin rebuild
Stored 27401 files and 0 explicit directories from 64 packages in /usr/pkg/pkgdb/pkgdb.byfile.db.
Done.
# pkg_admin rebuild-tree
Done.
# pkgin in exabgp
calculating dependencies...done.
13 packages to refresh:
autoconf-2.72 automake-1.18 p5-Digest-BubbleBabble-0.02nb15
p5-Digest-HMAC-1.05nb2 p5-Digest-SHA1-2.13nb17 p5-IO-Socket-INET6-2.73nb4
p5-MIME-Base32-1.303nb9 p5-Net-DNS-1.53 p5-Net-DNS-SEC-1.26nb2
p5-Net-IP-1.26nb13 p5-Socket6-0.29nb7 p5-Unix-Syslog-1.1nb17 pkgdiff-1.12
1 package to upgrade:
perl-5.42.0nb1
3 packages to install:
exabgp-4.2.25 mpdecimal-4.0.1 python313-3.13.11
0 to remove, 13 to refresh, 1 to upgrade, 3 to install
37M to download, 161M of additional disk space will be used
...
But what can I do to help find out why it failed in the first
attempt?
exabgp now after installation says
# pkg_info exabgp
Information for exabgp-4.2.25:
Comment:
BGP swiss army knife
Requires:
perl>=5.0
python313>=3.13
So that part looks "correct".
But the log contains:
2026-01-23T11:46:57Z [1/17] installing mpdecimal-4.0.1...
2026-01-23T11:46:58Z [2/17] installing python313-3.13.11...
2026-01-23T11:47:01Z [3/17] upgrading perl-5.42.0nb1...
2026-01-23T11:47:05Z [4/17] refreshing p5-Socket6-0.29nb7...
2026-01-23T11:47:05Z [5/17] refreshing p5-IO-Socket-INET6-2.73nb4...
2026-01-23T11:47:06Z [6/17] installing exabgp-4.2.25...
2026-01-23T11:47:06Z [7/17] refreshing pkgdiff-1.12...
2026-01-23T11:47:06Z [8/17] refreshing p5-MIME-Base32-1.303nb9...
2026-01-23T11:47:07Z [9/17] refreshing p5-Net-DNS-SEC-1.26nb2...
2026-01-23T11:47:07Z [10/17] refreshing p5-Unix-Syslog-1.1nb17...
2026-01-23T11:47:07Z [11/17] refreshing automake-1.18...
2026-01-23T11:47:07Z [12/17] refreshing p5-Digest-SHA1-2.13nb17...
2026-01-23T11:47:08Z [13/17] refreshing autoconf-2.72...
2026-01-23T11:47:08Z [14/17] refreshing p5-Net-IP-1.26nb13...
2026-01-23T11:47:08Z [15/17] refreshing p5-Digest-HMAC-1.05nb2...
2026-01-23T11:47:09Z [16/17] refreshing p5-Digest-BubbleBabble-0.02nb15...
2026-01-23T11:47:09Z [17/17] refreshing p5-Net-DNS-1.53...
pkgin: Dependency mpdecimal>=4.0.0 of python313-3.13.11 unresolved
pkgin: Dependency python313>=3.13 of exabgp-4.2.25 unresolved
Why those two at the end? Certainly the two packages in question
have already been installed at that point?
# pkg_admin rebuild
Stored 34521 files and 1 explicit directory from 67 packages in /usr/pkg/pkgdb/pkgdb.byfile.db.
Done.
# pkg_admin rebuild-tree
Done.
#
succeeds at least after all this.
Regards,
- Havard