【问题标题】:how to install tftp-server on RHEL6如何在 RHEL6 上安装 tftp-server
【发布时间】:2019-11-04 19:30:35
【问题描述】:

我在 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.

    ```

有什么帮助吗?

【问题讨论】:

标签: rpm rhel6


【解决方案1】:

首先清理 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 存储库中:

来自回购:基地

但是,从您的输出来看,似乎 YUM 试图从名为 InstallMedia 的存储库中获取它。确认您没有在 /etc/yum.repos.d/*repo 下启用损坏的 repos,然后尝试再次安装。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-04-04
    • 1970-01-01
    • 2018-04-02
    • 1970-01-01
    • 2017-12-21
    • 1970-01-01
    • 1970-01-01
    • 2018-09-18
    相关资源
    最近更新 更多