centos8安装lnmp1.7失败
本帖最后由 eva 于 2021-11-24 09:32 编辑win10 64位
centos8安装lnmp1.7,mysq8, php7.4失败,请帮忙看下,谢谢
Repo-name : CentOS Linux 8 - PowerTools
Repo-mirrors : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=PowerTools&infra=stock
Repo-filename : /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
Repo-name : CentOS Linux 8 - PowerTools - Source
Repo-baseurl : http://vault.centos.org/centos/8/PowerTools/Source/
未找到命令: powertools-source。请使用 /usr/bin/dnf --help
它可能是一个DNF插件命令,尝试:"dnf install 'dnf-command(powertools-source)'"
未找到命令: powertools-source。请使用 /usr/bin/dnf --help
它可能是一个DNF插件命令,尝试:"dnf install 'dnf-command(powertools-source)'"
你的系统源设置是有问题的,很多个依赖包都无法安装
ls /etc/yum.repos.d/
cat /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
贴一下返回信息 执行结果 本帖最后由 eva 于 2021-11-24 12:23 编辑
# ls /etc/yum.repos.d/
CentOS-Linux-AppStream.repo CentOS-Linux-Devel.repo CentOS-Linux-Media.repo
CentOS-Linux-BaseOS.repo CentOS-Linux-Extras.repo CentOS-Linux-Plus.repo
CentOS-Linux-ContinuousRelease.repoCentOS-Linux-FastTrack.repo CentOS-Linux-PowerTools.repo
CentOS-Linux-Debuginfo.repo CentOS-Linux-HighAvailability.repoCentOS-Linux-Sources.repo
# cat /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
# CentOS-Linux-PowerTools.repo
#
# The mirrorlist system uses the connecting IP address of the client and the
# update status of each mirror to pick current mirrors that are geographically
# close to the client.You should use this for CentOS updates unless you are
# manually picking other mirrors.
#
# If the mirrorlist does not work for you, you can try the commented out
# baseurl line instead.
name=CentOS Linux $releasever - PowerTools
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/PowerTools/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
licess 发表于 2021-11-24 12:11
你的系统源设置是有问题的,很多个依赖包都无法安装
ls /etc/yum.repos.d/
返回信息看楼下 eva 发表于 2021-11-24 12:19
# ls /etc/yum.repos.d/
CentOS-Linux-AppStream.repo CentOS-Linux-De ...
grep powertools-source /etc/yum.repos.d/*.repo
看一下在哪个文件中,有可能你 /etc/yum.repos.d/CentOS-Linux-Sources.repo 这个配置文件里多加了
及下面几行对应的配置
如果是存在这个文件中删除就行了,如果存在于其他文件中也删除就行了
页:
[1]