【问题标题】:Ubuntu 16.04 64bit unable to install vim, libsqlite3-devUbuntu 16.04 64bit 无法安装 vim、libsqlite3-dev
【发布时间】:2017-03-06 23:49:15
【问题描述】:

我正在尝试安装 vim 和 libsqlite3-dev,但我总是收到一条消息,提示 无法安装某些软件包,我找不到修复它的方法。我已经尝试了以下命令,但仍然没有舔。

apt-get upgrade
apt-get update
apt-get update --fix-missing

任何帮助将不胜感激。谢谢!

安装 Vim

:~# apt-get install vim
Reading package lists... Done
Building dependency tree       
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 : Depends: vim-common (= 2:7.4.963-1ubuntu4) but 2:7.4.1689-3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

尝试命令 vim 时会显示

:~# vim
The program 'vim' can be found in the following packages:
 * vim
 * vim-gnome
 * vim-tiny
 * vim-athena
 * vim-athena-py2
 * vim-gnome-py2
 * vim-gtk
 * vim-gtk-py2
 * vim-gtk3
 * vim-gtk3-py2
 * vim-nox
 * vim-nox-py2

安装 libsqlite3-dev

:~# apt-get install -y libsqlite3-dev ruby2.3-dev
Reading package lists... Done
Building dependency tree       
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:
 libsqlite3-dev : Depends: libsqlite3-0 (= 3.10.2-1) but 3.11.0-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

【问题讨论】:

标签: ubuntu vim installation dependencies package


【解决方案1】:

在我进行发行版升级然后重新启动计算机后,问题似乎已解决。之后我就可以安装 vim 等了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-12-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-10
    • 2018-06-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多