om 15.0p11 to 15.1p1... [267/284] Extracting FreeBSD-utilities-15.1p1: 100% [268/284] Upgrading FreeBSD-rcmds from 15.0p9 to 15.1... [268/284] Extracting FreeBSD-rcmds-15.1: 100% [269/284] Upgrading FreeBSD-rcmds-dbg from 15.0p9 to 15.1... [269/284] Extracting FreeBSD-rcmds-dbg-15.1: 100% [270/284] Upgrading FreeBSD-utilities-dbg from 15.0p11 to 15.1p1... [270/284] Extracting FreeBSD-utilities-dbg-15.1p1: 100% [271/284] Upgrading FreeBSD-utilities-dev from 15.0p11 to 15.1p1... [271/284] Extracting FreeBSD-utilities-dev-15.1p1: 100% [272/284] Upgrading FreeBSD-vi from 15.0 to 15.1... [272/284] Extracting FreeBSD-vi-15.1: 100% [273/284] Upgrading FreeBSD-vi-dbg from 15.0 to 15.1... [273/284] Extracting FreeBSD-vi-dbg-15.1: 100% [274/284] Upgrading FreeBSD-vt-data from 15.0 to 15.1... [274/284] Extracting FreeBSD-vt-data-15.1: 100% [275/284] Upgrading FreeBSD-wpa from 15.0p10 to 15.1... [275/284] Extracting FreeBSD-wpa-15.1: 100% [276/284] Upgrading FreeBSD-wpa-dbg from 15.0p10 to 15.1... [276/284] Extracting FreeBSD-wpa-dbg-15.1: 100% [277/284] Upgrading FreeBSD-yp from 15.0 to 15.1... [277/284] Extracting FreeBSD-yp-15.1: 100% [278/284] Upgrading FreeBSD-yp-dbg from 15.0 to 15.1... [278/284] Extracting FreeBSD-yp-dbg-15.1: 100% [279/284] Upgrading FreeBSD-zfs from 15.0p10 to 15.1... [279/284] Extracting FreeBSD-zfs-15.1: 100% [280/284] Upgrading FreeBSD-zfs-dbg from 15.0p11 to 15.1p1... [280/284] Extracting FreeBSD-zfs-dbg-15.1p1: 100% [281/284] Upgrading FreeBSD-zfs-dev from 15.0p11 to 15.1p1... [281/284] Extracting FreeBSD-zfs-dev-15.1p1: 100% [282/284] Upgrading FreeBSD-zfs-lib from 15.0p11 to 15.1p1... [282/284] Extracting FreeBSD-zfs-lib-15.1p1: 100% [283/284] Upgrading FreeBSD-zlib from 15.0 to 15.1... [283/284] Extracting FreeBSD-zlib-15.1: 100% [284/284] Upgrading FreeBSD-zoneinfo from 15.0p7 to 15.1... [284/284] Extracting FreeBSD-zoneinfo-15.1: 100% ==> Running trigger: mandoc.ucl Generating apropos(1) database for /usr/share/man... Generating apropos(1) database for /usr/share/openssl/man... At that stage pkg(8) was unusable: # pkg info | grep pam ld-elf.so.1: Shared object "libprivatezstd.so.5" not found, required by "libarchive.so.7" # pkg search -r FreeBSD-base pam ld-elf.so.1: Shared object "libprivatezstd.so.5" not found, required by "libarchive.so.7" Fortunatelly pkg-static(8) worked. # pkg-static search -r FreeBSD-base pam FreeBSD-pam-15.1 Modular user authentication facility FreeBSD-pam-dbg-15.1 Modular user authentication facility (debugging symbols) FreeBSD-pam-dbg-lib32-15.1 Modular user authentication facility (32-bit debugging symbols) FreeBSD-pam-dev-15.1 Modular user authentication facility (development files) FreeBSD-pam-dev-lib32-15.1 Modular user authentication facility (32-bit development files) FreeBSD-pam-lib-15.1 Modular user authentication facility (libraries) FreeBSD-pam-lib32-15.1 Modular user authentication facility (32-bit libraries) So I installed the PKGBASE PAM packages again. # pkg-static install FreeBSD-pam-15.1 FreeBSD-pam-dev-15.1 FreeBSD-pam-lib-15.1 Updating FreeBSD-ports repository catalogue... FreeBSD-ports repository is up to date. Updating FreeBSD-ports-kmods repository catalogue... pkg-static: Repository FreeBSD-ports-kmods has a wrong packagesite, need to re-create database Fetching meta.conf: 100% 179 B 0.2 kB/s 00:01 Fetching data: 100% 35 KiB 36.0 kB/s 00:01 Processing entries: 100% FreeBSD-ports-kmods repository update completed. 240 packages processed. Updating FreeBSD-base repository catalogue... FreeBSD-base repository is up to date. All repositories are up to date. The following 4 package(s) will be affected (of 0 checked): New packages to be INSTALLED: FreeBSD-pam: 15.1 [FreeBSD-base] FreeBSD-pam-dev: 15.1 [FreeBSD-base] FreeBSD-pam-lib: 15.1 [FreeBSD-base] FreeBSD-zstd-lib: 15.1 [FreeBSD-base] Number of packages to be installed: 4 The process will require 2 MiB more space. 741 KiB to be downloaded. Proceed with this action? [y/N]: y [1/4] Fetching FreeBSD-zstd-lib-15.1: 100% 263 KiB 269.3 kB/s 00:01 [2/4] Fetching FreeBSD-pam-15.1: 100% 91 KiB 93.3 kB/s 00:01 [3/4] Fetching FreeBSD-pam-lib-15.1: 100% 21 KiB 21.7 kB/s 00:01 [4/4] Fetching FreeBSD-pam-dev-15.1: 100% 366 KiB 374.4 kB/s 00:01 Checking integrity... done (0 conflicting) [1/4] Installing FreeBSD-pam-15.1... [1/4] Extracting FreeBSD-pam-15.1: 100% [2/4] Installing FreeBSD-pam-dev-15.1... [2/4] Extracting FreeBSD-pam-dev-15.1: 100% [3/4] Installing FreeBSD-pam-lib-15.1... [3/4] Extracting FreeBSD-pam-lib-15.1: 100% [4/4] Installing FreeBSD-zstd-lib-15.1... [4/4] Extracting FreeBSD-zstd-lib-15.1: 100% ==> Running trigger: mandoc.ucl Generating apropos(1) database for /usr/share/man... Generating apropos(1) database for /usr/share/openssl/man... ... and everything went back to a working state - even also after reboot. # pkg pkg: not enough arguments Usage: pkg [-v] [-d] [-l] [-N] [-j |-c |-r ] [-C ] [-R ] [-o var=value] [-4|-6] < command> [] For more information on available commands and options see 'pkg help'. I am sharing that so it can save time other unlucky ones. Regards, vermaden