Skip to main content

Managing SBo Dependencies Easily

For those who uses SlackBuild scripts from SBo project might be pleased with this news. It's not a new thing for me since i have known about this tool for few months, but never tested in real (in fact forgotten about this) until few weeks ago when Ponce (Matteo Bernadini) wrote it on LQ.

This new tool is called sqg, made by Chess Griffin, one of the co-author of sbopkg, a great tool to manage package installation from SBo repository. This tool was released along with sbopkg 0.37.0, but it was released under contrib directory, so not so many people noticed it.

I believe you have heard about sbopkg which can help user to download, build, and install packages from SBo repository. This tool (sbopkg) still don't handle dependencies using SBo's metadata script (REQUIRES line), so users must handle the order of the package installation by themselves. Some people already started to use queue files to help them creating list of package installation order, but they must make it manually or use the queue files hosted in the repository made by Mauro Giachero.

All those things is now solved by the new tool called sqg. Basically it's a sbopkg queue generator which can help you to build queue file for a single package or to all packages in SBo repository using the metadata in every SBo package (*.info file).

Here's how to make use of sqg:
  • install sbopkg and configure it to point to the correct SBo repository 
  • run initial checkout: sbopkg -r (you can skip this step if you already have the latest update from SBo)
  • move sqg from /usr/doc/sbopkg-0.37.0/contrib/sqg to /usr/bin (or make a symlink)
  • edit line 48. Change the REPO_BRANCH to 14.1 (i assume you are using Slackware 14.1)
  • start creating queue files for all packages: sqg -a (this could take some time)
By the time it finished creating the queue files, all of them will be placed under /var/lib/sbopkg/queues/. If you have made your own queue files, please make a backup of it first, since it will overwrite everything on that directory.

Now, everytime you install a new package using sbopkg, it will find the queue first and if it found, it will offer you to use the queue or use an individual package. If you already have all the dependencies installed, then you can pick the individual to save time by installing the package you need. If you are building a new system, then you can pick the queue to download all the requirements along with the package you need and build them in order. Very nice :)

Kudos to Chess Griffin for this wonderful tool.

Popular posts from this blog

Running Rsync Via Proxy

One way to get the latest Slackware updates is by running rsync to syncronize your local repository and the main repository that hold the Slackware packages. Eric Hameleers has provided a great script called rsync_current.sh and how i modified this tool has been discussed on my previous post. In general, it works, except for one problem, when your computer is connecting to the Internet through a proxy.

My workstation at my office is connected to the Internet through a proxy, so i can't use normal rsync to work normally. I browsed the web and i found this site which tells us about how we should modify our squid configuration to allow rsync connection from any computer from our local networks. I asked my sysadmin to try this script. He agreed and he updated the squid configuration on the proxy.

Next, i need to update my environment variable RSYNC_PROXY to the host of the proxy and also the port. Let's say you are running a proxy on 192.168.1.1 and port 8080, then you need to run …

NVidia Legacy Unix Driver Update

NVidia has released an updated legacy drivers to support X.Org 1.19 with ABI 23. It has been mentioned in the UNIX drivers, but you can directly find the drivers from the links below:
NVidia 304.134 (x86x86_64)NVidia 340.101 (x86, x86_64) I have tested the 304.134 driver and it's working great here. I can finally remove x from my /etc/slackpkg/blacklist file since it's a showstopper for me.
Aside from legacy driver, NVidia has also released their latest driver 375.26 (x86, x86_64), which brings support for newer cards and also many new features (including X.Org 1.19 with ABI 23 support). 

Security Update: firefox, irssi, pidgin

Three security updates were released for today:
firefox: Upgraded to 45.4.0esr for 14.1 and 14.2 and 49.0 for currentirssi: Upgraded to 0.8.20pidgin: Upgraded to 2.10.11, 2.10.12, and 2.11.0 for all stable Slackware releases depending on their support Some minor update in current:
mkinitrd: Add dmsetup supportemacs: Upgraded to 25.1qt: Fix multilib issue network-scripts: Fix minor issue