Hello everyone!
We’ve recently had an issue with installing Brave from terminal on Ubuntu/Ubuntu builds. The issue is captured here:
[Grabbed from the above issue] Users are receiving an error message:
E: Malformed entry 1 in list file /etc/apt/sources.list.d/brave-browser-release-bionic.list (component)
E: The list of sources could not be read.
If you read through comments in the GH thread, you’ll see that we thought we’d identified the issue:
@[mihaiplesa] That
-a
has to be taken out from tee in the docs.
This seems to work for some users (myself included) but not for others. I’ve had a couple DMs/replies on here and on Reddit reporting the error persisting.
This is obviously a big deal for us and we apologize for the inconvenience for our Linux users. I’d like to get a better gauge on the situation, so if any Ubuntu users wouldn’t mind testing a few things out for me and posting the results here it would really help us narrow down the scope of the error.
If interested, here’s how you can help:
If you already have the Release build installed on Ubuntu
(click arrow to expand)
Try the following
- Try installing the Beta or Dev builds using the commands found here
- If you receive the error mentioned above (or any error I suppose), try the commands without the
-a
in the tee command. If you’re having trouble locating it, its in the second set of commands that start with theecho
statement. So this:
- If you receive the error mentioned above (or any error I suppose), try the commands without the
echo "deb [arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ `lsb_release -sc` main" | sudo tee -a /etc/apt/sources.list.d/brave-browser-beta-`lsb_release -sc`.list
Should now be this:
echo "deb [arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ `lsb_release -sc` main" | sudo tee /etc/apt/sources.list.d/brave-browser-beta-`lsb_release -sc`.list
Note: Both the above commands are for Brave Beta, see the above link for commands specific to Release/Dev build.
If you don’t have the release build installed or don’t mind uninstalling then reinstalling a fresh build
Try the following
- Essentially the same steps as the option above, but I’m specifically interested in the results from attempting to install the release build
- If you receive the error mentioned (or any error I suppose) using the above install commands, try the commands without the
-a
in the tee command. If you’re having trouble locating it, its in the second set of commands that start with theecho
statement. So this:
- If you receive the error mentioned (or any error I suppose) using the above install commands, try the commands without the
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ `lsb_release -sc` main" | sudo tee -a /etc/apt/sources.list.d/brave-browser-release-`lsb_release -sc`.list
Should now be this:
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ `lsb_release -sc` main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-`lsb_release -sc`.list
If you try the commands and it works, let me know:
- Which build you installed
- Did it work as is or did you have to remove the
-a
? - If this is the first time installing the build on this machine or if you uninstalled first
- The Ubuntu version you installed on
For example:
Release build installed
Failed with current instructions, succeeded after removing-a
fromtee
command
First time installing
Ubuntu 18.04
If the instructions did not work using current install instructions or after removing the -a
command and Brave was not installed, let me know:
- Which build you attempted to install
- If this is the first time attempting to install this build on this machine or if you uninstalled first
- The Ubuntu version you attempted the install on
I really appreciate anyone who takes the time to test this for us. Even just a few replies can help give a clearer picture of what’s going on.
Additionally, I’ll use this as a “Master” thread for this issue, so if anyone notices someone reporting this issue before I do, please direct them to this thread as well.
Thank you!
EDIT:
Just thought I’d mention to any advanced users or users familiar with the software: you can also try this with a fresh install on a Virtual Machine if you don’t want to fiddle with anything on your primary machine.