[Slackbuilds-users] brave-browser-the-latest broken weeks

David Chmelik davidnchmelik at gmail.com
Fri Aug 15 05:18:32 UTC 2025


On 8/14/25 8:57 PM, Willy Sudiarto Raharjo wrote:
>>> Or use different TAGS if you want to build from other repository as 
>>> advised in SBo FAQs.
>> http://slackbuilds.org/repository/15.0/system/brave-browser-the-latest/
>
> From the script:
> PRGNAM=brave-browser-the-latest
> /sbin/makepkg -l y -c n 
> $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
>
> it should be brave-browser-the-latest-1.4-x86_64-1_SBo.tgz
>
> i just tested here and it produce the correct output
Perhaps misunderstanding?  To quote Antonio Leal's (antonioleal) README 
from SBo above, not Andrew Payne (phalange),

'Maintaining an updated Brave Browser on Slackware is now made
easier with this small program, "brave-browser-the-latest".
It is a simple python script that checks what is the latest
version available and updates it on your Slackware box.

You can run this script manually or automatically with the
provided cron.hourly script. The cron script will attempt to
identify which user to notify, otherwise you can edit it and set
the variable USERNAME=’your username’

[...] Normally it is asked if you want to install the new version, but
providing the argument "silent" will just update with no
human intervention.
The argument "gui" will download the Brave package allowing you to
manually upgrade the browser.'

This is a little bit what brave-browser-the-latest v1.4 (not brave's 
version but updater version) does... checks for an installed and then 
latest .deb and makes & installs, etc.

[...]
# Download the deb package
def download_deb_package(ver):
     os.chdir("SlackBuild")
     os.system('/usr/bin/wget %s/%s' % (DOWNLOAD_LINK % ver , BINARY_FILE % ver))
     os.chdir("..")

# Prepare a SlackBuild and Install on you box
def install(latest_version):
     os.chdir("SlackBuild")
     log = "Installing Brave Browser " + str(latest_version)
     log = os.popen('sed  "s/_version_/%s/" brave-browser.SlackBuildTemplate > brave-browser.SlackBuild' % latest_version).read()
     log = os.popen('chmod +x brave-browser.SlackBuild').read()
     log = os.popen('./brave-browser.SlackBuild').read()
     log += os.popen('/sbin/upgradepkg --install-new /tmp/brave-browser-%s-x86_64-1.tgz' % latest_version).read()
     os.chdir("..")
     return log
[...]

Sometime in last section, if you use X Window System, 
brave-browser-installer checks hourly and on new release does popup 
question if you want to upgrade. I accepted, and then the popup showed 
rest of installation process (directly above) and error message I 
quoted. This time it tried to download & install (using Antonio's 
package's SlackBuild) aforementioned version. You can see above it 
looked in /tmp and tried to install a newer version it tried to make 
(1.81.135) than phalange's version (1.81.131) which no one ever said the 
error has to do with: clearly doesn't!
         I realise there's some confusion having brave-browser and 
brave-browser-the-latest on SBo.  I installed brave-browser-the-latest 
directly from SBo: don't know anything about it on LinuxQuestions.



More information about the SlackBuilds-users mailing list