无法安装任何东西-以下软件包具有未满足的依赖关系

无法安装任何东西-以下软件包具有未满足的依赖关系

我尝试通过包管理器安装的几乎所有东西都会得到以下结果:

root@opsview-appliance:/etc/apt/sources.list.d# apt-get install make
  Reading package lists... Done 
  Building dependency tree 
  Reading state information... Done 
  make is already the newest version. 
  You might want to run 'apt-get -f install' to correct these: 
  The following packages have unmet dependencies.  
    linux-image-virtual : Depends: linux-image-3.13.0-106-generic but it is not going to be installed 
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

即使使用 -f ,结果也大同小异:

root@opsview-appliance:/etc/apt/sources.list.d# apt-get -f install make 
  Reading package lists... Done 
  Building dependency tree 
  Reading state information... Done 
  make is already the newest version. 
  You might want to run 'apt-get -f install' to correct these: 
  The following packages have unmet dependencies.  
    linux-image-virtual : Depends: linux-image-3.13.0-106-generic but it is not going to be installed 
  E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

答案1

不管你信不信,这就是解决问题的方法:

apt-get install linux-image-3.13.0-106-generic

我应该提到,我还必须扩展 /boot 分区,因为如果没有它,我就无法安装任何东西。

相关内容