门口的小白 发表于 2019-2-24 00:30:12

Lnmp1.5安装失败求大佬帮忙看看

RHEL-server-7.0-x86_64   64位

licess 发表于 2019-2-24 09:15:52

---> 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.46-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
cat /etc/yum.conf 看一下
如果没有rhel的正版授权不如直接用centos用的方便,另外mysql 8.0低于2GB内存还没swap的话基本上装不上

门口的小白 发表于 2019-2-24 10:42:44

cat /etc/yum.conf 显示这个


cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
#This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

licess 发表于 2019-2-24 17:33:34

编辑 /etc/yum.conf 添加上 exclude=kernel* centos-release*initscripts*
然后再试试看看,建议还是换centos
页: [1]
查看完整版本: Lnmp1.5安装失败求大佬帮忙看看