【Q&A】Unable to correct problems, you have held broken packages

Unable to correct problems, you have held broken packages

  • 在Ubuntu20.04虚拟机上安装vim时报错,“vim : Depends: vim-common (= 2:8.1.0875-5ubuntu2.1) but 2:8.1.2269-1ubuntu5 is to be installed”
  • 解决办法

在Ubuntu20.04虚拟机上安装vim时报错,“vim : Depends: vim-common (= 2:8.1.0875-5ubuntu2.1) but 2:8.1.2269-1ubuntu5 is to be installed”

【Q&A】Unable to correct problems, you have held broken packages_第1张图片

解决办法

sudo apt-get purge vim-common

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install vim

问题解决

你可能感兴趣的:(Q&A)