yum install openssl-devel.x86_64没有成功,提示如下错误:
Error: libselinux conflicts with systemd-208-11.el7.x86_64
You could try using --skip-broken to work around the problem
** Found 7 pre-existing rpmdb problem(s), 'yum check' output follows:
cryptsetup-libs-2.0.3-6.el7.x86_64 is a duplicate with cryptsetup-libs-1.6.3-2.el7.x86_64
7:device-mapper-event-1.02.164-7.el7_8.2.x86_64 has installed conflicts
lvm2-libs < ('7', '2.02.111', None):
7:lvm2-libs-2.02.105-14.el7.x86_64
dracut-033-568.el7.x86_64 is a duplicate with dracut-033-161.el7.x86_64
systemd-219-73.el7_8.8.x86_64 has installed conflicts dracut < ('0', '033', '243'): dracut-033-161.el7.x86_64
systemd-219-73.el7_8.8.x86_64 has installed conflicts initscripts < ('0', '9.49.28', '1'): initscripts-9.49.17-1.el7.x86_64
systemd-219-73.el7_8.8.x86_64 is a duplicate with systemd-208-11.el7.x86_64
systemd-libs-219-73.el7_8.8.x86_64 is a duplicate with systemd-libs-208-11.el7.x86_64
解决方法:
[root@localhost Common]# yum list installed | grep systemd
systemd.x86_64 208-11.el7 @anaconda
systemd.x86_64 219-73.el7_8.8 installed
systemd-devel.x86_64 219-73.el7_8.8 @updates
systemd-libs.x86_64 208-11.el7 @anaconda
systemd-libs.x86_64 219-73.el7_8.8 installed
systemd-python.x86_64 208-11.el7 @anaconda
systemd-sysv.x86_64 208-11.el7 @anaconda
删除208的。
[root@localhost Common]# rpm -e --nodeps systemd.x86_64
error: "systemd.x86_64" specifies multiple packages:
systemd-208-11.el7.x86_64
systemd-219-73.el7_8.8.x86_64
[root@localhost Common]# rpm -e --nodeps systemd-208-11.el7.x86_64
[root@localhost Common]# rpm -e systemd-sysv.x86_64
[root@localhost Common]# rpm -e systemd-python.x86_64
error: Failed dependencies:
systemd-python is needed by (installed) abrt-addon-python-2.1.11-12.el7.centos.x86_64
systemd-python >= 206-1 is needed by (installed) setroubleshoot-server-3.2.17-2.el7.x86_64
使用--nodeps参数
[root@localhost Common]# rpm -e --nodeps systemd-python.x86_64
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
2017-09-24 SIP业务基本知识
2017-09-24 ReSIProcate环境搭建
2017-09-24 国标28181sip开源库介绍(陆续补充完备)
2017-09-24 开源sip server & sip client 和开发库 一览
2017-09-24 几种开源SIP协议栈对比
2014-09-24 weak_ptr的一点认识
2014-09-24 智能指针(一):STL auto_ptr实现原理