How can I get rid of these dnf related errors/messages?

Fedora version : 34

I want to remove vivaldi browser software which I installed sometime back. So, I was just searching for the vivaldi package using dnf search command as shown in the log below

When I run the below dnf search command I get the following errors/messages related to other softwares like

  1. Atom editor package
  2. Etcher package
  3. VirtualBox

So, I have 2 basic questions

Question 1.
When I am checking if vivaldi package is installed in my server using dnf search vivaldi command why I am being prompted to import GPG keys other softwares like Atom editor, VirtualBox, as shown below ?

Question2. How can I get rid of these errors/messages ?

Log:

[johndoe@localhost ~]$ dnf search vivaldi
Repository vivaldi is listed more than once in the configuration
Adobe Systems Incorporated                                                                                4.1 kB/s | 2.0 kB     00:00    
Atom Editor                                                                                               169  B/s | 833  B     00:04    
Atom Editor                                                                                               4.4 kB/s | 3.8 kB     00:00    
Importing GPG key 0xDE9E3B09:
 Userid     : "https://packagecloud.io/AtomEditor/atom (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>"
 Fingerprint: 0A0F AB86 0D48 5603 32EF B581 B754 42BB DE9E 3B09
 From       : https://packagecloud.io/AtomEditor/atom/gpgkey
Is this ok [y/N]: y
Atom Editor                                                                                               2.0 MB/s |  15 MB     00:07    
created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/                  33 kB/s | 9.3 kB     00:00    
etcher-rpm                                                                                                 19  B/s |  10  B     00:00    
Errors during downloading metadata for repository 'etcher-rpm':
  - Status code: 403 for https://dl.bintray.com/etcher/redhat/repodata/repomd.xml (IP: 3.66.199.110)
Error: Failed to download metadata for repo 'etcher-rpm': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Fedora 34 openh264 (From Cisco) - x86_64                                                                  4.3 kB/s | 2.5 kB     00:00    
Fedora Modular 34 - x86_64                                                                                4.6 MB/s | 3.8 MB     00:00    
Fedora Modular 34 - x86_64 - Updates                                                                      1.2 MB/s | 887 kB     00:00    
Fedora 34 - x86_64 - Updates                                                                              7.4 MB/s | 8.2 MB     00:01    
Fedora 34 - x86_64                                                                                         11 MB/s |  57 MB     00:05    
google-chrome                                                                                              27 kB/s | 3.6 kB     00:00    
RPM Fusion for Fedora 34 - Free - Updates                                                                  77 kB/s |  28 kB     00:00    
RPM Fusion for Fedora 34 - Free                                                                           2.0 MB/s | 941 kB     00:00    
RPM Fusion for Fedora 34 - Nonfree - NVIDIA Driver                                                         22 kB/s | 8.8 kB     00:00    
RPM Fusion for Fedora 34 - Nonfree - Updates                                                               33 kB/s |  13 kB     00:00    
RPM Fusion for Fedora 34 - Nonfree                                                                        632 kB/s | 246 kB     00:00    
Fedora 34 - x86_64 - VirtualBox                                                                           140  B/s | 181  B     00:01    
Fedora 34 - x86_64 - VirtualBox                                                                           1.9 kB/s | 1.7 kB     00:00    
Importing GPG key 0x98AB5139:
 Userid     : "Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>"
 Fingerprint: 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139
 From       : https://www.virtualbox.org/download/oracle_vbox.asc
Is this ok [y/N]: y
Fedora 34 - x86_64 - VirtualBox                                                                            18 kB/s |  14 kB     00:00    
vivaldi                                                                                                    37 kB/s |  11 kB     00:00    
Visual Studio Code                                                                                        8.6 MB/s |  14 MB     00:01    
Ignoring repositories: etcher-rpm
==================================================== Name & Summary Matched: vivaldi =====================================================
vivaldi-snapshot.x86_64 : Vivaldi (snapshot)
vivaldi-stable.x86_64 : Vivaldi
[johndoe@localhost ~]$ 
[johndoe@localhost ~]$ 
[johndoe@localhost ~]$ uname -a
Linux localhost.localdomain 5.11.17-300.fc34.x86_64 #1 SMP Wed Apr 28 14:21:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[johndoe@localhost ~]$
1 Like

When you add a repository and download its metadata for the first time, dnf will ask to import its gpg key if repo_gpgcheck=1 is set for that repository. Error messages for etcher are caused by the etcher repo itself, you can disable it or ask them to fix their repo (it might be a temporary problem about their infrastructure, so you can just ignore that for a while). To disable it:

sudo dnf config-manager --disable etcher-rpm

To enable it later if you want:

sudo dnf config-manager --enable etcher-rpm
2 Likes