I am trying to install software in my raspberry pi running resbian. Every time I try to install anything from through the terminal I get "Malformed entry 1 in list file /etc/apt/sources.list.d/brave-browser-release-.list (Component) The list of sources could not be read."

EDIT: After tying "sudo cat /etc/apt/sources.list.d/brave-browser-release-.list" I get "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ main" is response, my friend was using the device and may have attempted an install of the "Brave Browser", how do I remove the file? When I open a file explorer and dig down to the file I can't remove it due to insufficient privileges.

  • 1
    What's in the file? It's not a standard Raspbian file. You probably tried to install a program ('brave browser'?) and that created a file with the above problem. If you're not sure about the contents then you should add it to the question so that others can help you. Deleting the file would also solve the problem...
    – Dirk
    Commented Jun 20, 2019 at 22:51
  • please add to the question the output of the following command: sudo cat /etc/apt/sources.list.d/brave-browser-release-.list Commented Jun 21, 2019 at 2:01
  • @Dirk That may be possible, my friend was using my pi for a bit so he might have done something, how do I delete it? Commented Jun 21, 2019 at 14:50
  • @JaromandaX I get "deb [arch=amd64] brave-browser-apt-release.s3.brave.com main", I will also edit my response to include this information. Commented Jun 21, 2019 at 14:51
  • You can remove the file with the rm (remove) command. Use sudo rm /etc/apt/sources.list.d/brave-browser-release-.list
    – Dirk
    Commented Jun 21, 2019 at 15:26

2 Answers 2


You are asking to delete the unneeded and malformed file "/etc/apt/sources.list.d/brave-browser-release-.list". On the command line just execute this command:

rpi ~$ sudo rm /etc/apt/sources.list.d/brave-browser-release-.list
  • note: the command starts is just sudo rm /etc/apt/sources.list.d/brave-browser-release-.list ... the first bit, rpi ~$ is the command prompt Commented Jun 21, 2019 at 21:44

Simple removal.

sudo apt rm /brave-release-.list

  • If I try the command, I get E: Invalid operation rm. apt does not have an operation rm. Where is your typo?
    – Ingo
    Commented Sep 21, 2019 at 19:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.