zoukankan      html  css  js  c++  java
  • 错误:gssproxy conflicts with selinuxpolicy3.13.1166.el7.noarch 您可以尝试添加 skipbroken 选项来解决该问题

    装包的时候遇到这个问题,整理一下,

    --> 处理 gssproxy-0.7.0-30.el7_9.x86_64 与 selinux-policy < 3.13.1-166.el7.noarch 的冲突
    --> 解决依赖关系完成
    错误:gssproxy conflicts with selinux-policy-3.13.1-166.el7.noarch
     您可以尝试添加 --skip-broken 选项来解决该问题
    ** 发现 11 个已存在的 RPM 数据库问题, 'yum check' 输出如下:
    audit-libs-2.8.5-4.el7.x86_64 是 audit-libs-2.7.6-3.el7.x86_64 的副本
    7:device-mapper-1.02.170-6.el7_9.5.x86_64 是 7:device-mapper-1.02.140-8.el7.x86_64 的副本
    7:device-mapper-libs-1.02.170-6.el7_9.5.x86_64 是 7:device-mapper-libs-1.02.140-8.el7.x86_64 的副本
    libselinux-2.5-15.el7.x86_64 是 libselinux-2.5-11.el7.x86_64 的副本
    libselinux-python-2.5-15.el7.x86_64 是 libselinux-python-2.5-11.el7.x86_64 的副本
    libselinux-utils-2.5-15.el7.x86_64 是 libselinux-utils-2.5-11.el7.x86_64 的副本
    libsemanage-2.5-14.el7.x86_64 是 libsemanage-2.5-8.el7.x86_64 的副本
    libsepol-2.5-10.el7.x86_64 是 libsepol-2.5-6.el7.x86_64 的副本
    policycoreutils-2.5-34.el7.x86_64 是 policycoreutils-2.5-17.1.el7.x86_64 的副本
    selinux-policy-3.13.1-268.el7_9.2.noarch 是 selinux-policy-3.13.1-166.el7.noarch 的副本
    selinux-policy-targeted-3.13.1-268.el7_9.2.noarch 是 selinux-policy-targeted-3.13.1-166.el7.noarch 的副本
    

    解决办法

    ┌──[root@vms83.liruilongs.github.io]-[~]
    └─$package-cleanup --cleandupes -y
    已加载插件:fastestmirror
    Not removing audit-libs-2.7.6-3.el7.x86_64 because it is required by 1 installed package
    There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
    --> 正在检查事务
    ---> 软件包 device-mapper.x86_64.7.1.02.140-8.el7 将被 删除
    ---> 软件包 device-mapper-libs.x86_64.7.1.02.140-8.el7 将被 删除
    ---> 软件包 libselinux.x86_64.0.2.5-11.el7 将被 删除
    ---> 软件包 libselinux-python.x86_64.0.2.5-11.el7 将被 删除
    ---> 软件包 libselinux-utils.x86_64.0.2.5-11.el7 将被 删除
    ---> 软件包 libsemanage.x86_64.0.2.5-8.el7 将被 删除
    ---> 软件包 libsepol.x86_64.0.2.5-6.el7 将被 删除
    ---> 软件包 policycoreutils.x86_64.0.2.5-17.1.el7 将被 删除
    ---> 软件包 selinux-policy.noarch.0.3.13.1-166.el7 将被 删除
    ---> 软件包 selinux-policy-targeted.noarch.0.3.13.1-166.el7 将被 删除
    --> 解决依赖关系完成
    
    依赖关系解决
    
    ======================================================================================================================================================================================================
     Package                                                  架构                                    版本                                               源                                          大小
    ======================================================================================================================================================================================================
    正在删除:
     device-mapper                                            x86_64                                  7:1.02.140-8.el7                                   @anaconda                                  322 k
     device-mapper-libs                                       x86_64                                  7:1.02.140-8.el7                                   @anaconda                                  391 k
     libselinux                                               x86_64                                  2.5-11.el7                                         @anaconda                                  213 k
     libselinux-python                                        x86_64                                  2.5-11.el7                                         @anaconda                                  589 k
     libselinux-utils                                         x86_64                                  2.5-11.el7                                         @anaconda                                  172 k
     libsemanage                                              x86_64                                  2.5-8.el7                                          @anaconda                                  274 k
     libsepol                                                 x86_64                                  2.5-6.el7                                          @anaconda                                  646 k
     policycoreutils                                          x86_64                                  2.5-17.1.el7                                       @anaconda                                  4.9 M
     selinux-policy                                           noarch                                  3.13.1-166.el7                                     @anaconda                                  5.6 k
     selinux-policy-targeted                                  noarch                                  3.13.1-166.el7                                     @anaconda                                   18 M
    
    事务概要
    ======================================================================================================================================================================================================
    移除  10 软件包
    
    安装大小:26 M
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      正在删除    : selinux-policy-targeted-3.13.1-166.el7.noarch                                                                                                                                    1/10
      正在删除    : selinux-policy-3.13.1-166.el7.noarch                                                                                                                                             2/10
      正在删除    : policycoreutils-2.5-17.1.el7.x86_64                                                                                                                                              3/10
      正在删除    : libselinux-utils-2.5-11.el7.x86_64                                                                                                                                               4/10
      正在删除    : libsemanage-2.5-8.el7.x86_64                                                                                                                                                     5/10
      正在删除    : 7:device-mapper-libs-1.02.140-8.el7.x86_64                                                                                                                                       6/10
      正在删除    : 7:device-mapper-1.02.140-8.el7.x86_64                                                                                                                                            7/10
      正在删除    : libselinux-python-2.5-11.el7.x86_64                                                                                                                                              8/10
      正在删除    : libselinux-2.5-11.el7.x86_64                                                                                                                                                     9/10
      正在删除    : libsepol-2.5-6.el7.x86_64                                                                                                                                                       10/10
      验证中      : libselinux-utils-2.5-11.el7.x86_64                                                                                                                                               1/10
      验证中      : libselinux-2.5-11.el7.x86_64                                                                                                                                                     2/10
      验证中      : libsepol-2.5-6.el7.x86_64                                                                                                                                                        3/10
      验证中      : policycoreutils-2.5-17.1.el7.x86_64                                                                                                                                              4/10
      验证中      : 7:device-mapper-1.02.140-8.el7.x86_64                                                                                                                                            5/10
      验证中      : 7:device-mapper-libs-1.02.140-8.el7.x86_64                                                                                                                                       6/10
      验证中      : libsemanage-2.5-8.el7.x86_64                                                                                                                                                     7/10
      验证中      : selinux-policy-targeted-3.13.1-166.el7.noarch                                                                                                                                    8/10
      验证中      : selinux-policy-3.13.1-166.el7.noarch                                                                                                                                             9/10
      验证中      : libselinux-python-2.5-11.el7.x86_64                                                                                                                                             10/10
    
    删除:
      device-mapper.x86_64 7:1.02.140-8.el7            device-mapper-libs.x86_64 7:1.02.140-8.el7                libselinux.x86_64 0:2.5-11.el7           libselinux-python.x86_64 0:2.5-11.el7
      libselinux-utils.x86_64 0:2.5-11.el7             libsemanage.x86_64 0:2.5-8.el7                            libsepol.x86_64 0:2.5-6.el7              policycoreutils.x86_64 0:2.5-17.1.el7
      selinux-policy.noarch 0:3.13.1-166.el7           selinux-policy-targeted.noarch 0:3.13.1-166.el7
    
    完毕!
    Warning: Some duplicates were not removed because they are required by installed packages.
    You can try --cleandupes with --removenewestdupes, or review them with --dupes and remove manually.
    
    ┌──[root@vms83.liruilongs.github.io]-[~]
    └─$package-cleanup --cleandupes with --removenewestdupes -y
    已加载插件:fastestmirror
    Not removing audit-libs-2.8.5-4.el7.x86_64 because it is required by 1 installed package
    There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
    No duplicates to remove
    Warning: Some duplicates were not removed because they are required by installed packages.
    You can try --cleandupes without --removenewestdupes, or review them with --dupes and remove manually.
    ┌──[root@vms83.liruilongs.github.io]-[~]
    

    之后就可以正常安装

    ┌──[root@vms83.liruilongs.github.io]-[~]
    └─$yum install nfs-utils -y
    已加载插件:fastestmirror
    Loading mirror speeds from cached hostfile
    正在解决依赖关系
    There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
    --> 正在检查事务
    ---> 软件包 nfs-utils.x86_64.1.1.3.0-0.68.el7.2 将被 安装
    --> 正在处理依赖关系 libtirpc >= 0.2.4-0.7,它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 gssproxy >= 0.7.0-3,它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 rpcbind,它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 quota,它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 libnfsidmap,它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 libevent,它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 keyutils,它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 libtirpc.so.1()(64bit),它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 libnfsidmap.so.0()(64bit),它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在处理依赖关系 libevent-2.0.so.5()(64bit),它被软件包 1:nfs-utils-1.3.0-0.68.el7.2.x86_64 需要
    --> 正在检查事务
    ---> 软件包 gssproxy.x86_64.0.0.7.0-30.el7_9 将被 安装
    --> 正在处理依赖关系 libini_config >= 1.3.1-31,它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    --> 正在处理依赖关系 libverto-module-base,它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    --> 正在处理依赖关系 libref_array.so.1(REF_ARRAY_0.1.1)(64bit),它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    --> 正在处理依赖关系 libini_config.so.3(INI_CONFIG_1.2.0)(64bit),它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    --> 正在处理依赖关系 libini_config.so.3(INI_CONFIG_1.1.0)(64bit),它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    --> 正在处理依赖关系 libref_array.so.1()(64bit),它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    --> 正在处理依赖关系 libini_config.so.3()(64bit),它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    --> 正在处理依赖关系 libcollection.so.2()(64bit),它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    --> 正在处理依赖关系 libbasicobjects.so.0()(64bit),它被软件包 gssproxy-0.7.0-30.el7_9.x86_64 需要
    ---> 软件包 keyutils.x86_64.0.1.5.8-3.el7 将被 安装
    ---> 软件包 libevent.x86_64.0.2.0.21-4.el7 将被 安装
    ---> 软件包 libnfsidmap.x86_64.0.0.25-19.el7 将被 安装
    ---> 软件包 libtirpc.x86_64.0.0.2.4-0.16.el7 将被 安装
    ---> 软件包 quota.x86_64.1.4.01-19.el7 将被 安装
    --> 正在处理依赖关系 quota-nls = 1:4.01-19.el7,它被软件包 1:quota-4.01-19.el7.x86_64 需要
    --> 正在处理依赖关系 tcp_wrappers,它被软件包 1:quota-4.01-19.el7.x86_64 需要
    ---> 软件包 rpcbind.x86_64.0.0.2.0-49.el7 将被 安装
    --> 正在检查事务
    ---> 软件包 libbasicobjects.x86_64.0.0.1.1-32.el7 将被 安装
    ---> 软件包 libcollection.x86_64.0.0.7.0-32.el7 将被 安装
    ---> 软件包 libini_config.x86_64.0.1.3.1-32.el7 将被 安装
    --> 正在处理依赖关系 libpath_utils.so.1(PATH_UTILS_0.2.1)(64bit),它被软件包 libini_config-1.3.1-32.el7.x86_64 需要
    --> 正在处理依赖关系 libpath_utils.so.1()(64bit),它被软件包 libini_config-1.3.1-32.el7.x86_64 需要
    ---> 软件包 libref_array.x86_64.0.0.1.5-32.el7 将被 安装
    ---> 软件包 libverto-libevent.x86_64.0.0.2.5-4.el7 将被 安装
    ---> 软件包 quota-nls.noarch.1.4.01-19.el7 将被 安装
    ---> 软件包 tcp_wrappers.x86_64.0.7.6-77.el7 将被 安装
    --> 正在检查事务
    ---> 软件包 libpath_utils.x86_64.0.0.2.1-32.el7 将被 安装
    --> 解决依赖关系完成
    
    依赖关系解决
    
    ======================================================================================================================================================================================================
     Package                                             架构                                     版本                                                    源                                         大小
    ======================================================================================================================================================================================================
    正在安装:
     nfs-utils                                           x86_64                                   1:1.3.0-0.68.el7.2                                      updates                                   413 k
    为依赖而安装:
     gssproxy                                            x86_64                                   0.7.0-30.el7_9                                          updates                                   111 k
     keyutils                                            x86_64                                   1.5.8-3.el7                                             base                                       54 k
     libbasicobjects                                     x86_64                                   0.1.1-32.el7                                            base                                       26 k
     libcollection                                       x86_64                                   0.7.0-32.el7                                            base                                       42 k
     libevent                                            x86_64                                   2.0.21-4.el7                                            base                                      214 k
     libini_config                                       x86_64                                   1.3.1-32.el7                                            base                                       64 k
     libnfsidmap                                         x86_64                                   0.25-19.el7                                             base                                       50 k
     libpath_utils                                       x86_64                                   0.2.1-32.el7                                            base                                       28 k
     libref_array                                        x86_64                                   0.1.5-32.el7                                            base                                       27 k
     libtirpc                                            x86_64                                   0.2.4-0.16.el7                                          base                                       89 k
     libverto-libevent                                   x86_64                                   0.2.5-4.el7                                             base                                      8.9 k
     quota                                               x86_64                                   1:4.01-19.el7                                           base                                      179 k
     quota-nls                                           noarch                                   1:4.01-19.el7                                           base                                       90 k
     rpcbind                                             x86_64                                   0.2.0-49.el7                                            base                                       60 k
     tcp_wrappers                                        x86_64                                   7.6-77.el7                                              base                                       78 k
    
    事务概要
    ======================================================================================================================================================================================================
    安装  1 软件包 (+15 依赖软件包)
    
    总下载量:1.5 M
    安装大小:4.3 M
    Downloading packages:
    (1/16): libbasicobjects-0.1.1-32.el7.x86_64.rpm                                                                                                                                |  26 kB  00:00:01
    (2/16): libcollection-0.7.0-32.el7.x86_64.rpm                                                                                                                                  |  42 kB  00:00:00
    (3/16): keyutils-1.5.8-3.el7.x86_64.rpm                                                                                                                                        |  54 kB  00:00:02
    (4/16): libevent-2.0.21-4.el7.x86_64.rpm                                                                                                                                       | 214 kB  00:00:00
    (5/16): gssproxy-0.7.0-30.el7_9.x86_64.rpm                                                                                                                                     | 111 kB  00:00:02
    (6/16): libini_config-1.3.1-32.el7.x86_64.rpm                                                                                                                                  |  64 kB  00:00:00
    (7/16): libnfsidmap-0.25-19.el7.x86_64.rpm                                                                                                                                     |  50 kB  00:00:00
    (8/16): libpath_utils-0.2.1-32.el7.x86_64.rpm                                                                                                                                  |  28 kB  00:00:00
    (9/16): libtirpc-0.2.4-0.16.el7.x86_64.rpm                                                                                                                                     |  89 kB  00:00:00
    (10/16): libref_array-0.1.5-32.el7.x86_64.rpm                                                                                                                                  |  27 kB  00:00:00
    (11/16): libverto-libevent-0.2.5-4.el7.x86_64.rpm                                                                                                                              | 8.9 kB  00:00:00
    (12/16): quota-4.01-19.el7.x86_64.rpm                                                                                                                                          | 179 kB  00:00:00
    (13/16): rpcbind-0.2.0-49.el7.x86_64.rpm                                                                                                                                       |  60 kB  00:00:00
    (14/16): quota-nls-4.01-19.el7.noarch.rpm                                                                                                                                      |  90 kB  00:00:00
    (15/16): tcp_wrappers-7.6-77.el7.x86_64.rpm                                                                                                                                    |  78 kB  00:00:00
    (16/16): nfs-utils-1.3.0-0.68.el7.2.x86_64.rpm                                                                                                                                 | 413 kB  00:00:00
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    总计                                                                                                                                                                  407 kB/s | 1.5 MB  00:00:03
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      正在安装    : libbasicobjects-0.1.1-32.el7.x86_64                                                                                                                                              1/16
      正在安装    : libref_array-0.1.5-32.el7.x86_64                                                                                                                                                 2/16
      正在安装    : libcollection-0.7.0-32.el7.x86_64                                                                                                                                                3/16
      正在安装    : libevent-2.0.21-4.el7.x86_64                                                                                                                                                     4/16
      正在安装    : libtirpc-0.2.4-0.16.el7.x86_64                                                                                                                                                   5/16
      正在安装    : rpcbind-0.2.0-49.el7.x86_64                                                                                                                                                      6/16
      正在安装    : libverto-libevent-0.2.5-4.el7.x86_64                                                                                                                                             7/16
      正在安装    : 1:quota-nls-4.01-19.el7.noarch                                                                                                                                                   8/16
      正在安装    : tcp_wrappers-7.6-77.el7.x86_64                                                                                                                                                   9/16
      正在安装    : 1:quota-4.01-19.el7.x86_64                                                                                                                                                      10/16
      正在安装    : keyutils-1.5.8-3.el7.x86_64                                                                                                                                                     11/16
      正在安装    : libnfsidmap-0.25-19.el7.x86_64                                                                                                                                                  12/16
      正在安装    : libpath_utils-0.2.1-32.el7.x86_64                                                                                                                                               13/16
      正在安装    : libini_config-1.3.1-32.el7.x86_64                                                                                                                                               14/16
      正在安装    : gssproxy-0.7.0-30.el7_9.x86_64                                                                                                                                                  15/16
      正在安装    : 1:nfs-utils-1.3.0-0.68.el7.2.x86_64                                                                                                                                             16/16
      验证中      : libtirpc-0.2.4-0.16.el7.x86_64                                                                                                                                                   1/16
      验证中      : gssproxy-0.7.0-30.el7_9.x86_64                                                                                                                                                   2/16
      验证中      : 1:quota-4.01-19.el7.x86_64                                                                                                                                                       3/16
      验证中      : libpath_utils-0.2.1-32.el7.x86_64                                                                                                                                                4/16
      验证中      : libnfsidmap-0.25-19.el7.x86_64                                                                                                                                                   5/16
      验证中      : libevent-2.0.21-4.el7.x86_64                                                                                                                                                     6/16
      验证中      : keyutils-1.5.8-3.el7.x86_64                                                                                                                                                      7/16
      验证中      : libverto-libevent-0.2.5-4.el7.x86_64                                                                                                                                             8/16
      验证中      : tcp_wrappers-7.6-77.el7.x86_64                                                                                                                                                   9/16
      验证中      : libcollection-0.7.0-32.el7.x86_64                                                                                                                                               10/16
      验证中      : 1:quota-nls-4.01-19.el7.noarch                                                                                                                                                  11/16
      验证中      : libref_array-0.1.5-32.el7.x86_64                                                                                                                                                12/16
      验证中      : libbasicobjects-0.1.1-32.el7.x86_64                                                                                                                                             13/16
      验证中      : 1:nfs-utils-1.3.0-0.68.el7.2.x86_64                                                                                                                                             14/16
      验证中      : libini_config-1.3.1-32.el7.x86_64                                                                                                                                               15/16
      验证中      : rpcbind-0.2.0-49.el7.x86_64                                                                                                                                                     16/16
    
    已安装:
      nfs-utils.x86_64 1:1.3.0-0.68.el7.2
    
    作为依赖被安装:
      gssproxy.x86_64 0:0.7.0-30.el7_9          keyutils.x86_64 0:1.5.8-3.el7       libbasicobjects.x86_64 0:0.1.1-32.el7    libcollection.x86_64 0:0.7.0-32.el7    libevent.x86_64 0:2.0.21-4.el7
      libini_config.x86_64 0:1.3.1-32.el7       libnfsidmap.x86_64 0:0.25-19.el7    libpath_utils.x86_64 0:0.2.1-32.el7      libref_array.x86_64 0:0.1.5-32.el7     libtirpc.x86_64 0:0.2.4-0.16.el7
      libverto-libevent.x86_64 0:0.2.5-4.el7    quota.x86_64 1:4.01-19.el7          quota-nls.noarch 1:4.01-19.el7           rpcbind.x86_64 0:0.2.0-49.el7          tcp_wrappers.x86_64 0:7.6-77.el7
    
    完毕!
    ┌──[root@vms83.liruilongs.github.io]-[~]
    └─$
    
    加油,愿被这世界温柔以待 ^_^
  • 相关阅读:
    png 图片的缩放
    数据结构>图的最短路径
    2007年7月25日在博客园的排名上升到前400名
    C# 汉字转拼音(全拼)
    修改 Linux 主机名
    C# 事件的继承
    一个实现了 IDisposable 接口的基类
    Windows 防火墙上也有端口映射功能
    网上邻居不能访问的问题
    令网站提速的7大秘方
  • 原文地址:https://www.cnblogs.com/liruilong/p/15614439.html
Copyright © 2011-2022 走看看