[root@web local]# yum install httpd
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Bad id for repo: rhel local, byte = 4
Setting up Install Process
No package httpd available.
Error: Nothing to do
这种情况该如何解决
[root@web local]# more /etc/yum.repos.d/rhel-source.repo
[rhel local]
name= local
baseurl:file:///media/local
enabled=1
gpgcheck=0
yum安装httpd时出错,提示Nopackagehttpdavailable.
答案:3 悬赏:80 手机版
解决时间 2021-01-03 11:18
- 提问者网友:半生酒醒
- 2021-01-02 19:19
最佳答案
- 五星知识达人网友:北方的南先生
- 2021-01-06 19:17
系统没有注册,YUM不可用。
全部回答
- 1楼网友:妄饮晩冬酒
- 2021-01-06 20:08
yum仓库问题。
#yum -y update
[root@malu2 yum.repos.d]# yum search vim
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.hosting90.cz
* extras: mirror.hosting90.cz
* updates: mirror.hosting90.cz
vim-X11.x86_64 : The VIM version of the vi editor for the X Window System.
vim-common.x86_64 : The common files needed by any version of the VIM editor.
vim-enhanced.x86_64 : A version of the VIM editor which includes recent
: enhancements.
vim-minimal.x86_64 : A minimal version of the VIM editor.
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯