我在RHEL 6上运行,当我运行这些代码时,我得到了这个错误:
```
[root@Server1 Packages]#yum -y install tftp-sever
Error Downloading Packages:
tftp-server-0.49-5.1.el6.i686: failure: Packages/tftp-server-0.49-5.1.el6.i686.rpm from InstallMedia: [Errno 256] No more mirrors to try.
```有什么帮助吗?
发布于 2020-04-26 01:47:39
首先,使用以下命令清理YUM的缓存:
# yum clean all然后,使用以下命令检查您的存储库是否包含tftp-server包:
$ yum info tftp-server输出应类似于:
Name : tftp-server
Arch : x86_64
Version : 0.49
Release : 8.el6
Size : 57 k
Repo : installed
From repo : base
Summary : The server for the Trivial File Transfer Protocol (TFTP)
URL : http://www.kernel.org/pub/software/network/tftp/
License : BSD
Description : The Trivial File Transfer Protocol (TFTP) is normally used only for
: booting diskless workstations. The tftp-server package provides the
: server for TFTP, which allows users to transfer files to and from a
: remote machine. TFTP provides very little security, and should not be
: enabled unless it is expressly needed. The TFTP server is run from
: /etc/xinetd.d/tftp, and is disabled by default.请注意,此程序包应包含在base存储库中:
来自存储库的
:base
然而,从您的输出来看,YUM似乎试图从一个名为InstallMedia的存储库中获取它。确认您没有在/etc/yum.repos.d/*repo下启用损坏的repos,然后再次尝试安装。
https://stackoverflow.com/questions/58699903
复制相似问题