yum update or another command not working in Centos 8.2
yum update or another command not working in Centos 8.2
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
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
Re: yum update or another command not working in Centos 8.2
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 ...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: yum update or another command not working in Centos 8.2
- 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
- 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
Re: yum update or another command not working in Centos 8.2
Dear nithin,
Could you please share if you are able to fix this error? Thank you
I got the same problem with you when
I changed enable from 1 to 0 in both epel-modular.repo and epel.repo
Then got the same error with you
Best
Ha Chi
Could you please share if you are able to fix this error? Thank you
I got the same problem with you when
Code: Select all
yum install nco
Then got the same error with you
Code: Select all
Error: Unable to find a match: nco
Ha Chi
Re: yum update or another command not working in Centos 8.2
Hi,
If I enable the epel.repo,
the message error like this:
If I enable the epel.repo,
the message error like this:
Code: Select all
[root@localhost ~]# sudo yum install nco
Extra Packages for Enterprise Linux 8 - x86_64 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'epel':
- Curl error (1): Unsupported protocol for https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=centos [Protocol "https" not supported or disabled in libcurl]
Error: Failed to download metadata for repo 'epel': Cannot prepare internal mirrorlist: Curl error (1): Unsupported protocol for https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=centos [Protocol "https" not supported or disabled in libcurl]
Re: yum update or another command not working in Centos 8.2
The error says it all. Replace https with http.Hachi-ait wrote: ↑2021/01/22 09:23:30Code: Select all
- Curl error (1): Unsupported protocol for https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=centos [Protocol "https" not supported or disabled in libcurl]
Re: yum update or another command not working in Centos 8.2
@Hachi-ait: Your error is different from nithin's. You have hijacked old thread unnecessarily.
The URL in 8-8.el8 (package from 'extras') is identical; both use HTTPS. The 'curl' should support HTTPS just fine.
Why does curl give that error?
Does it say the same, when used directly?
Code: Select all
$ rpm -qf /etc/yum.repos.d/epel.repo
epel-release-8-10.el8.noarch
$ sudo dnf -q list --showduplicates epel-release
Installed Packages
epel-release.noarch 8-10.el8 @epel
Available Packages
epel-release.noarch 8-8.el8 extras
$ grep metalink /etc/yum.repos.d/epel.repo
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
Why does curl give that error?
Does it say the same, when used directly?
Code: Select all
$ curl 'https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=centos'
Re: yum update or another command not working in Centos 8.2
Hummmmmm. This is not that big a mystery. First you are using CentOS 8.2 which is HORRIBLE!! Upgrade to 8.3 -- yes 8.3 is BAD but it is usable, as right now I am kicking its tires. I am fully expecting it will be 8.5 that we will see a fully polished OS with only a few rough edges.nithin wrote: ↑2020/11/18 10:07:25Hi,
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
Second you are using DELL the computer I love to hate. My sister has had many and I have worked on all of them. Dell is God's joke on computer users. There has never been a more cheaply made, with parts as cheap as they could find, yet sold for a kings ransom, computer. DELL computers are the Frankenstein's Monster of computers. I can see them running around crying, "It's ALIVE!!! It's ALIVE!!!"
D'Cat