Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

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 <jail name or id>|-c <chroot path>|-r <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] [-4|-6] <
command> [<args>]

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






home | help