問題描述
無法在 WSL Ubuntu 18.04 上安裝 R Shiny Server (Cannot install R Shiny Server on WSL Ubuntu 18.04)
我無法在我的 WSL Ubuntu 18.04 LTS 上安裝 Shiny 服務器,運行此行後出現錯誤:wget https://download3.rstudio.org/ubuntu‑14.04/x86_64/shiny‑server‑1.5.9.923‑amd64.deb sudo gdebi shiny‑server‑1.5.9.923‑amd64.deb
這是我不斷收到的錯誤:
/var/lib/dpkg/info/shiny‑server.postinst: 97: /var/lib/dpkg/info/shiny‑server.postinst:initctl:未找到 /var/lib/dpkg/info/shiny‑server.postinst:99:/var/lib/dpkg/info/shiny‑server.postinst : initctl: not found
請幫忙。
嘗試將 /var/lib/dpkg/info/shiny‑server.postinst 中的 initctl 更改為 systemctl 但沒有幫助
p>我按照 R 閃亮服務器頁面上的說明進行操作
參考解法
方法 1:
This is working as of July,2020. No need to build from source.
wget https://download3.rstudio.org/ubuntu‑14.04/x86_64/shiny‑server‑1.5.14.948‑amd64.deb
sudo gdebi shiny‑server‑1.5.14.948‑amd64.deb