Please help fill in this template with all the details to help others help you more efficiently. Use
formatting blocks for code, config, logs
and ensure to remove sensitive data.
[myUser@myHost yum.repos.d]# for pubring in /var/cache/dnf/gitlab_gitlab-?e-*/pubring
> gpg --homedir $pubring --delete-key F6403F6544A38863DAA0B6E03F01618A51312F3F
gpg: WARNING: unsafe permissions on homedir '/var/cache/dnf/gitlab_gitlab-ce-2ebe8376d0fbb9f4/pubring'
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
pub rsa4096/3F01618A51312F3F 2020-03-02 GitLab B.V. (package repository signing key) <[email protected]>
Delete this key from the keyring? (y/N) y
gpg: WARNING: unsafe permissions on homedir '/var/cache/dnf/gitlab_gitlab-ce-source-25fc24ba97d5cff1/pubring'
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
pub rsa4096/3F01618A51312F3F 2020-03-02 GitLab B.V. (package repository signing key) <[email protected]>
Delete this key from the keyring? (y/N) y
gpg: WARNING: unsafe permissions on homedir '/var/cache/dnf/gitlab_gitlab-ce-source-c35465ca56c678d8/pubring'
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
pub rsa4096/3F01618A51312F3F 2020-03-02 GitLab B.V. (package repository signing key) <[email protected]>
Delete this key from the keyring? (y/N) y
[myUser@myHost yum.repos.d]#
[myUser@myHost yum.repos.d]# dnf check-update
Official repository for Gitlab 656 B/s | 862 B 00:01
Official repository for Gitlab 20 kB/s | 3.1 kB 00:00
Official repository for Gitlab 873 B/s | 862 B 00:00
Error: Failed to download metadata for repo 'gitlab_official_ce': repomd.xml GPG signature verification error: Bad GPG signature
[myUser@myHost yum.repos.d]# curl "https://packages.gitlab.com/gpg.key" -o /tmp/omnibus_gitlab_gpg.key
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3191 0 3191 0 0 20856 0 --:--:-- --:--:-- --:--:-- 20856
[myUser@myHost yum.repos.d]# rpm --import /tmp/omnibus_gitlab_gpg.key
[myUser@myHost yum.repos.d]# rpm -q gpg-pubkey-f27eab47-60d4a67e --qf '%{name}-%{version}-%{release} --> %{summary}'
package gpg-pubkey-f27eab47-60d4a67e is not installed
[myUser@myHost yum.repos.d]# dnf check-update
Official repository for Gitlab 662 B/s | 862 B 00:01
Official repository for Gitlab 21 kB/s | 3.1 kB 00:00
Official repository for Gitlab 704 B/s | 862 B 00:01
Error: Failed to download metadata for repo 'gitlab_official_ce': repomd.xml GPG signature verification error: Bad GPG signature
[myUser@myHost yum.repos.d]#