m0_38144124
m0_38144124
2017-07-03 10:16

关于Linux6 系统dvd加载yum源问题,加载不起

3
  • yum
  • linux
  • red hat

我按照网上说明,先把硬盘挂在mnt/cdrom下:
.repos.d 文件配置如下:
[local]
name=local_yum
baseurl=file:///mnt/cdrom/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releas

执行结果:
[root@Lu]# yum update
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security,
: subscription-manager, tmprepo, verify, versionlock
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading support for Red Hat kernel ABI
local | 3.9 kB 00:00 ...
local/primary_db | 3.1 MB 00:00 ...
Setting up Update Process
No Packages marked for Update

请问下为什么 No Packages ........ 的啊 请问我们哪里错了?

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答