QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1412|回复: 20

使用apt-get得到如下信息不知如何处理

[复制链接]
发表于 2004-10-24 16:48:18 | 显示全部楼层 |阅读模式
各位,我用apt-get update之后得到了如下错误信息,不知道怎么办,请问如何解决?
好像是说我有一些软件装重复了,但是我想删除的时候又出现问题,说某些软件需要使用。清各位看一下教我一下,谢谢!

Reading Package Lists... Done
Building Dependency Tree... Done
W: Release files for some repositories could not be retrieved or authenticated. Such repositories are being ignored.
W: There are multiple versions of "gpg-pubkey" 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 { "^gpg-pubkey$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "freetype-devel" 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 { "^freetype-devel$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "libselinux" 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 { "^libselinux$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "qt-devel" 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 { "^qt-devel$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "fontconfig-devel" 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-devel$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";
W: There are multiple versions of "freetype-demos" 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 { "^freetype-demos$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "freetype-utils" 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 { "^freetype-utils$"; };

To disable these warnings completely set:

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

W: 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: There are multiple versions of "freetype" 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 { "^freetype$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "qt-designer" 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 { "^qt-designer$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "libXft" 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 { "^libXft$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "qt" 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 { "^qt$"; };

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: Some index files failed to download, they have been ignored, or old ones used instead.
发表于 2004-10-24 17:38:45 | 显示全部楼层
请等等,我想想是什么回事,并请了debian区的版主linky_fan看看,可能过会就有结果了。
回复

使用道具 举报

发表于 2004-10-24 17:42:44 | 显示全部楼层
有多个版本"gpg-pubkey",删除其他.
回复

使用道具 举报

 楼主| 发表于 2004-10-24 17:45:41 | 显示全部楼层
可是他还说有多个freetype等。我用rpm -qa查的确有,但是rpm -e删除任何一个Freetype或者Fontconfig等(大都是一个firefly一个linuxsir的,当初可能没搞好),都会报错说有文件依赖该运行库~请问怎么办。
回复

使用道具 举报

发表于 2004-10-24 17:57:41 | 显示全部楼层
这些"美化包"确实会添麻烦,看样子重装系统很实在   
回复

使用道具 举报

发表于 2004-10-24 18:02:51 | 显示全部楼层
加 --force 强制删除。
回复

使用道具 举报

 楼主| 发表于 2004-10-24 18:03:57 | 显示全部楼层
老大……介个……狠了点儿吧……
回复

使用道具 举报

 楼主| 发表于 2004-10-24 18:10:08 | 显示全部楼层
删除的时候好像没有force的?只有U和i的时候可以用?
回复

使用道具 举报

发表于 2004-10-24 18:10:08 | 显示全部楼层
没有办法的办法.
回复

使用道具 举报

发表于 2004-10-24 22:46:13 | 显示全部楼层
呵呵,是你用了非官方的apt源了吧,还有既然用了apt了还要rpm干嘛?gpg-pubkey是gpg的公钥,查一下你的key,应该有几个,删掉非官方的那几个就可以了.

今天陪mm去买电脑,一买就两台,还得耐心指导,真是@$%#&&%&.
回复

使用道具 举报

 楼主| 发表于 2004-10-24 22:56:47 | 显示全部楼层
3q,等会儿研究一下~嘿嘿。
回复

使用道具 举报

 楼主| 发表于 2004-10-25 15:09:10 | 显示全部楼层
请问如何解决呢?如下:
# rpm -qa gpg-pubkey
gpg-pubkey-a109b1ec-3f6e28d5
gpg-pubkey-8df56d05-3e828977
gpg-pubkey-a109b1ec-3f6e28d5
gpg-pubkey-4f2a6fd2-3f9d9d3b
gpg-pubkey-a109b1ec-3f6e28d5
gpg-pubkey-8df56d05-3e828977
gpg-pubkey-e42d547b-3960bdf1
gpg-pubkey-db42a60e-37ea5438


# rpm -e gpg-pubkey
error: "gpg-pubkey" specifies multiple packages
回复

使用道具 举报

发表于 2004-10-25 15:28:54 | 显示全部楼层
要写全的,比如rpm  -e  gpg-pubkey-db42a60e-37ea5438
回复

使用道具 举报

 楼主| 发表于 2004-10-27 03:18:36 | 显示全部楼层
怎么半,gpg是给擦光了,但是还说有freetype等不少文件重复啊~~

W: There are multiple versions of "freetype-devel" 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 { "^freetype-devel$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "libselinux" 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 { "^libselinux$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "qt-devel" 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 { "^qt-devel$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "fontconfig-devel" 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-devel$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";
W: There are multiple versions of "freetype-demos" 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 { "^freetype-demos$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "freetype-utils" 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 { "^freetype-utils$"; };

To disable these warnings completely set:

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

W: 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: There are multiple versions of "freetype" 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 { "^freetype$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "qt-designer" 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 { "^qt-designer$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "libXft" 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 { "^libXft$"; };

To disable these warnings completely set:

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

W: There are multiple versions of "qt" 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 { "^qt$"; };

To disable these warnings completely set:

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

W: You may want to run apt-get update to correct these problems
回复

使用道具 举报

 楼主| 发表于 2004-10-27 03:32:10 | 显示全部楼层
懂了一层一层删光~
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-14 22:15 , Processed in 0.060328 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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