-
Notifications
You must be signed in to change notification settings - Fork 973
Provide a more seamless way to upgrade Brave automatically on Linux #11287
Comments
On Linux you need to download beta releases manually. sorry for inconvenience! |
OK well can you program a way to get beta releases like in Windows via
clicking an update button on a prompt in the browser, with a details link?
|
Add an enhancement label perhaps?
|
I believe this is a |
@jamesray1 what is the behavior like for Chrome and Firefox? |
I'll look into setting up an automatic update with the package manager. I haven't noticed them update automatically as I haven't used them much. |
Maybe:
As per here. |
While logged in as the root user I ran:
However, brave was not one of the packages that was upgraded. |
I just uninstalled Brave and But now I can't open brave, while I can find it in Activities (right clicking on it after finding it in activities and selecting "show details" shows "No application found". Then when I look in installed apps, Brave is in the list, but when I click on it and click launch, nothing happens. So I removed it. I then tried:
However it skipped prompting for the password. |
So I logged in as a root user, and ran Then I ran:
Which returned: Then I ran:
That installed 0.19.20. However, then Brave doesn't show up in Ubuntu Software, and I still haven't figured out how to automatically update to the latest version. I could use the .deb file for the latest release but there must be a better way than having to keep manually installing the latest release. I ran:
However, the brave version listed within Brave is still 0.19.20. I closed Brave and ran The output was:
GDebi lists the version as 0.19.70. Note that the Lintian output exited with status 1. Interestingly, after I removed the package in GDebi, the version in Brave changed to 0.19.70! While it's good that I now have the latest release, I think it won't automatically update, so I'll still need to find out a way to do that. Brave is not found in the Software Centre or in the list of installed apps. |
Whoops, I realised I used I couldn't remove the package in GDebi; the program crashed. So I had to log in as a root user and remove each of the files/directories included. I then installed and open 0.19.70 with If you have any tips on how I can get Brave installed and updated to the latest release (beta or stable), that'd be appreciated. One idea is to use a Chron job, however I haven't tried using Chron jobs before, it looked like a bit of a hassle. |
I removed the package again with Then ran Then ran |
@jamesray1 I think that is the problem- we haven't been maintaining the snap packages Regarding the 2nd issue, I believe the problem is that you're on the Beta channel for Linux... Likely the last few deployments folks did not update the beta channel. Hang tight and I'll push an update on there |
@jamesray1 for reference: |
and crap- @jamesray1 I believe the best course of action would be to use the release channel for the moment. We've forcibly pushed an update for Windows/macOS which flushed beta users over to the release channel. However, we didn't cover Linux users in that case (and I don't have a fix for you unfortunately) @darkdh put in the work for true release channels which is captured in #10552 which we'll be merging soon. Once that is merged, we can do our first true "Beta" build. This uses a distinctly different profile than the one you've been using, which is the same as release channel. When this is pushed, you'll be able to install both concurrently |
OK I'll try 'snap install brave --release' after uninstalling Brave tomorrow. |
I think we should do something like Opera or add it to the cc @bsclifton , @bbondy |
|
@jamesray1 I updated the original post with notes about the experience @darkdh found Regarding snaps- I apologize... I don't know much about those. We aren't maintaining those ourselves (yet), so we don't have any control over what those do. I've never used that technology myself, I can only speak to installing via deb or rpm |
Yeah I just read that, I think that looks like a good option. |
@jamesray1 Brave does not have true channels (yet). These will be added with #10552 ex: current behavior whether you install from beta or release, it uses the same profile folder. Once this PR is accepted, you'll have distinct folders for beta and release installs With regards to installing the release one, you can follow the steps here: To get release binaries (when adding the source), you can run this:
To get beta binaries, you would instead run:
With regards to snapcraft, after looking over the docs, it looks like it possibly supports beta also. I'm curious if you can run:
to get the release version and
to get the beta version? |
Also logging in as root with |
Yes I tried following those steps as described above. |
@jamesray1 that is likely because the beta repo has not been updated. We are not going to touch it until the above PR is accepted, which will create a new For now, you'll want to remove that from /etc/apt/sources.list.d/ manually and then use the RELEASE source list:
This should properly add the 0.19.70 and you should be able to manually add it to Synaptic (if needed) so that you get auto-updates |
OK, I've done that. I'll just remove Brave then reinstall. |
OK so I ran those two lines. The last command returned:
|
hmm... not sure what went wrong..? @posix4e any ideas? |
There’s no artful distro pushes . Please choose one of the existing Debian or Ubuntu distro names. It’s the same Deb anyways |
Yeah @posix4e I guessed that was the case. I'll try Zesty. I'm not exactly sure how to run the command. I tried: However, it gave me a > prompt. |
@jamesray1 you're missing the ending " which should be right after the |
Whoops, I should've seen that! |
|
Yakkety
|
I was using Mozilla for a bit, but due to the ads I had to go back to using Brave with: As outlined other options are suboptimal or don't work. I'm glad to be back! |
After running |
(updated post by @bsclifton)
Installing Brave should add the package sources to
/etc/apt/sources.list.d
(or similar, based on the OS/window manager). We can prompt the user with a yes/no, how Opera does:Or we can just put the sources there ourselves, like Vivaldi does. After this is done, the packages will be managed by Synaptic (or similar) which means the user will be prompted with auto-updates
Original post
Searched for the title on Google and Github issues.
Steps to Reproduce
Actual result:
Brave doesn't prompt to update to the latest release, like it does in Windows 10.
Brave Version
Brave: 0.19.24
rev: 3b3fba2
Muon: 4.4.25
libchromiumcontent: 61.0.3163.100
V8: 6.1.534.41
Node.js: 7.9.0
Update Channel: Beta
OS Platform: Linux
OS Release: 4.10.0-35-generic
OS Architecture: x64
Reproducible on current live release:
I don't know about after 0.19.24.
The text was updated successfully, but these errors were encountered: