LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Keeping updated the packages installed via sbopkg. A couple of questions. (https://www.linuxquestions.org/questions/slackware-14/keeping-updated-the-packages-installed-via-sbopkg-a-couple-of-questions-892334/)

disco_slack 07-18-2011 11:13 AM

Keeping updated the packages installed via sbopkg. A couple of questions.
 
Hi slackers....

I am really enjoying recently slackware. Using slackpkg and sbopkg it is so easy to keep slackware running current. Sometimes I feel like a master of Linux, which is absolutely no true.

Apart of some objectives I have regarding slackware's philosophy, I have this question please. I have about 8 packages installed via sbopkg. my question.

1)Is there a way to keep these packages updated via a program? (If not I guess I am obliged to check manually for each of them.)

2) Also, sometimes when we build a package via sbopkg it is necessary to build other packages. Is there an option to install via sbopkg and the package and its dependencies required through just one command?

Thank you in advance

brianL 07-18-2011 11:25 AM

1) There's an option in the sbopkg gui to check for updates, or sbopkg -c.
2) You can use queuefiles. (read the sbopkg man page)

Mark Pettit 07-18-2011 11:25 AM

1) Updating to the latest and greatest isn't necessarily the right way to do it. Unix people (and especially slackers) tend to be conservative and there's no promise that the latest version of a product is the best (remember Windows ME, Windows Vista ?). We tend to stick to a version until there's a good reason upgrade. And that's the point - when you really do have a good reason to upgrade, then you'll know about it.

2) Look the the queue files (http://gitorious.org/sbopkg-slackwar...ball/sbo-13.37). Unpack these in a directory and tell Sbopkg where they are. Then, when you build, look for the matching queue file and load that - it will have the dependencies. If you have been diligent and stuck to slackbuilds.org, your previously built packages will be shown and you won't need to rebuild them again (unless you add more features).

disco_slack 07-18-2011 11:47 AM

Thank you guys. slackpkg -c was the info I needed.

Regarding the package building together with its dependencies, if I understood correctly there is no similar command such as sbopkg -option (build all required)? I should continue adding manually all its dependencies to queue right?

brianL 07-18-2011 11:52 AM

Like I said, have a look at queuefiles, with them you run:
Code:

sbopkg -i whatever.sqf
or:
Code:

sbopkg -i -k whatever.sqf

brianL 07-18-2011 02:22 PM

To get all the queuefiles ( I got this from another post by another member, forgot who):
Code:

su -
then:
Code:

cd /var/lib/sbopkg
then:
Code:

git clone git://gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git queues

disco_slack 07-19-2011 10:05 AM

Thnx Brian. I will try it today.
Quote:

Originally Posted by brianL (Post 4418384)
Code:

git clone git://gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git queues

Does the git command downloads the entire packages in your hardisk?

brianL 07-19-2011 10:17 AM

No, just all the queuefiles. They're more or less plain text files.

disco_slack 07-19-2011 11:03 AM

Excellent. Now we have real "dependency" feature in Slackware that I really needed it.


All times are GMT -5. The time now is 09:51 PM.