u011491972
icesongqiang
采纳率0%
2016-11-08 09:00

centos yum skip-broken to work around the problem

错误如下:
#yum install gcc
Loaded plugins: fastestmirror, post-transaction-actions
Setting up Install Process
Loading mirror speeds from cached hostfile
qa_mav_centos6 | 951 B 00:00

qa_mav_centos6.7_i686 | 951 B 00:00

qa_mav_centos6.7_noarch | 951 B 00:00

Resolving Dependencies
--> Running transaction check
---> Package gcc.i686 0:4.4.7-16.el6 will be installed
--> Processing Dependency: cpp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.i686
--> Processing Dependency: libgomp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-16.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-16.el6.i686
--> Processing Dependency: libgomp.so.1 for package: gcc-4.4.7-16.el6.i686
--> Running transaction check
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libmpfr.so.1 for package: cpp-4.4.7-16.el6.i686
---> Package glibc-devel.i686 0:2.12-1.166.el6_7.7 will be installed
--> Processing Dependency: glibc = 2.12-1.166.el6_7.7 for package: glibc-devel-2.12-1.166.el6_7.7.i686
--> Processing Dependency: glibc-headers = 2.12-1.166.el6_7.7 for package: glibc-devel-2.12-1.166.el6_7.7.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.166.el6_7.7.i686
---> Package libgomp.i686 0:4.4.7-16.el6 will be installed
--> Running transaction check
---> Package glibc-devel.i686 0:2.12-1.166.el6_7.7 will be installed
--> Processing Dependency: glibc = 2.12-1.166.el6_7.7 for package: glibc-devel-2.12-1.166.el6_7.7.i686
---> Package glibc-headers.i686 0:2.12-1.166.el6_7.7 will be installed
--> Processing Dependency: glibc = 2.12-1.166.el6_7.7 for package: glibc-headers-2.12-1.166.el6_7.7.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-devel-2.12-1.166.el6_7.7.i686 (qa_os_updates_3_0_centos6.7_32_3.0)
Requires: glibc = 2.12-1.166.el6_7.7
Installed: glibc-2.12-1.192.el6.i686 (@qa_os_updates_3_3_centos6.7_32_3.3)
glibc = 2.12-1.192.el6
Available: glibc-2.12-1.166.el6.i686 (qa_os_centos6.7_32)
glibc = 2.12-1.166.el6
Available: glibc-2.12-1.166.el6_7.1.i686 (qa_os_updates_3_0_centos6.7_32_3.0)
glibc = 2.12-1.166.el6_7.1
Available: glibc-2.12-1.166.el6_7.3.i686 (qa_os_updates_3_0_centos6.7_32_3.0)
glibc = 2.12-1.166.el6_7.3
Available: glibc-2.12-1.166.el6_7.7.i686 (qa_os_updates_3_0_centos6.7_32_3.0)
glibc = 2.12-1.166.el6_7.7
Error: Package: glibc-headers-2.12-1.166.el6_7.7.i686 (qa_os_updates_3_0_centos6.7_32_3.0)
Requires: glibc = 2.12-1.166.el6_7.7
Installed: glibc-2.12-1.192.el6.i686 (@qa_os_updates_3_3_centos6.7_32_3.3)
glibc = 2.12-1.192.el6
Available: glibc-2.12-1.166.el6.i686 (qa_os_centos6.7_32)
glibc = 2.12-1.166.el6
Available: glibc-2.12-1.166.el6_7.1.i686 (qa_os_updates_3_0_centos6.7_32_3.0)
glibc = 2.12-1.166.el6_7.1
Available: glibc-2.12-1.166.el6_7.3.i686 (qa_os_updates_3_0_centos6.7_32_3.0)
glibc = 2.12-1.166.el6_7.3
Available: glibc-2.12-1.166.el6_7.7.i686 (qa_os_updates_3_0_centos6.7_32_3.0)
glibc = 2.12-1.166.el6_7.7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

我的yum源如下:
# ls /etc/yum.repos.d/ -l
total 152
-rw------- 1 cmcadmin cmcadmin 1414 Oct 31 07:29 cmc_base.repo
-rw-r--r-- 1 cmcadmin cmcadmin 113 Oct 31 07:23 cmc_sdeos.repo
-rw------- 1 cmcadmin cmcadmin 119 Oct 31 07:29 cmc_sdetools.repo
-rw------- 1 cmcadmin cmcadmin 310 Oct 31 07:29 cmc_tsp.repo
-rw-r--r-- 1 root root 174 Sep 21 05:21 qa_mav_centos6.7_i686.repo
-rw-r--r-- 1 root root 182 Sep 21 05:21 qa_mav_centos6.7_noarch.repo
-rw-r--r-- 1 root root 167 Sep 21 05:21 qa_mav_centos6.repo
-rw-r--r-- 1 root root 151 Oct 31 07:24 qa_os_centos6.7_32.repo
-rw-r--r-- 1 root root 155 Sep 21 05:14 qa_os_centos6.7_i686.repo
-rw-r--r-- 1 root root 163 Sep 21 05:14 qa_os_centos6.7_noarch.repo
-rw-r--r-- 1 root root 170 Oct 31 07:24 qa_os_noarch_centos6.7_noarch.repo
-rw-r--r-- 1 root root 183 Oct 31 07:24 qa_os_updates_3_0_centos6.7_32_3.0.repo
-rw-r--r-- 1 root root 183 Oct 31 07:24 qa_os_updates_3_1_centos6.7_32_3.1.repo
-rw-r--r-- 1 root root 183 Oct 31 07:24 qa_os_updates_3_2_centos6.7_32_3.2.repo
-rw-r--r-- 1 root root 183 Oct 31 07:24 qa_os_updates_3_3_centos6.7_32_3.3.repo
-rw-r--r-- 1 root root 183 Oct 31 07:24 qa_os_updates_3_4_centos6.7_32_3.4.repo
-rw-r--r-- 1 root root 167 Oct 31 07:24 qa_os_updates_centos6.7_32.repo
-rw-r--r-- 1 root root 191 Sep 21 05:14 qa_os_updates_centos6.7_i686_3.0.repo
-rw-r--r-- 1 root root 191 Sep 21 05:14 qa_os_updates_centos6.7_i686_3.1.repo
-rw-r--r-- 1 root root 187 Sep 21 05:14 qa_os_updates_centos6.7_noarch.repo
-rw-r--r-- 1 root root 186 Oct 31 07:24 qa_os_updates_noarch_centos6.7_noarch.repo
-rw-r--r-- 1 root root 167 Oct 31 07:24 qa_puppetlabs_centos6.7_32.repo
-rw-r--r-- 1 root root 166 Sep 21 05:14 qa_puppetlabs_centos6.7_i686.repo
-rw-r--r-- 1 root root 174 Sep 21 05:14 qa_puppetlabs_centos6.7_noarch.repo
-rw-r--r-- 1 root root 193 Oct 31 07:24 qa_puppetlabs_dependencies_centos6.7_32.repo
-rw-r--r-- 1 root root 205 Sep 21 05:14 qa_puppetlabs_dependencies_centos6.7_i686.repo
-rw-r--r-- 1 root root 213 Sep 21 05:14 qa_puppetlabs_dependencies_centos6.7_noarch.repo
-rw-r--r-- 1 root root 212 Oct 31 07:24 qa_puppetlabs_dependencies_noarch_centos6.7_noarch.repo
-rw-r--r-- 1 root root 186 Oct 31 07:24 qa_puppetlabs_noarch_centos6.7_noarch.repo
-rw-r--r-- 1 root root 169 Sep 21 05:14 qa_puppet_modules_webex_noarch.repo
-rw-r--r-- 1 root root 151 Sep 21 05:21 qa_slim_noarch32.repo
-rw-r--r-- 1 root root 163 Sep 21 05:21 qa_systools_centos6.7_i686.repo
-rw-r--r-- 1 root root 170 Sep 21 05:21 qa_systools_centos6.7_noarch.repo
-rw-r--r-- 1 root root 165 Oct 31 07:24 qa_systuning_centos6.7_32.repo
-rw-r--r-- 1 root root 174 Sep 21 05:14 qa_systuning_centos6.7_i686.repo
-rw-r--r-- 1 root root 182 Sep 21 05:14 qa_systuning_centos6.7_noarch.repo
-rw-r--r-- 1 root root 184 Oct 31 07:24 qa_systuning_noarch_centos6.7_noarch.repo
-rw-r--r-- 1 root root 153 Sep 21 05:21 qa_vmware_centos6.7_i686.repo

已经清除过源缓存:yum clean all
和重新生成源缓存: yum makecache
还是解决不了。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • u011491972 icesongqiang 5年前

    重新下载源仓库而皮质文件 .repo

    点赞 评论 复制链接分享

相关推荐