zoukankan      html  css  js  c++  java
  • skip-broken to work around the problem rpm -Va --nofiles --nodigest

    清除yum缓存 yum clean all 重新安装,见结尾
    [root@localhost ~]# yum install libstdc++.so.6
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.cn99.com
    * extras: mirrors.njupt.edu.cn
    * updates: mirrors.cqu.edu.cn
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package libstdc++.i686 0:4.4.7-23.el6 will be installed
    --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.7-23.el6.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.7-23.el6.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.7-23.el6.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.7-23.el6.i686
    --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.7-23.el6.i686
    --> Running transaction check
    ---> Package libgcc.x86_64 0:4.4.7-17.el6 will be updated
    ---> Package libgcc.i686 0:4.4.7-23.el6 will be installed
    ---> Package libgcc.x86_64 0:4.4.7-23.el6 will be an update
    --> Finished Dependency Resolution
    Error: Protected multilib versions: libstdc++-4.4.7-23.el6.i686 != libstdc++-4.4.7-17.el6.x86_64
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    [root@localhost ~]# yum clean all
    Loaded plugins: fastestmirror
    Cleaning repos: base extras updates
    Cleaning up Everything
    Cleaning up list of fastest mirrors

    [root@localhost ~]# yum install libstdc++.so.6
    Loaded plugins: fastestmirror
    Determining fastest mirrors
    * base: mirrors.njupt.edu.cn
    * extras: mirrors.cn99.com
    * updates: mirrors.cn99.com
    base | 3.7 kB 00:00
    http://mirrors.njupt.edu.cn/centos/6.10/os/x86_64/repodata/1aa8754bde2f3921d67cca4bb70d9f587fb858a24cc3d1f66d3315292a89fc20-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
    Trying other mirror.
    base/primary_db | 4.7 MB 00:02
    extras | 3.4 kB 00:00
    extras/primary_db | 29 kB 00:00
    updates | 3.4 kB 00:00
    updates/primary_db | 4.2 MB 00:02
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package libstdc++.i686 0:4.4.7-23.el6 will be installed
    --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.7-23.el6.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.7-23.el6.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.7-23.el6.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.7-23.el6.i686
    --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.7-23.el6.i686
    --> Running transaction check
    ---> Package libgcc.x86_64 0:4.4.7-17.el6 will be updated
    ---> Package libgcc.i686 0:4.4.7-23.el6 will be installed
    ---> Package libgcc.x86_64 0:4.4.7-23.el6 will be an update
    --> Finished Dependency Resolution
    Error: Protected multilib versions: libstdc++-4.4.7-23.el6.i686 != libstdc++-4.4.7-17.el6.x86_64
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    [root@localhost ~]#

    错误一样,执行下面最后OK,只是第一步时间有点长
    yum --skip-broken update
    yum clean all
    yum install libstdc++.so.6

  • 相关阅读:
    54. 八皇后问题[eight queens puzzle]
    53. 特殊的O(n)时间排序[sort ages with hashtable]
    52. 不用+、-、×、÷做加法[add two numbers without arithmetic]
    C++基础知识面试精选100题系列(11-20题)[C++ basics]
    C++基础知识面试精选100题系列(1-10题)[C++ basics]
    洛谷 P1479 宿舍里的故事之五子棋
    洛谷 P2084 进制转换
    codevs 1700 施工方案第二季
    POJ 3278 Catch That Cow(求助大佬)
    POJ 2251 Dungeon Master
  • 原文地址:https://www.cnblogs.com/ritchy/p/10967527.html
Copyright © 2011-2022 走看看