QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 689|回复: 2

APT的问题,请教!

[复制链接]
发表于 2005-3-2 11:06:09 | 显示全部楼层 |阅读模式
用APT出现这样的问题不知道怎么解决,本人英语水平烂,请教!

[root@scc ~]# apt-get install xmms
warning: cannot get exclusive lock on /var/lib/rpm/Packages
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  gcc-c++: Depends: libstdc++-devel (= 3.4.2) but it is not going to be installed
  gcc-g77: Depends: libf2c (= 3.4.2-6.fc3) but it is not going to be installed
  gcc-gnat: Depends: libgnat (= 3.4.2-6.fc3) but it is not going to be installed  glib2-devel: Depends: pkgconfig (>= 1:0. but it is not going to be installedW: There are multiple versions of "fontconfig" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^fontconfig$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
发表于 2005-3-2 11:44:02 | 显示全部楼层
执行一下 apt-get install -f 试试
回复

使用道具 举报

发表于 2005-3-2 14:11:51 | 显示全部楼层
如果你确认你机器正常连接到Internet的情况下检查一下source.list,看看里面的apt源有没有错误
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-14 08:50 , Processed in 0.038106 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表