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, 2020 in Linux Administration by akhtar
• 38,170 points
2,247 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, 2020 by MD
• 95,180 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
14,434 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,130 points
1,478 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
557 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,480 points
155 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
303 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 11, 2020 in Database by Prachi
• 140 points
264 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
183 views
0 votes
2 answers

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

Hi guys I was facing same problem as ...READ MORE

answered Nov 21, 2020 in Linux Administration by anonymous
• 140 points
6,757 views