zoukankan      html  css  js  c++  java
  • 红帽yum源安装报错initscripts-9.49.41-1.el7.x86_64 conflicts redhat-release < 7.5-0.11" ?

    https://access.redhat.com/solutions/3425111

    环境

    • Red Hat Enterprise Linux 7

    问题

    • yum fails to apply updates with the following error.
    --> Processing Conflict: initscripts-9.49.41-1.el7.x86_64 conflicts redhat-release < 7.5-0.11
    --> Finished Dependency Resolution
    Error: initscripts conflicts with redhat-release-6Server-1.x86_64
    Error: Package: gnome-classic-session-3.26.2-3.el7.noarch (rhel-7-server-rpms)
               Requires: gnome-shell-extension-top-icons = 3.26.2-3.el7
    **********************************************************************
    yum can be configured to try to resolve such errors by temporarily enabling
    disabled repos and searching for missing dependencies.
    To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
    **********************************************************************
    
    Error: initscripts conflicts with redhat-release-6Server-1.x86_64
    Error: Package: gnome-classic-session-3.26.2-3.el7.noarch (rhel-7-server-rpms)
               Requires: gnome-shell-extension-top-icons = 3.26.2-3.el7
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    

    决议

    • Remove the problematic Red Hat Enterprise Linux 6 package from Red Hat Enterprise Linux 7 system.
    解决办法卸载冲突的包即可,日日日日日......

    # rpm -e redhat-release.x86_64 --nodeps
    rpm -e redhat-release-server-7.0-1.el7.x86_64 --nodeps

    根源

    • The Red Hat Enterprise Linux 7 system had Red Hat Enterprise Linux 6 package installed by mistake causing this conflict.

    诊断步骤

    • Confirm if there are any more Red Hat Enterprise Linux 6 packages installed in Red Hat Enterprise Linux 7 except for the redhat-release.x86_64 package
    [root@rhel7 ~]# rpm -qa | grep el6
  • 相关阅读:
    ibatisnet系列
    jQuery弹出层演示
    winform中datagridview的用法
    ASP.net:截取固定长度字符串显示在页面,多余部分显示为省略号
    hdu 4507 恨7不成妻(求l,r中与7不相关数字的平方和)
    hdu 2089 数位dp
    uestc 1307 统计数位之间相差不小于2的数的个数
    Spoj 2319 数位统计(0,1, 2^k1 这些数分成M份)
    zoj 3416 统计平衡数个数
    数位统计 sgu 390 <浅谈数位类问题>
  • 原文地址:https://www.cnblogs.com/yaok430/p/9296051.html
Copyright © 2011-2022 走看看