- 1. 概要
- 2. 調査
1. 概要
実機に、「ollama」(「AI - FreeBSD」参照)をインストールしようとしたのです。
現在(2026年10月27日)、「ports」は、「make」が通らないので、「pkg」でインストールしようとしましたらば・・・。
pkg install -f ollama
すると。
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
・・・ 略 ・・・
Updating database digests format: 100%
The following 48 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
ja-libgd: 2.3.3_13,1 [FreeBSD-ports]
libXfont2: 2.0.9 [FreeBSD-ports]
・・・ 略 ・・・
xkbcomp: 1.5.0 [FreeBSD-ports]
xorg-server: 21.1.25,1 [FreeBSD-ports]
Installed packages to be REINSTALLED:
boehm-gc-8.2.10 [FreeBSD-ports] (ABI changed: 'FreeBSD:14:amd64' -> 'FreeBSD:15:amd64')
dbus-1.16.2_4,1 [FreeBSD-ports] (ABI changed: 'FreeBSD:14:amd64' -> 'FreeBSD:15:amd64')
・・・ 略 ・・・
tex-kpathsea-6.4.1 [FreeBSD-ports] (ABI changed: 'FreeBSD:14:amd64' -> 'FreeBSD:15:amd64')
tex-ptexenc-1.5.1 [FreeBSD-ports] (ABI changed: 'FreeBSD:14:amd64' -> 'FreeBSD:15:amd64')
Number of packages to be installed: 12
Number of packages to be reinstalled: 36
The process will require 532 MiB more space.
118 MiB to be downloaded.
WARNING: 1 package(s) have known vulnerabilities
Proceed with this action? [y/N]:
新規インストールの 12 本は、ええわいな。
再インストールの 36 本は、なんじゃいな?
2. 調査
調査というか、「Gemini」伍長に尋ねただけですけどね。
どうも以前、「FreeBSD 14」から「FreeBSD 15」にアップグレードした際に。
「ABI(Application Binary Interface)」が、「FreeBSD:14:amd64」のまま、残っているようです。
「ports」が更新されなければ、「make」「make reinstall」してないからですね。
このままでは、うまく動作しない可能性もあるわけです。
でまぁ、これらを「make」「make reinstall」する必要があるわけだ。
まとめて、反映するには。
env BATCH=yes portupgrade -af
もしくは。
portmaster -af
を実行することになるのですが。
数時間では、すまないかもしれない・・・。
「FreeBSD:14:amd64」の「ABI」を「FreeBSD:15:amd64」にまとめてアップグレードすべぇというのが、本章の主題。
数時間かかるのをどうすべぇ、というのが、本章の副題になります。
|
|