linux网络正常但是yum list不能使用

我尝试了许多方法,包括:1 编辑DNS配置。
我在DNS上没有问题,在添加Namesever8 .8 .8 .8 之后,它仍然无法使用。
2 更换百胜源。
我更换了1 6 3 YUM源和Sohu的百胜来源,但我无法解决问题。
3 4 现在发布yum配置:/etc/yum.conf !! logexactor = 1 obsoletes = 1 gpgcheck = 1 plugins = 1 intellonly_limit = 5 bugtracker_url = http://bugs.centos.org/set_pro ject.php? project_id = 1 6 &reci = http://bugs.centos.org/bug_report_page.php?类别= yumdistroverpkg = centos-releaseyum source:/etc/yum.repos.d/centos-base.repo:quase lastligname = centos- $ repartionver-basemirrorlist = http:http://mirrorlist.centos.centos.orgg/? OS#Baseurl = http: //mirror.centos.org/centos/ 1 7 Releasever/os/ 1 7 basearch/gpgcheck=1 g pgkey = /////// pki/rpm-gpg/rpm-gpg-ikey-6 #release [updates] Name = centos- $ Releasver-Updatesmirrorli st = http: //mirrorlist.centos.org/? repares = $ RESEASVER&ARCH = $ BASEARCH&REPO =更新#baseurl = http://mirror.centos.org/centos/centos/$ relesever/updates/$ base/gpgcheck = 1 gpggekey = file:///////////////////////pki/pki/pki/ppm-gpg/ rpm-gpg--gpg-key-center-cent-cent-cent-cent-centfull = cankag- centos- $ reseasver-extrasmirrorlist = http://mirrorlist.centos.org/? reparess = $ precareve r&acr = $ basearch&repo =杂项#baseurl = http://mirror.centos.org/centos/ 1 7 Releasever/extras/extras/1 7 basearch/gpgcheck = 1 gpggcheck = 1 gpggeke = file = file://///////////////5 /5 /5 packages [centosplus] name = centos- $ ressever-plusmirrorlist = http://mirrorlist.centos.org/? repares = $ relsever&Arch = $ basearch&repo = cen tosplus#baseurl = http://mirror.centos.org/centos/ 1 7 releasever/centrosplus/1 7 basearch/gpgcheck = 1 einabled = 1 einable /// etc/pki/rpm-gpg/rpm-gpg-ikey-6 #贡献packsbycentosuser [贡献] name = centos- $ reserver-confribmirror ist = http = http://mirrorlist.centos.centos.ortos.org/? Release = $ RESEASVER&ARCH = $ basearch&repo =贡献#baseurl = http://mirror.centos。
org/centos/$ repares/contiment/$ basearch/gpgCheck = 1 inabled = 0gpgkey = file:://////pki/rpm-gpg/rpm-gpg/rpm-gpg-gpg-key-centos-6 希望有帮助

CentOS5.2 装完linux后 yum install 错误

1 检查网络以确保网络连接是正常的2 http://mirrors.aliyun.com/repo/Centos-5 .repo③Cache the software package information on the server locally to improve search security Install the software speed yummakecache If you are executing the above command, an error is reported: Error: Cannotretrievemetalinkforrepository:epel.Pleaseverifyitspathandtryagain It is recommended to solve the problem by using the following method: Check whether there is an epel.repo文件在/etc/yum.repos.d/下。
如果是这样,请将其重命名为epel.repo_bak。
不要以.repo格式备份,然后执行上述命令一次!

Linux centos7中安装任何软件使用yum失败显示 Loaded plugins: fastestmirror, langpacks,大神们,求教

CentOS7 配置错误,如果YUM命令不可用,则原因是配置错误。
解决方案是工具:linuxcentos7 1 更新系统时,请使用Yumupdate提示以下错误:2 您需要检查YUM。
3 看到一个快速错误:rpmdbbdb01 1 3 thread/process Inters/var/lib/rpm。
4 列表并删除__db*文件。
5 命令rpm -RebuildDB。
6 重构后,再次清除百胜软件。
7 接下来,更新百胜软件链。
完成它。

教你分分钟搞定Linux下yum源配置

要快速在Linux下配置百胜源,您可以按照以下步骤进行操作:了解YUM:YUM是与Linux环境中类似Windows软件管理器类似的软件包管理器。
它通过解决软件包之间的依赖关系来提高运营和维护人员的工作效率。
YUM源分类:本地YUM来源:基于本地存储,例如System -CD或Mirror,必须在本地安装。
网络YUM来源:保存在外部服务器上,安装过程中需要网络连接。
yum源配置:本地yum -source配置:将图像安装到本地系统,或在YUM配置文件中指定仓库站点。
网络YUM源配置:更改YUM的配置文件并指定URL -A外部仓库。
或通过安装特定的软件包,由软件包自动配置了.po -file。
YUM相关命令:熟悉YUM的基本命令,例如Yuminstall,Yumupdate,Yumremove等,这对于有效使用YUM至关重要。
注意:当您配置本地YUM源时,如果更改 /etc.lc.local或 /etc /fstab进行安装设置,则必须谨慎操作以避免影响系统启动。
无论是本地或网络YUM来源,都必须确保保管人地址的正确性和可用性。
通过上述步骤,您可以在Linux下快速配置百胜源,以便您可以轻松安装和管理软件。