当我尝试运行 sudo apt-get upgrade 时出现以下错误:
root@FDPM:~# sudo apt upgrade
sudo: unable to resolve host FDPM: Name or service not known
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libpam-modules : PreDepends: libpam-modules-bin (= 1.3.1-5ubuntu4.6)
Recommends: update-motd but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
这导致我无法升级。有人知道如何调试吗?