CONTENTS
Lastmodified 2023-09-25 (月) 08:34:46
# pkg autoremove Updating database digests format: 100%
ここで、STOP。 ps -aux でみると、cpu 100% となっている。
でいろいろ調べて https://forum.netgate.com/topic/181228/pfsense-2-6-0-ld-elf-so-1-lib-libc-so-7-version-fbsd_1-7-required-by-usr-local-sbin-pkg-not-found/8 などを見た後、 pkg bootstrap -f してみる。
# 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:13:amd64/quarterly, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.19.2... package pkg is already installed, forced install Extracting pkg-1.19.2: 100%
で、もう一度、pkg autoremove してみたところ、
root@blackcube2:~ # pkg autoremove Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 265 packages: Installed packages to be REMOVED: ImageMagick7: 7.1.0.62_6 Imath: 3.1.9 aom: 3.7.0 asciidoc: 10.2.0_2 autoconf: 2.71 autoconf-switch: 20220527 automake: 1.16.5 avahi-app: 0.8_1 bash-completion: 2.11_2,2 : : : xtrans: 1.4.0_1 xxd: 9.0.1876 yelp-tools: 42.0 yelp-xsl: 42.0 zziplib: 0.13.72_1 Number of packages to be removed: 265 The operation will free 5 GiB. Proceed with deinstalling packages? [y/N]: y
と正常動作した。全部削除すると、
[1/265] Deinstalling php81-pecl-imagick-3.7.0_2... [1/265] Deleting files for php81-pecl-imagick-3.7.0_2: 100% [2/265] Deinstalling tex-formats-20230313... [2/265] Deleting files for tex-formats-20230313: 100% [3/265] Deinstalling ImageMagick7-7.1.0.62_6... : : : [265/265] Deinstalling autoconf-switch-20220527... [265/265] Deleting files for autoconf-switch-20220527: 100% Removing gdk-pixbuf cache directory Running fc-cache to build fontconfig cache... pkg: sqlite error while executing VACUUM; in file pkgdb.c:2333: cannot VACUUM - SQL statements in progress
こんな風になりました。
Total access 271:本日 2:昨日 3