Gpg: no valid OpenPGP data found. and while updating Failed to fetch Temporary failure resolving ''

While installing, I get the error gpg: no valid OpenPGP data found. on executing curl -s | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -

And after reading the discussions I tried curl and got curl: (6) Could not resolve host:

I am able to install the browser, but I cannot update it.
How can this be resolved?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.