没有回购

use*_*473 3 package-management software-sources source-packages

我有 PC 引擎 Apu 。我想通过 PXE 将 Linux 安装到 Apu。我正在尝试在 ubuntu 14.04 LTS 上安装它。我正在使用 Ubuntu 14.04 LTS

#yum install tftp-server syslinux httpd dhcpd

There are no enabled repos.
 Run "Yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>

#yum repolist all
repolist: 0
Run Code Online (Sandbox Code Playgroud)

ter*_*don 7

yum包管理器来自RedHat和它的衍生物。它从存储此类软件包的存储库中安装 rpm 软件包。Debian(以及扩展名 Ubuntu)存储库改为使用 .deb 包。yum在 Debian/Ubuntu 世界中的等价物是apt-get. 我不知道你为什么最终yum安装在你的 Ubuntu 系统上,但这不是你想要使用的工具。

你所追求的是:

sudo apt-get install tftp tftpd syslinux apache2 dhcpcd
Run Code Online (Sandbox Code Playgroud)

无论如何,这是我最好的猜测,因为您实际上并没有解释您要安装的内容。tftp-serverUbuntu 中没有包,所以我猜你想要tftpd哪个是支持 TFTP 协议的服务器。同样,httpdUbuntu 中没有,但我猜您想安装apache2网络服务器和dhcp客户端 ( dhcpd)。