The problem is the entry somehow added a quote to it so it reads as "deb,
which is not acceptable.
You can either delete the created file
Code:
sudo rm /etc/apt/sources.list.d/brave-browser-release.list
and try the echo command again.
Or open the file in an editor and remove the offending quotes.
Code:
sudoedit /etc/apt/sources.list.d/brave-browser-release.list
Note that sudoedit will use whatever the set editor is,
in Ubuntu the default is the nano editor.
Some nano editor basics here: https://linuxize.com/post/how-to-use-nano-text-editor/
If you want to run with a different editor you can follow the answer found here: https://askubuntu.com/questions/4546...mand-to-be-vim
Bookmarks