Malformed entry 1 in list file /etc/apt/sources.list.d/brave-browser-release-.list (Component)

linux
#1

Hi Brave Browser Community,

I am stuck in the following error whenever I try to work in ubuntu 18.1 terminal

E: Malformed entry 1 in list file /etc/apt/sources.list.d/brave-browser-release-.list (Component)

E: The list of sources could not be read.

E: Malformed entry 1 in list file /etc/apt/sources.list.d/brave-browser-release-.list (Component)

E: The list of sources could not be read.

What should I do?

I tried a solution in https://www.reddit.com/r/brave_browser/comments/aex31y/malformed_entry_1_in_list_file/
but it is showing the following error:

rm: cannot remove ‘/etc/apt/sources.list.d/brave-browser-dev-.list’: No such file or directory

Kindly help me out in this as I have a lot of stuff to install and work;

I am a newbie to tech and ubuntu?