Jump to...
redirecting...

Log for Ubuntu 台灣社群

我以爲你就直接把 PREFIX (你上面講的 "DIR" ) 改成 /usr 就可以了
除非你 luajit 是手動 compile 後 sudo make install 過去的,不然思維就是發行版安裝套件設定的 PREFIX 就只會是 /usr 這個路徑,除非是牽涉到第三方(ppa)或是其他專案自行提供的套件源,才有可能把 PREFIX 設成 /opt/<專案名> 或是 /usr/local 等等客製化的路徑
那個是指定 luajit 軟體的安裝前綴,不適 luijit 可執行檔的路徑
如果是作業系統散佈版提供的軟體則為 /usr
花生省魔術了...
W: GPG error: http://free.nchc.org.tw/ubuntu focal InRelease: Couldn't create temporary file /tmp/apt.conf.JGIPqT for passing config to apt-key
E: The repository 'http://free.nchc.org.tw/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://free.nchc.org.tw/ubuntu focal-updates InRelease: Couldn't create temporary file /tmp/apt.conf.xX4HDY for passing config to apt-key
你的 /tmp 好像怪怪的
是不是塞太多東西空間用完了?
似乎是, reboot 就好了
tmpfs 預設只會用一定比例的主記憶體空間,可透過掛載選項調整
不過 Ubuntu 預設沒把 tmpfs 掛在 /tmp 所以是佔用根目錄檔案系統的空間
有點詭異 我rootfs 還有八百多機
mount | grep tmp 結果貼上來