Error: Failed to download metadata for repo 'epel-modular'

0 votes

Hi Guys,

I have created one repo file to download the metadata of the software. But it is showing me the below error.

Extra Packages for Enterprise Linux Modular 8 - x86_64     0.0  B/s |   0  B     00:00
Failed to download metadata for repo 'epel-modular'
Error: Failed to download metadata for repo 'epel-modular'

How can I solve this error?

Jun 22 in Linux Administration by akhtar
• 18,250 points
288 views

1 answer to this question.

0 votes

Hi@akhtar,

Before running dnf repolist command, try to clean the cache of your dnf command. You can use the below-given command.

$ sudo rm -r /var/cache/dnf 

I hope this will solve your error.

answered Jun 22 by MD
• 42,420 points

Related Questions In Linux Administration

0 votes
1 answer

Error saying "Failed to start httpd.service: Unit httpd.service not found."

Execute the following steps or make sure ...READ MORE

answered May 13, 2019 in Linux Administration by Kiara
6,341 views
–1 vote
1 answer

How to use help command for ls?

The help command is limited and it ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,020 points
1,041 views
0 votes
1 answer

Error when trying to install a few packages on ubuntu

Try executing the following commands and try ...READ MORE

answered Mar 15, 2019 in Linux Administration by Jobin
262 views
0 votes
1 answer

Argument receiving error for rm command

Bash actually expands the asterisk to every ...READ MORE

answered Jun 7, 2019 in Linux Administration by Shubham
• 13,380 points
90 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
162 views
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

answered Mar 22, 2019 in Database by Nitesh
138 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22, 2019 in Database by Mahi
93 views
0 votes
1 answer

Job for httpd.service failed because the control process exited with error code.

Hi@akhtar, This problem is caused due to SELinux. It ...READ MORE

answered Apr 23 in Linux Administration by MD
• 42,420 points
691 views