在 Ubuntu 上安装 imagemagick:未满足的依赖项

在 Ubuntu 上安装 imagemagick:未满足的依赖项

在 Ubuntu 16.04 上我使用:

$ sudo apt-get install imagemagick

安装 imagemagick。但是我收到以下消息,并且 imagemagick 未安装:

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:  
imagemagick : Depends: imagemagick-6.q16 (= 8:6.8.9.9-7ubuntu5.13)  
linux-image-extra-4.4.0-138-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed  
linux-image-generic : Depends: linux-image-4.4.0-138-generic but it is not going to be installed
                           Recommends: thermald but it is not going to be installed 
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

也许我应该apt-get -f install按照建议的方式运行。这在生产系统上安全吗?

相关内容