- 论坛徽章:
- 0
|
我把RHEL5 光盘里的的server底下说有的RPM包拷到 /home/software 底下,定义YUM下载源的文件为 /etc/yum.repos.d/software.repo
####software.repo的内容为:
[root@localhost /]# cat /etc/yum.repos.d/software.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///home/software
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
但是我在执行yum install cpus 的时候却出现了
[root@localhost /]# yum install cpus
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
file:///home/software/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/home/software/repodata/repomd.xml'
Trying other mirror.
Setting up Install Process
No package cpus available.
Nothing to do
有人知道如何解决这样的问题吗?在此谢过 |
|