yesl 发表于 2005-3-2 11:06:09

APT的问题,请教!

用APT出现这样的问题不知道怎么解决,本人英语水平烂,请教!

# 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 installedglib2-devel: Depends: pkgconfig (>= 1:0.8) 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).

king-yjw 发表于 2005-3-2 11:44:02

执行一下 apt-get install -f 试试

77587758 发表于 2005-3-2 14:11:51

如果你确认你机器正常连接到Internet的情况下检查一下source.list,看看里面的apt源有没有错误
页: [1]
查看完整版本: APT的问题,请教!