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.
I thought I asked this before, but I can't find the thread ... I'm using sbopkg to install SlackBuilds repo packages. `sbopkg -i` creates files in /tmp/SBo for each package. Do these directories need to be kept for any reason? Do future installs of the same package need the previous info in this directory?
I thought I asked this before, but I can't find the thread ... I'm using sbopkg to install SlackBuilds repo packages. `sbopkg -i` creates files in /tmp/SBo for each package. Do these directories need to be kept for any reason? Do future installs of the same package need the previous info in this directory?
You can delete it, but the next time you run a SlackBuild script from SBo, it will be created again. It's better to keep the directory and just clean out the contents if you don't need them anymore.
Well, I am referring to the contents of /tmp/SBo, not just that directory itself. So, it is OK to remove e.g. /tmp/SBo/openjdk and that will cause no issue with e.g. `sbopkg -c`, right?
Well, I am referring to the contents of /tmp/SBo, not just that directory itself. So, it is OK to remove e.g. /tmp/SBo/openjdk and that will cause no issue with e.g. `sbopkg -c`, right?
You're right. From your title, it sounded like you meant the /tmp/SBo directory itself, and I didn't read the actual post carefully enough. Yes, it's okay to delete the contents of /tmp/SBo, or, as bassmadrigal pointed out, you can have sbopkg do it automatically if you set CLEANUP=YES in sbopkg.conf.
Thanks, I'll certainly clean up what's out there. Thereafter, doing the CLEANUP=YES config settings seems like the way to go.
A semi-related question I hate to do a new post for ...
the sbopkg man page for option '-c' says , "Display a list of installed SBo packages and potential updates." However, I find that this option only displays potential updates. Packages I know I recently updated are not shown in this list. How do I show a list of all my installed packages?
That is where the source is downloaded to before it is extracted. Its contents can be removed, but there doesn't seem to be any option to automatically remove it after sbopkg finishes running.
I hate to revive an old post, but I actually have a question about the removal of /tmp/SBo.
I've been using sbopkg with the -k option, which checks and skips installed packages. But when I removed /tmp/SBo, dependent packages that were already installed (in this case, numpy which is needed by Bottleneck) are apparently being reinstalled.
So it's not the case that files in /tmp/SBo are *never* needed again, but that they aren't needed at runtime. They might be used for building other packages, right?
I hate to revive an old post, but I actually have a question about the removal of /tmp/SBo.
I've been using sbopkg with the -k option, which checks and skips installed packages. But when I removed /tmp/SBo, dependent packages that were already installed (in this case, numpy which is needed by Bottleneck) are apparently being reinstalled.
So it's not the case that files in /tmp/SBo are *never* needed again, but that they aren't needed at runtime. They might be used for building other packages, right?
These files should never be used again. The resulting packages are saved in just /tmp/, but, AFAIK, those shouldn't be used by sbopkg again either.
AFAIK, sbopkg does not reinstall packages that were previously built. If ran with the -k option, sbopkg will skip anything that's currently installed, but if it isn't installed, I don't think it'll check for a built package in /tmp/ and I know it doesn't check for anything in /tmp/SBo, because I have it happen frequently when I'm rebuilding things and it will just proceed like normal and delete the source and packaging directories if they exist.
I've not dug into sbopkg enough to know for sure, but I believe I am accurate.
That being said, sbopkg won't check for any packages that don't have the SBo tag in the package name. So if you happened to install a numpy from a different repo, sbopkg would try and build it again if it was in the queue.
Last edited by bassmadrigal; 06-02-2020 at 06:07 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.