红帽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.

Raw

--> 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.

Raw

解决办法卸载冲突的包即可,日日日日日......

# rpm -e redhat-release.x86_64 --nodepsrpm -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

Raw

[[email protected] ~]# rpm -qa | grep el6

原文地址:https://www.cnblogs.com/yaok430/p/9296051.html

时间: 2024-08-29 17:37:28

红帽yum源安装报错initscripts-9.49.41-1.el7.x86_64 conflicts redhat-release &lt; 7.5-0.11" ?的相关文章

glusterfs本地yum源安装报错Error: Package:

报错如下 --> Finished Dependency Resolution Error: Package: glusterfs-server-3.4.7-1.el6.x86_64 (glusterfs) Requires: glusterfs-cli = 3.4.7-1.el6 Available: glusterfs-cli-3.4.7-1.el6.x86_64 (glusterfs) glusterfs-cli = 3.4.7-1.el6 Installing: glusterfs-cl

remi源安装报错

问题: remi源 安装报错 rpm -ivh http://rpms.remirepo.net/enterprise/remi-release-6.rpm Retrieving http://rpms.remirepo.net/enterprise/remi-release-6.rpm warning: /var/tmp/rpm-tmp.yZ1q8y: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY error: Failed depe

使用openstack本地源安装报错

使用openstack(版本OpenStack-Rocky)本地源安装时,发现缺少安装包报ERRO,报错如下 Pre installing Puppet and discovering hosts' details[ ERROR ] ERROR : Failed to run remote script, stdout: Loaded plugins: fastestmirror ······ stderr: Warning: Permanently added '192.168.100.11'

CentOS-7-x86_64-Minimal-1908 yum安装报错(无法解析主机问题)

引言: 问题:在安装centos7的1908的mini版本后,使用yum安装软件会报错,如下: 遇到这个问题,很扯淡,因为之前我在使用centos7的1708版本安装中时不存在这个问题的.现在用centos7的1908版本就一直在报错,修改了yum源也是错的. 网上有很多解决方案:[这些方案都不能解决上述问题] 1. 修改yum源.换成阿里或者163的 2. 修改/etc/yum.conf 配置文件 3.修改/etc/resolve.conf 下的 nameserver  那这个问题是什么原因导

yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between

yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86 64 and php-common-5.3.3-46.el6 6.x86 64 遇到这个情况的时候  是库冲突了 需要修改文件        vim /etc/yum.repos.d/rpmforge.repo 将里面的enable=1    改

docker yum安装报错 服务启动报错

在使用docker容器yum安装时出现类似的错误: Transaction check error:file /usr/lib64/libsystemd-daemon.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64file /usr/lib64/libsystemd-id128

PHP编译安装报错: mcrypt.h not found. Please reinstall libmcrypt.

PHP编译安装报错: mcrypt.h not found. Please reinstall libmcrypt. 转载2016-04-25 12:40:44 标签:linuxitphp 解决方法: 1.为系统安装perl-Geo-IP,默认yum源中没有这个包,特意安装epel第三方yum源[[email protected] ~] rpm -Uvh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rp

LNMP安装报错解决方案

configure: error: no acceptable cc found in $PATH 解决方案:yum install -y gcc configure: error: xml2-config not found. Please check your libxml2 installation. 解决方案:yum install -y libxml2-devel configure: error: Cannot find OpenSSL's <evp.h> 解决方案:yum ins

Cobbler安装报错--dhcpd -t failed Exception occured: &lt;class &#39;cobbler.cexceptions.CX&#39;&gt;

最近想玩一下自动化安装,就研究了一下cobbler,测试环境本来是想用CentOS6.X的,但是后来一想,还是想用CentOS7.X.然后就碰到坑了. 在同步cobbler配置的时候,发现了以下错误: cobbler  sync dhcpd -t failedException occured: <class 'cobbler.cexceptions.CX'>Exception value: 'cobbler trigger failed: cobbler.modules.sync_post_