SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,192
Rep:
Open a terminal, sign on as root, and start sbopkg.
Tell it to sync with the remote repository.
Tell it to, "List potential updates to intalled SBo packages"
You should be able to figure it out from there.
Last edited by cwizardone; 12-09-2020 at 08:51 AM.
Reason: Typo.
Open a terminal, sign on as root, and start sbopkg.
Tell it to sync with the remote repository.
Tell it to, "List potential updates to intalled SBo packages"
You should be able to figure it how from there.
some stuff's updated, but discord still says it needs to update
Sometimes the maintainer of a slackbuild will not be up to date on the latest software. That discord update only showed up in the last week, so it may take some time for the maintainer to get around to it.
In the meanwhile you can just update it yourself by downloading the discord-0.0.13.deb source and either run the slackbuild using "VERSION=0.0.13 ./discord.Slackbuild", or, edit the "VERSION=" line in the discord.Slackbuild file and then run it. That will build a new .tgz package in /tmp, then you can use upgradepkg to update your discord install. I just did that two days ago and it worked fine here.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,192
Rep:
Quote:
Originally Posted by 0XBF
Sometimes the maintainer of a slackbuild will not be up to date on the latest software. That discord update only showed up in the last week, so it may take some time for the maintainer to get around to it.
In the meanwhile you can just update it yourself by downloading.......
Excellent point!
Thanks for bringing that up.
Downloaded the source and updated several SBo packages myself, as needed.
Sometimes the maintainer of a slackbuild will not be up to date on the latest software. That discord update only showed up in the last week, so it may take some time for the maintainer to get around to it.
In the meanwhile you can just update it yourself by downloading the discord-0.0.13.deb source and either run the slackbuild using "VERSION=0.0.13 ./discord.Slackbuild", or, edit the "VERSION=" line in the discord.Slackbuild file and then run it. That will build a new .tgz package in /tmp, then you can use upgradepkg to update your discord install. I just did that two days ago and it worked fine here.
Within sbopkg itself, you can search for the discord package, choose Custom, choose the .info file, change all occurrences of 0.0.12 to 0.0.13, choose the SlackBuild, edit the version in there, then choose Process. It will ask if you want to use your local changes, and when you confirm, it will download the new package, error on the md5sum, and give you the chance to build anyway. That should build and install an updated package for you.
Within sbopkg itself, you can search for the discord package, choose Custom, choose the .info file, change all occurrences of 0.0.12 to 0.0.13, choose the SlackBuild, edit the version in there, then choose Process. It will ask if you want to use your local changes, and when you confirm, it will download the new package, error on the md5sum, and give you the chance to build anyway. That should build and install an updated package for you.
Here's another way, since I update SBo packages just for myself fairly often (Zoom...). I keep a git repo (-current or stable), and generally in the directory for a given SlackBuild can just do:
Code:
sbup -i [version]
Which will download, update info/SlackBuild (including md5sums), and build/install it. Actually with sbuild it can do a test run and check if the build process does any writing outside of /tmp.
There's a screencast included here that shows how it works. It's kind of aimed more at maintainers, but anyone could use it. Note that it won't work for multi-line download .info files (usually any rust build), or any SlackBuild that's more complicated than needing a $VERSION bump.
If you really need something new it is possible to download the new source and edit the slackbuild to reflect the new version. Sometimes that just works. When it doesn't you are told what's lacking and most often that's less than a handful and easily remedied. For example I jumped two versions of GIMP recently this way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.