无法在 AWS 服务器上安装 make

无法在 AWS 服务器上安装 make

我正在尝试安装make,但收到错误:

root@myname:/home/ubuntu/GraphicsMagick-1.3.26# apt-get install make
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-headers-generic : Depends: linux-headers-4.4.0-96-generic but it 
is not going to be installed
linux-image-virtual : Depends: linux-image-4.4.0-96-generic but it is 
not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or 
specify a solution).

在尝试上述步骤之前,我尝试了这个:

root@myname:/home/ubuntu/GraphicsMagick-1.3.26# make
The program 'make' can be found in the following packages:
 * make
 * make-guile
Try: apt install <selected package>

根据该消息,我认为它make没有安装,因此引导我到这里。

相关内容