Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question. Don’t forget to select tags to help index your topic!
1. Describe your incident:
sudo dnf upgrade graylog
graylog 366 B/s | 406 B 00:01
graylog 916 kB/s | 938 B 00:00
graylog 396 B/s | 406 B 00:01
Errors during downloading metadata for repository ‘graylog’:
Status code: 404 for ://packages.graylog2.org/repo/el/stable/4.3/x86_64/repodata/repomd.xml.asc (IP: 54.91.6.89)
Status code: 404 for ://packages.graylog2.org/repo/el/stable/4.3/x86_64/repodata/repomd.xml.asc (IP: 54.196.16.164)
Error: Failed to download metadata for repo ‘graylog’: 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 ://packages.graylog2.org/repo/el/stable/4.3/x86_64/repodata/repomd.xml.asc (IP: 54.196.16.164)
2. Describe your environment:
OS Information: Rocky Linux release 9.0 (Blue Onyx)
Package Version: 4.3
Service logs, configurations, and environment variables:
sudo cat /etc/yum.repos.d/graylog.repo
3. What steps have you already taken to try and solve the problem?
Have tried making edits to the repos file
have tried:
sudo dnf clean packages
sudo rpm --rebuilddb -v
sudo dnf update --refresh
Status code: 404 for https://packages.graylog2.org/repo/el/stable/4.3/x86_64/repodata/repomd.xml.asc (IP: 54.91.6.89)
Error: Failed to download metadata for repo ‘graylog’: 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 ://packages.graylog2.org/repo/el/stable/4.3/x86_64/repodata/repomd.xml.asc (IP: 54.196.16.164)
error: /var/tmp/rpm-tmp.FvFjmT: Header V4 RSA/SHA1 Signature, key ID b1606f22: BAD
error: /var/tmp/rpm-tmp.FvFjmT cannot be installed
sudo yum install graylog-server graylog-enterprise-plugins graylog-integrations-plugins graylog-enterprise-integrations-plugins
graylog 361 B/s | 406 B 00:01
graylog 916 kB/s | 938 B 00:00
graylog 387 B/s | 406 B 00:01
Errors during downloading metadata for repository ‘graylog’:
Status code: 404 for ://packages.graylog2.org/repo/el/stable/4.3/x86_64/repodata/repomd.xml.asc (IP: 54.91.6.89)
Status code: 404 for ://packages.graylog2.org/repo/el/stable/4.3/x86_64/repodata/repomd.xml.asc (IP: 54.196.16.164)
Error: Failed to download metadata for repo ‘graylog’: 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 ://packages.graylog2.org/repo/el/stable/4.3/x86_64/repodata/repomd.xml.asc (IP: 54.196.16.164)
Please let me know if there are any other commands to try.
Remove Graylog repo and ensure you put the correct full name. Below is an example.
root # yum remove graylog*
Check repo directory to ensure it clean.
root # ls -al /etc/yum.repos.d/
NOTE: If you still see your Graylog repo then force remove it. Two ways to do this, use the full path or enter the repoistory and remove it from there.