我把 /etc下的X11和/lib下的X11目录删除后,安装任何包都出现错误?怎么解决?
时间:2003-08-21
来源:互联网
例如我想安装 vim(安装其他的包一样):
debian:/var/cache# apt-get install vim
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
vim: Depends: libc6 (>= 2.3.1-1) but 2.2.5-6 is to be installed
Depends: libncurses5 (>= 5.3.20021109-1) but 5.2.20020112a-7 is to be installed
xbase-clients: Depends: libfontconfig1 (>= 2.1) but it is not going to be installed
Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
Depends: libpng12-0 but it is not going to be installed
Depends: libxft2 (>= 2.1) but it is not going to be installed
xdm: Depends: debconf (> 1.2.9) but 1.0.32 is to be installed
xfree86-common: Depends: debconf (>= 1.2.9) but 1.0.32 is to be installed
xlibs: Depends: libfontconfig1 (>= 2.1) but it is not going to be installed
Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
xmh: Depends: nmh but it is not going to be installed or
mh
xnest: Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
xprt: Depends: xprt-common but it is not going to be installed
Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
xserver-xfree86-dbg: Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
xterm: Depends: libfontconfig1 (>= 2.1) but it is not going to be installed
Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
Depends: libxft2 (>= 2.1) but it is not going to be installed
xvfb: Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
debian:/var/cache#
debian:/var/cache# apt-get install vim
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
vim: Depends: libc6 (>= 2.3.1-1) but 2.2.5-6 is to be installed
Depends: libncurses5 (>= 5.3.20021109-1) but 5.2.20020112a-7 is to be installed
xbase-clients: Depends: libfontconfig1 (>= 2.1) but it is not going to be installed
Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
Depends: libpng12-0 but it is not going to be installed
Depends: libxft2 (>= 2.1) but it is not going to be installed
xdm: Depends: debconf (> 1.2.9) but 1.0.32 is to be installed
xfree86-common: Depends: debconf (>= 1.2.9) but 1.0.32 is to be installed
xlibs: Depends: libfontconfig1 (>= 2.1) but it is not going to be installed
Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
xmh: Depends: nmh but it is not going to be installed or
mh
xnest: Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
xprt: Depends: xprt-common but it is not going to be installed
Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
xserver-xfree86-dbg: Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
xterm: Depends: libfontconfig1 (>= 2.1) but it is not going to be installed
Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
Depends: libxft2 (>= 2.1) but it is not going to be installed
xvfb: Depends: libfreetype6 (>= 2.1.3-5) but 2.0.9-1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
debian:/var/cache#
作者: chhts 发布时间: 2003-08-21
apt-get -f install
作者: FKtPp 发布时间: 2003-08-21
er... 重装X吧.....
作者: carlos 发布时间: 2003-08-21
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28