Yum updater does not work, no repolist on my CentOS system.
Good day all.
I've installed CentOS 7 on a VM without any noticeable problems. However, when trying to update the system, I found that yum updater does not work. It seems I do not have any repos defined. Code:
[root@centos7 brh]# yum check-update Code:
[root@centos7 brh]# yum repolist all Code:
[root@centos7 brh]# cat /etc/yum.conf Thanks in advance, Bjoern |
You have to enable the EPEL Repo-
See this link: http://www.tecmint.com/how-to-enable...el-centos-6-5/ |
1 Attachment(s)
@brh1, the repo`s are not defined in /etc/yum.conf . Never.
'yum' will look for repo files in /etc/yum/repos.d/, where the enabled file is CentOS-Base.repo . Attached as CentOS7-Base.repo.txt . Extra repo`s : Simply add a file, e.g. 'epel.repo' : # yum install Downloads/epel-release-7-5.noarch.rpm https://dl.fedoraproject.org/pub/epe...7-5.noarch.rpm Ref. https://fedoraproject.org/wiki/EPEL - |
Quote:
I made a directory /etc/yum/repos.d and dropped the repo file you attached in it. Here's the yum check-update result: Code:
[root@centos7 repos.d]# yum check-update Bjoern |
Quote:
I tried your method, downloading the rpm was no problem, but the installation failed: Code:
[root@centos7 repos.d]# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm Bjoern |
Quote:
It may have failed because the extras were disabled? Try this: Code:
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm https://www.centos.org/docs/5/html/y...ositories.html http://www.rackspace.com/knowledge_c...os-and-red-hat |
Re #4.
Quote:
? How did you get your OS messed up ? ( /etc/yum/repos.d/ is always present after the OS install.) - |
Quote:
WTF that folder IS!!! a default folder it WAS made at the time of install it IS part of the Operation system it is like saying that "C:\\Program Files (x86)\Common Files" is missing on a windows machine REINSTALL this severely broken OS |
Quote:
Code:
[brh@localhost yum]$ ls -la /etc/yum |
That is correct, there isn't a /etc/yum/repos.d. It changed in version 7. Did anyone read the 1st post?
Quote:
|
Quote:
Nope. Now it barfed a different error message: Code:
[root@localhost brh]# yum check-update |
What virtual software are you running i.e. vmware, virtualbox etc.
How did you configure the VM network adapter? |
Quote:
Bjoern |
All times are GMT -5. The time now is 07:54 PM. |