dj1cn 发表于 2019-10-22 19:08:43

lnmp1.6 php模块安装失败

提示:PHP install failed.
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
#
# uname -a
Linux dj1.com 3.10.0-123.el7.x86_64 #1 SMP Mon May 5 11:16:57 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux


licess 发表于 2019-10-23 10:21:22

---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be an update
---> Package setools-libs.x86_64 0:3.3.7-46.el7 will be updated
---> Package setools-libs.x86_64 0:3.3.8-4.el7 will be an update
--> Processing Conflict: initscripts-9.49.47-1.el7.x86_64 conflicts redhat-release < 7.5-0.11
--> Finished Dependency Resolution
Error: initscripts conflicts with redhat-release-server-7.0-1.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: langpacks, product-id, subscription-manager

系统有问题不能正常安装依赖包
rhel没有正版的订阅不如直接用centos

dj1cn 发表于 2019-10-23 11:37:24

licess 发表于 2019-10-23 10:21
---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be an update
---> Package setools-libs.x86_ ...

你好,请问rhel具体是什么系统问题导致不能正常安装依赖包啊?我不用本地光盘yum源,用了阿里的base和epel源,最后也是Php模块不能安装成功。

licess 发表于 2019-10-23 17:08:22

dj1cn 发表于 2019-10-23 11:37
你好,请问rhel具体是什么系统问题导致不能正常安装依赖包啊?我不用本地光盘yum源,用了阿里的base和epe ...

可以尝试
yum install yum-utils
yum-complete-transaction --cleanup-only
package-cleanup --dupes
package-cleanup --problems
确保正常后可以 yum install openssl-devel 进行测试,正常安装的话再安装lnmp
页: [1]
查看完整版本: lnmp1.6 php模块安装失败