vim-gtk3 和 vim-athena 无法在 Ubuntu 22.04 上安装

vim-gtk3 和 vim-athena 无法在 Ubuntu 22.04 上安装

我尝试在 Ubuntu 22.04 上安装带有 GUI 的 Vim,但失败了。运行sudo apt install vim-gtk3或时出现以下错误sudo apt install vim-athena。似乎两个包都需要使用更新的先决条件重建。

$ sudo apt install vim-gtk3

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

 vim-gtk3 : Depends: vim-common (= 2:8.2.3995-1ubuntu2.1) but 2:8.2.3995-1ubuntu2.2 is to be installed

            Depends: vim-runtime (= 2:8.2.3995-1ubuntu2.1) but 2:8.2.3995-1ubuntu2.2 is to be installed

E: Unable to correct problems, you have held broken packages.

$ sudo apt install vim-athena

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

 vim-athena : Depends: vim-common (= 2:8.2.3995-1ubuntu2.1) but 2:8.2.3995-1ubuntu2.2 is to be installed

              Depends: vim-runtime (= 2:8.2.3995-1ubuntu2.1) but 2:8.2.3995-1ubuntu2.2 is to be installed

E: Unable to correct problems, you have held broken packages.

相关内容