I just ran a selective pkg upgrade as follows, which installed compat7x-amd64 for no obvious reason: $ pkg upgrade python36 clamav wget openjpeg Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 8 package(s) will be affected (of 0 checked): New packages to be INSTALLED: compat7x-amd64: 7.4.704000.201310.1 Installed packages to be UPGRADED: python36: 3.6.8 -> 3.6.8_2 clamav: 0.101.1,1 -> 0.101.2,1 wget: 1.20_2 -> 1.20.3 openjpeg: 2.3.0_3 -> 2.3.1 readline: 7.0.5 -> 8.0.0 curl: 7.64.0_1 -> 7.64.1_1 pcre2: 10.32 -> 10.32_1 Number of packages to be installed: 1 Number of packages to be upgraded: 7 The process will require 17 MiB more space. 25 MiB to be downloaded. None of the installed packages depend on compat7x-amd64 and I was able to pkg remove it afterwards without any sign of dependencies: $ pkg remove compat7x-amd64 Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: compat7x-amd64-7.4.704000.201310.1 Number of packages to be removed: 1 The operation will free 17 MiB. I am running 11.2-RELEASE-p5 with pkg-1.10.5_5 configured to use pkg+http://pkg.FreeBSD.org/${ABI}/latest.
Hmm, now various commands (e.g. ipmitool) give: $ ipmitool Shared object "libreadline.so.7" not found, required by "ipmitool" and pkg check -d shows: $ pkg check -d Checking all packages: 100% gdb is missing a required shared library: libreadline.so.7 gdbm is missing a required shared library: libreadline.so.7 gnupg is missing a required shared library: libreadline.so.7 gnupg1 is missing a required shared library: libreadline.so.7 hunspell is missing a required shared library: libreadline.so.7 ipmitool is missing a required shared library: libreadline.so.7 mailutils is missing a required shared library: libreadline.so.7 postgresql94-client is missing a required shared library: libreadline.so.7 python27 is missing a required shared library: libreadline.so.7 samba46 is missing a required shared library: libreadline.so.7 spidermonkey52 is missing a required shared library: libreadline.so.7 sqlite3 is missing a required shared library: libreadline.so.7 I upgraded all packages to fix this.
see https://github.com/freebsd/pkg/issues/1753