dpkg: error processing package openssh-server (–configure):installed openssh-server package post-installation script subprocess returned error exit status 10 Posted on 2024-07-022024-07-02 在 ubuntu 的機器上,執行 apt upgrade 失敗,錯誤訊息: 解法: mv /var/lib/dpkg/info /var/lib/dpkg/info_old mkdir /var/lib/dpkg/info apt update apt upgrade 成功 upgrade 截圖: