Redhat没有包提供

时间:2015-05-28 12:03:29

标签: linux redhat

我正在使用redhat,我需要安装make。但百胜没有找到制作套餐:

# yum install make --verbose
Config time: 0.059
Yum Version: 3.2.22
Setting up Package Sacks
pkgsack time: 0.084
rpmdb time: 0.000
Setting up Install Process
Checking for virtual provide or file-provide for make
Searching pkgSack for dep: make
No package make available.
Nothing to do

我也试图安装组开发工具:

# yum groupinstall 'Development Tools'
Setting up Group Process
Failed to add groups file for repository: epel - comps file is empty/damaged
Warning: Group Development Tools does not exist.
No packages in any requested group available to install or update

我的重组者如下:

# yum repolist
epel                                                                  | 3.7 kB     00:00
rhel-source                                                           | 2.6 kB     00:00
rpmforge                                                              | 1.9 kB     00:00
repo id                    repo name                                           status
epel                       Extra Packages for Enterprise Linux 5 - x86_64      6,733
rhel-source                Red Hat Enterprise Linux 5Server - Source           0
rpmforge                   RHEL 5Server - RPMforge.net - dag                   11,403
repolist: 18,136

1 个答案:

答案 0 :(得分:6)

我使用以下命令添加了基本Red Hat存储库:

cd /etc/yum.repo.d
wget http://public-yum.oracle.com/public-yum-el5.repo
cd /etc/pki/rpm-gpg/
wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5

现在yum install make。