【发布时间】: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.
【问题讨论】:
-
更好ask Ubuntu。
标签: ubuntu vim installation dependencies package