#264 Failed to download metadata for repo 'epel' Rocky linux 9.3
Closed: Unable to Fix by carlwgeorge. Opened by ciril88.

Hello,

I have problem with installing packages from epel repo i installed epel-release and then i try to install for example: htop and
dnf install htop
Extra Packages for Enterprise Linux 9 - x86_64 907 B/s | 196 B 00:00
Extra Packages for Enterprise Linux 9 - x86_64 1.6 MB/s | 1.6 kB 00:00
Extra Packages for Enterprise Linux 9 - x86_64 8.9 kB/s | 196 B 00:00
Errors during downloading metadata for repository 'epel':
- Status code: 404 for http://ftp.arnes.si/mirrors/epel/9/Everything/x86_64/repodata/repomd.xml.asc (IP: xxx.xxx.xxx.xxx)
Error: Failed to download metadata for repo 'epel': GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification: Status code: 404 for http://ftp.arnes.si/mirrors/epel/9/Everything/x86_64/repodata/repomd.xml.asc (IP: xxx.xxx.xxx.xxx)

If i disable gpg-check work fine. But i wanna leave gpg-check enabled. Any solution for this?

Thanks for help.

Best regards,
Ciril

epel.JPG


Problem is if persistent paramter in /etc/dnf/dnf.conf
repo_gpgcheck=1

If i set that parameter to repo_gpgcheck=0 works fine.

Best regards,
Ciril

EPEL only offers signed packages, not signed repodata. Similar to the gpgcheck setting, the repo_gpgcheck setting should only be applied on a per-repo basis (for repos that have signed repodata), not globally in dnf.conf.

Metadata Update from @carlwgeorge:
- Issue close_status updated to: Unable to Fix
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/epel/steering/issues/264

Please continue any further discussion there.

Metadata