yum update or another command not working in Centos 8.2

Issues related to applications and software problems and general support
Post Reply
nithin
Posts: 2
Joined: 2020/11/18 09:25:35

yum update or another command not working in Centos 8.2

Post by nithin » 2020/11/18 10:07:25

Hi,

Installed centos-release-8.2-2.2004.0.2.el8.x86_64 in Dell ServerPC
When im executing the below command its giving error as shown below:

[root@localhost ~]# yum update
Extra Packages for Enterprise Linux Modular 8 - 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'epel-modular':
- Curl error (7): Couldn't connect to server for https://mirrors.fedoraproject.org/metal ... ent=centos [Failed to connect to mirrors.fedoraproject.org port 443: Connection refused]
Error: Failed to download metadata for repo 'epel-modular': Cannot prepare internal mirrorlist: Curl error (7): Couldn't connect to server for https://mirrors.fedoraproject.org/metal ... ent=centos [Failed to connect to mirrors.fedoraproject.org port 443: Connection refused]

For many commands to download some softwares, i am facing same error. Please tell me solution to solve this

User avatar
TrevorH
Forum Moderator
Posts: 29902
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update or another command not working in Centos 8.2

Post by TrevorH » 2020/11/18 10:12:30

The problem is with the EPEL Modular repo which is not supplied by CentOS. You need to ask them why it is not working but in the meantime you can disable the repo by editing its file in /etc/yum.repos.d and changing enabled=1 to 0. Or override it per command using yum --disablerepo=epel-modular ...
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

nithin
Posts: 2
Joined: 2020/11/18 09:25:35

Re: yum update or another command not working in Centos 8.2

Post by nithin » 2020/11/18 11:29:41

- You need to ask them why it is not working >>> to whom i need to contact??
- Meanwhile i have modified conf for repo epel-modular by changing enabled from 1 to 0 now error is coming for repo epel
and again modified epel repo conf file, now its working

- When i m executing this command sudo yum -y install dkms i m getting error as
No match for argument: dkms
Error: Unable to find a match: dkms
Please tell me solution for this

Post Reply

Return to “CentOS 8 - General Support”