LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-09-2020, 07:06 AM   #1
Mackyboy123
Member
 
Registered: Feb 2020
Distribution: Slackware
Posts: 92

Rep: Reputation: Disabled
How to update sbopkg packages


I installed discord using sbopkg, and discord is nagging me to update. How do I update all the sbopkg?
 
Old 12-09-2020, 07:14 AM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,192

Rep: Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383
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.
 
Old 12-09-2020, 07:26 AM   #3
Mackyboy123
Member
 
Registered: Feb 2020
Distribution: Slackware
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cwizardone View Post
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
 
Old 12-09-2020, 07:54 AM   #4
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 808

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
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.
 
2 members found this post helpful.
Old 12-09-2020, 08:55 AM   #5
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,192

Rep: Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383Reputation: 7383
Quote:
Originally Posted by 0XBF View Post
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.
 
1 members found this post helpful.
Old 12-09-2020, 11:07 AM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657Reputation: 6657
Quote:
Originally Posted by Mackyboy123 View Post
some stuff's updated, but discord still says it needs to update
I'm the maintainer for discord and didn't realize an update was available. I'll get one pushed out before the public SBo update this weekend.
 
1 members found this post helpful.
Old 12-10-2020, 01:29 AM   #7
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
Quote:
Originally Posted by 0XBF View Post
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.
 
2 members found this post helpful.
Old 12-10-2020, 10:35 AM   #8
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,224

Rep: Reputation: 946Reputation: 946Reputation: 946Reputation: 946Reputation: 946Reputation: 946Reputation: 946Reputation: 946
Quote:
Originally Posted by Spinlock View Post
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.

Last edited by drgibbon; 12-10-2020 at 10:39 AM.
 
Old 12-10-2020, 09:55 PM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,819

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sbopkg and packages outside of SBo solarfields Slackware 1 03-22-2016 11:56 AM
[SOLVED] Can sbopkg "see" packages tagged something different that "_SBo"? solarfields Slackware 3 07-26-2015 06:03 PM
[ANN] sbopkg source packages slakmagik Slackware 7 07-27-2011 02:21 AM
[SOLVED] Keeping updated the packages installed via sbopkg. A couple of questions. disco_slack Slackware 8 07-19-2011 11:03 AM
Where does slackware store packages compiled with sbopkg? glore2002 Slackware 6 09-07-2009 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration