当安装Smaba出现Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile

本文介绍了解决在安装Samba过程中遇到的依赖问题的方法,通常由于未配置DNS服务器导致。通过编辑resolv.conf文件并添加DNS服务器地址,如114.114.114.114,可以有效解决此问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

当安装Smaba出现Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.jdcloud.com
 * extras: mirrors.aliyun.com
 * updates: mirror.jdcloud.com
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help)出错时,可以下面的方式解决

这种情况通常是,是因为没有配置DNS服务器。

解决方法:用VI编辑resolv.conf的文件

命令

vi /etc/resolv.conf

添加:

nameserver 114.114.114.114国内的

WQ

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值