Hi! It seems as pkgin has "$recently" (for a _very_ fluffy definition thereof - it could be _years_) started to automagically do a "full upgrade" as soon as you try to install/upgrade a single package.
How do I do to upgrade only a specific package and the ones it depends on, and not the entire shebang, while still maintaining "good order" in the pkgin databases? (In my experience, using pkg_add tends to break the latter. That, however, could be misguidance, a misunderstanding, or obsolete wisdom.) Example: on a NetBSD/amd64 10.0 system with lots of web stuff on it, I want to only upgrade pkg_install in preparation for a sysupgrade to NetBSD 10.1. This yields: > # pkgin install pkg_install > calculating dependencies...done. > libjpeg-turbo-3.1.1 (to be installed) conflicts with installed package > jpeg-9f. > proceed ? [y/N] y > > 14 packages to refresh: > apr-1.7.5 bash-5.2.37 brotli-1.1.0 fontconfig-2.15.0 freetype2-2.13.3 > graphite2-1.3.14nb3 jbigkit-2.1nb1 libevent-2.1.12nb2 libidn-1.42 > libidn2-2.3.7 lz4-1.10.0 popt-1.19 readline-8.2nb2 xmlcatmgr-2.2nb1 > > 91 packages to upgrade: > abseil-20250127.1 ap24-php74-7.4.33nb13 apache-2.4.65 apr-util-1.6.3nb8 > curl-8.14.1 fribidi-1.0.16 gd-2.3.3nb15 giflib-5.2.2nb1 git-2.50.1 > git-base-2.50.1 git-contrib-2.50.1 git-docs-2.50.1 git-perlscripts-2.50.1 > glib2-2.84.3 go-1.24.5 go122-1.22.12 harfbuzz-11.2.1 icu-77.1 libcbor-0.12.0 > libffi-3.4.8 libfido2-1.16.0 libimagequant-4.3.4 libuuid-2.40.2 > libwebp-1.5.0nb1 libxml2-2.14.4 libzip-1.11.4 mysql-client-8.0.40nb2 > mysql-server-8.0.40nb4 nghttp2-1.65.0nb1 p5-Authen-SASL-2.1800nb2 > p5-Capture-Tiny-0.50 p5-DBD-SQLite-1.76nb5 p5-DBI-1.647 > p5-Digest-HMAC-1.05nb1 p5-Email-Valid-1.204nb1 p5-Error-0.17030 > p5-GSSAPI-0.28nb17 p5-IO-CaptureOutput-1.1105nb5 p5-IO-Socket-INET6-2.73nb3 > p5-IO-Socket-SSL-2.091 p5-MailTools-2.22 p5-Mozilla-CA-20250602 > p5-Net-DNS-1.50 p5-Net-Domain-TLD-1.75nb8 p5-Net-IP-1.26nb12 > p5-Net-LibIDN-0.12nb16 p5-Net-SMTP-SSL-1.04nb8 p5-Net-SSLeay-1.94nb1 > p5-Socket6-0.29nb6 p5-TimeDate-2.33nb4 pcre2-10.45 perl-5.40.2nb1 > php74-curl-7.4.33nb24 php74-gd-7.4.33nb11 php74-zip-7.4.33nb18 > pkg_install-20250417 pkgin-25.5.1 png-1.6.49 protobuf-29.4 > py312-OpenSSL-25.1.0 py312-Socks-1.7.1nb2 py312-acme-4.1.1 > py312-brotli-1.1.0nb1 py312-brotlicffi-1.1.0.0nb1 py312-certbot-4.1.1 > py312-certifi-2025.6.15 py312-cffi-1.17.1nb1 py312-charset-normalizer-3.4.2 > py312-configargparse-1.7.1 py312-configobj-5.0.9nb2 py312-cparser-2.22nb2 > py312-cryptography-45.0.4 py312-distro-1.9.0nb1 py312-idna-3.10nb1 > py312-josepy-2.0.0 py312-parsedatetime-2.6nb2 py312-pytz-2025.2nb1 > py312-requests-2.32.4 py312-rfc3339-2.0.1nb2 py312-setuptools-80.9.0 > py312-six-1.17.0 py312-urllib3-2.5.0 py312-zstandard-0.23.0nb2 > python311-3.11.13 python312-3.12.11 raqm-0.10.2 rsync-3.4.1 sqlite3-3.49.2 > tiff-4.7.0nb1 xxhash-0.8.3 zstd-1.5.7 > > 5 packages to install: > go124-1.24.5 libjpeg-turbo-3.1.1 p5-Crypt-URandom-0.54 php74-7.4.33nb5 > py312-typing-extensions-4.14.0 > > 0 to remove, 14 to refresh, 91 to upgrade, 5 to install > 319M to download, 345M of additional disk space will be used > > proceed ? [Y/n] ... and I simply refuse to believe that pkg_install is in any way related to jpeg stuff, nor to 98 % of the other packages. 🙂 Humbly grateful for some clue. Best regards, /Liman