使用apt-get得到如下信息不知如何处理
各位,我用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. :P 请等等,我想想是什么回事,并请了debian区的版主linky_fan看看,可能过会就有结果了。 有多个版本"gpg-pubkey",删除其他. 可是他还说有多个freetype等。我用rpm -qa查的确有,但是rpm -e删除任何一个Freetype或者Fontconfig等(大都是一个firefly一个linuxsir的,当初可能没搞好),都会报错说有文件依赖该运行库~请问怎么办。 这些"美化包"确实会添麻烦,看样子重装系统很实在 :mrgreen::mrgreen: 加 --force 强制删除。 :x 老大……介个……狠了点儿吧…… 删除的时候好像没有force的?只有U和i的时候可以用? 没有办法的办法. 呵呵,是你用了非官方的apt源了吧,还有既然用了apt了还要rpm干嘛?gpg-pubkey是gpg的公钥,查一下你的key,应该有几个,删掉非官方的那几个就可以了.
今天陪mm去买电脑,一买就两台,还得耐心指导,真是@$%#&&%&. 3q,等会儿研究一下~嘿嘿。 请问如何解决呢?如下:
# 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 要写全的,比如rpm-egpg-pubkey-db42a60e-37ea5438 怎么半,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 懂了一层一层删光~
页:
[1]
2