Today I upgraded from FreeBSD 13.3 to 14.1. The upgrade is finished:
I did the required steps but now pkg seems to be corrupted.
Some of the software is not working, for example this:
So I tried the advice found here:
forums.freebsd.org
But running
results in this "abort trap" error:
So I tried the advice in this discussion:
forums.freebsd.org
But things are still not working.
I cannot use
At the end of the following, I also got the error "pkg: Package database is busy while closing!", which has also come up a few times.
I seem to have libcrypto.so.30 on my system in /lib.
I upgraded all the packages before the install of the new release of FreeBSD 14.1
Code:
$ uname -a
FreeBSD mikan 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC i386
I did the required steps but now pkg seems to be corrupted.
Some of the software is not working, for example this:
Code:
# service apache24 start
Performing sanity check on apache24 configuration:
ld-elf.so.1: Shared object "libssl.so.111" not found, required by "libdb-18.1.so"
Starting apache24.
ld-elf.so.1: Shared object "libssl.so.111" not found, required by "libdb-18.1.so"
/usr/local/etc/rc.d/apache24: WARNING: failed to start apache24
#
So I tried the advice found here:

Solved - pkg not working - ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg"
#uname -a FreeBSD 12.0-BETA1 FreeBSD 12.0-BETA1 r339435 GENERIC amd64 I have got a size mismatch error with pkg and did a "IGNORE_OSVERSION=yes pkg-static update -f", which did not solve this error. pkg was not working: ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg"...
But running
pkg upgrade
results in this "abort trap" error:
Code:
# pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
Checking for upgrades (824 candidates): 100%
Processing candidates (824 candidates): 100%
Checking integrity...Child process pid=1615 terminated abnormally: Abort trap
So I tried the advice in this discussion:

pkg-static upgrade -f pkg fails with Abort trap
Hi, after running FreeBSD-update install (to get to 12.1-RELEASE), then running pkg-static upgrade -f pkg fails.... Running "pkg bootstrap -f" recommended Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (488...
Code:
# pkg-static update -f
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100% 178 B 0.2kB/s 00:01
Fetching data.pkg: 100% 7 MiB 7.2MB/s 00:01
Processing entries: 100%
FreeBSD repository update completed. 34414 packages processed.
All repositories are up to date.
But things are still not working.
I cannot use
pkg bootstrap -f
due to the following error:
Code:
# pkg bootstrap -f
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:14:i386/latest, please wait...
Installing pkg-1.21.3...
package pkg is already installed, forced install
Extracting pkg-1.21.3: 100%
pkg-static: Package database is busy while closing!
pkg check -B --all
pours out line upon line of errors about the missing libraries:
Code:
(bind-tools-9.20.2) /usr/local/bin/nslookup - required shared library libssl.so.111 not found
(bind-tools-9.20.2) /usr/local/bin/nslookup - required shared library libcrypto.so.111 not found
(bind-tools-9.20.2) /usr/local/bin/nsupdate - required shared library libssl.so.111 not found
(bind-tools-9.20.2) /usr/local/bin/nsupdate - required shared library libcrypto.so.111 not found
At the end of the following, I also got the error "pkg: Package database is busy while closing!", which has also come up a few times.
I seem to have libcrypto.so.30 on my system in /lib.
I upgraded all the packages before the install of the new release of FreeBSD 14.1