dpkg:在 16.04 中未找到命令

dpkg:在 16.04 中未找到命令

我该如何解决dpkg command not foundUbuntu 16.04 中的问题?

尝试1:

root@mine:~# sudo dpkg --configure -a
sudo: dpkg: command not found

尝试过 2

root@mine:~# dpkg --configure -a
The program 'dpkg' is currently not installed. You can install it by typing:
apt install dpkg

尝试过 3

root@mine:~# apt install dpkg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dpkg is already the newest version (1.18.4ubuntu1.2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 android-emulator : Depends: ubuntu-emulator-runtime but it is not installable
                    Depends: ubuntu-emulator-images but it is not installable
 wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu14.2) but it is not installable
           Recommends: ttf-mscorefonts-installer but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

相关内容