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.
rizitis, thanks for the repo file sample, added that to pinxi, will be in next inxi, which should be out in a day or two, this was the last thing that came up to add. I think I got this right. This is based on your sample repo file.
Running slpkg-4.8.0 and it's pretty nifty. I'll still mostly run the SBo scripts manually - I don't upgrade all that often - but for some that have a whole bunch of little dependencies (ZoneMinder e.g.), it's nice to run slpkg to save some tedium.
I did run into a bit of a snag today with audacity. Seems the source is downloaded to the wrong /tmp/slpkg location:
Code:
# slpkg -d audacity
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Slpkg Download Packages │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be downloaded: │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package: Version: Size: Repo: │
│ audacity 3.2.5 sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
1 packages will be downloaded in /tmp/slpkg folder.
Do you want to continue? [y/N] y
audacity-sources-3.2.5.tar.gz 100%[=====================================================>] 54.51M 77.9MB/s in 0.7s
audacity-manual-3.2.5.tar.gz 100%[=====================================================>] 21.23M 61.6MB/s in 0.3s
audacity.tar.gz 100%[=====================================================>] 5.15K --.-KB/s in 0s
Finished Successfully: [00:00:02]
Code:
# slpkg -i audacity
...
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Slpkg Install Packages │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded: │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package: Version: Size: Repo: │
│ audacity 3.2.5 sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies: │
│ soxr 0.1.3 sbo │
│ portsmf 234 sbo │
│ portmidi 2.0.2 sbo │
│ libsbsms 20220812_e6c9c3b sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 4 packages will be installed and 0 will be upgraded.
Do you want to continue? [y/N] y
soxr-0.1.3-Source.tar.xz 100%[=====================================================>] 92.17K 475KB/s in 0.2s
portsmf-234.tar.gz 100%[=====================================================>] 174.03K 359KB/s in 0.5s
portmidi-v2.0.2.zip 100%[=====================================================>] 297.51K --.-KB/s in 0.1s
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K 222KB/s in 0.5s
slpkg: Error: No such file or directory: '/tmp/slpkg/build/audacity/audacity-sources-3.2.5.tar.gz'.
It seems the buildscript and source are not expanding into the build directory.
Quote:
$ ls -l /tmp/slpkg
total 77576
-rw-r--r-- 1 root root 22260237 Mar 1 09:04 audacity-manual-3.2.5.tar.gz
-rw-r--r-- 1 root root 57163122 Mar 1 09:04 audacity-sources-3.2.5.tar.gz
-rw-r--r-- 1 root root 5276 Mar 17 19:59 audacity.tar.gz
drwxr-xr-x 10 root root 4096 Apr 27 18:19 build
Also, I have audacity-3.0.0 installed, 'slpkg -f audacity' finds the package, but 'slpkg -i audacity' does not flag it as an upgrade. I removed the old, and created the /tmp/slpkg/build/audacity with the correct files manually. That worked.
Code:
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Slpkg Install Packages │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded: │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package: Version: Size: Repo: │
│ audacity 3.2.5 sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies: │
│ soxr 0.1.3 sbo │
│ portsmf 234 sbo │
│ portmidi 2.0.2 sbo │
│ libsbsms 20220812_e6c9c3b sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 5 packages will be installed and 0 will be upgraded.
Do you want to continue? [y/N] y
soxr-0.1.3-Source.tar.xz 100%[=====================================================>] 92.17K --.-KB/s in 0.06s
portsmf-234.tar.gz 100%[=====================================================>] 174.03K 366KB/s in 0.5s
portmidi-v2.0.2.zip 100%[=====================================================>] 297.51K 1.16MB/s in 0.2s
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K 215KB/s in 0.5s
audacity-sources-3.2.5.tar.gz 100%[=====================================================>] 54.51M 62.9MB/s in 0.9s
audacity-manual-3.2.5.tar.gz 100%[=====================================================>] 21.23M 31.6MB/s in 0.7s
[Build] soxr.SlackBuild ⣟ Done
[Installing] soxr-0.1.3-x86_64-1_SBo.tgz ⣟ Done
[Build] portsmf.SlackBuild ⣷ Done
[Installing] portsmf-234-x86_64-1_SBo.tgz ⣟ Done
[Build] portmidi.SlackBuild ⢿ Done
[Installing] portmidi-2.0.2-x86_64-3_SBo.tgz ⡿ Done
[Build] libsbsms.SlackBuild ⣟ Done
[Installing] libsbsms-20220812_e6c9c3b-x86_64-1_SBo.tgz ⣟ Done
[Build] audacity.SlackBuild ⢿ Done
[Installing] audacity-3.2.5-x86_64-1_SBo.tgz ⣟ Done
Finished Successfully: [00:02:45]
Running slpkg-4.8.0 and it's pretty nifty. I'll still mostly run the SBo scripts manually - I don't upgrade all that often - but for some that have a whole bunch of little dependencies (ZoneMinder e.g.), it's nice to run slpkg to save some tedium.
I did run into a bit of a snag today with audacity. Seems the source is downloaded to the wrong /tmp/slpkg location:
Code:
# slpkg -d audacity
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Slpkg Download Packages │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be downloaded: │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package: Version: Size: Repo: │
│ audacity 3.2.5 sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
1 packages will be downloaded in /tmp/slpkg folder.
Do you want to continue? [y/N] y
audacity-sources-3.2.5.tar.gz 100%[=====================================================>] 54.51M 77.9MB/s in 0.7s
audacity-manual-3.2.5.tar.gz 100%[=====================================================>] 21.23M 61.6MB/s in 0.3s
audacity.tar.gz 100%[=====================================================>] 5.15K --.-KB/s in 0s
Finished Successfully: [00:00:02]
Code:
# slpkg -i audacity
...
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Slpkg Install Packages │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded: │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package: Version: Size: Repo: │
│ audacity 3.2.5 sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies: │
│ soxr 0.1.3 sbo │
│ portsmf 234 sbo │
│ portmidi 2.0.2 sbo │
│ libsbsms 20220812_e6c9c3b sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 4 packages will be installed and 0 will be upgraded.
Do you want to continue? [y/N] y
soxr-0.1.3-Source.tar.xz 100%[=====================================================>] 92.17K 475KB/s in 0.2s
portsmf-234.tar.gz 100%[=====================================================>] 174.03K 359KB/s in 0.5s
portmidi-v2.0.2.zip 100%[=====================================================>] 297.51K --.-KB/s in 0.1s
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K 222KB/s in 0.5s
slpkg: Error: No such file or directory: '/tmp/slpkg/build/audacity/audacity-sources-3.2.5.tar.gz'.
It seems the buildscript and source are not expanding into the build directory.
Also, I have audacity-3.0.0 installed, 'slpkg -f audacity' finds the package, but 'slpkg -i audacity' does not flag it as an upgrade. I removed the old, and created the /tmp/slpkg/build/audacity with the correct files manually. That worked.
Code:
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Slpkg Install Packages │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded: │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package: Version: Size: Repo: │
│ audacity 3.2.5 sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies: │
│ soxr 0.1.3 sbo │
│ portsmf 234 sbo │
│ portmidi 2.0.2 sbo │
│ libsbsms 20220812_e6c9c3b sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 5 packages will be installed and 0 will be upgraded.
Do you want to continue? [y/N] y
soxr-0.1.3-Source.tar.xz 100%[=====================================================>] 92.17K --.-KB/s in 0.06s
portsmf-234.tar.gz 100%[=====================================================>] 174.03K 366KB/s in 0.5s
portmidi-v2.0.2.zip 100%[=====================================================>] 297.51K 1.16MB/s in 0.2s
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K 215KB/s in 0.5s
audacity-sources-3.2.5.tar.gz 100%[=====================================================>] 54.51M 62.9MB/s in 0.9s
audacity-manual-3.2.5.tar.gz 100%[=====================================================>] 21.23M 31.6MB/s in 0.7s
[Build] soxr.SlackBuild ⣟ Done
[Installing] soxr-0.1.3-x86_64-1_SBo.tgz ⣟ Done
[Build] portsmf.SlackBuild ⣷ Done
[Installing] portsmf-234-x86_64-1_SBo.tgz ⣟ Done
[Build] portmidi.SlackBuild ⢿ Done
[Installing] portmidi-2.0.2-x86_64-3_SBo.tgz ⡿ Done
[Build] libsbsms.SlackBuild ⣟ Done
[Installing] libsbsms-20220812_e6c9c3b-x86_64-1_SBo.tgz ⣟ Done
[Build] audacity.SlackBuild ⢿ Done
[Installing] audacity-3.2.5-x86_64-1_SBo.tgz ⣟ Done
Finished Successfully: [00:02:45]
Hi kingbeowulf,
Thanks for this report.
slpkg -d is used for download packages only and by default download packages in the /tmp/slpkg folder.
You can redirect the path if you apply the --directory option:
Code:
slpkg -d <packages> --directory=path/to/download
slpkg clean-tmp it's a useful command that you can clean old downloads. (All slpkg clean-* commands has upgraded for the next version 4.8.2)
Code:
slpkg clean-tmp
Also, if you have installed a package, and you try to reinstall it, slpkg highlight the name of the package with color grey, so you should apply --reinstall option, and you will see the color of the package turn to violet, that means it going to upgrade it.
As for the error that you reference, I'll try to find what did happen.
Code:
slpkg: Error: No such file or directory: '/tmp/slpkg/build/audacity/audacity-sources-3.2.5.tar.gz'
# slpkg -i audacity
...
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Slpkg Install Packages │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be installed or upgraded: │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package: Version: Size: Repo: │
│ audacity 3.2.5 sbo │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependencies: │
│ soxr 0.1.3 sbo │
│ portsmf 234 sbo │
│ portmidi 2.0.2 sbo │
│ libsbsms 20220812_e6c9c3b sbo │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 4 packages will be installed and 0 will be upgraded.
Do you want to continue? [y/N] y
soxr-0.1.3-Source.tar.xz 100%[=====================================================>] 92.17K 475KB/s in 0.2s
portsmf-234.tar.gz 100%[=====================================================>] 174.03K 359KB/s in 0.5s
portmidi-v2.0.2.zip 100%[=====================================================>] 297.51K --.-KB/s in 0.1s
libsbsms-20220812_e6c9c3b.tar.x 100%[=====================================================>] 101.99K 222KB/s in 0.5s
slpkg: Error: No such file or directory: '/tmp/slpkg/build/audacity/audacity-sources-3.2.5.tar.gz'.
Hard core slackpkg w/slackpkg+ user here. I decide play around with this awesome program. I don't use SBo, I roll my own SlackBuilds. The only "binary" packages I have installed are from Alien Bob (13) and zerouno (1).
I ran in to the same issue as @nobodino, built with the wrong progress. Should have put 2n2 together since all the other requirements are python along with slpkg it self.
Quote:
Originally Posted by dslackw
Hi,
You need to install 'python3-progress', I guess 'progress' is a different package.
Another thing I noted is SQLAlchemy has a 2.0.11 version, the 1.4.47 is the version that works. No big deal, easy enough to figure out.
4.8.2 - 25/04/2023
Updated:
- For exit status code
- Packages summary for calculating the file sizes
Added:
- Disable or enable the spinning bar
Fixed:
- Slackware patches repository tag
- For skip to download sources if the package is installed (Thanks to kingbeowulf LQ63)
4.8.3 - 29/04/2023
Updated:
- For synchronization with the local repository (Thanks to Christopher Schrauben) #166
- Renamed the option --bin-repo with --repository
Added:
- Options --install-data to install only data into the database
- Column for package installed version (Thanks to tpiszcze)
On my current slackware64 version 4.8.4 of slpkg gives an error in the repo-info operation:
Code:
# slpkg repo-info
Repositories Information:
===================================================================================
Name: Status: Last Updated: Packages:
===================================================================================
Traceback (most recent call last):
File "/usr/sbin/slpkg", line 33, in <module>
sys.exit(load_entry_point('slpkg==4.8.4', 'console_scripts', 'slpkg')())
File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 864, in main
arguments[args[0]]()
File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 581, in repo_info
repo.info()
File "/usr/lib64/python3.9/site-packages/slpkg/repo_info.py", line 43, in info
self.view_the_repositories_information()
File "/usr/lib64/python3.9/site-packages/slpkg/repo_info.py", line 98, in view_the_repositories_information
date: str = self.last_repository_updated(repo)
File "/usr/lib64/python3.9/site-packages/slpkg/repo_info.py", line 65, in last_repository_updated
if date[0] is None:
TypeError: 'NoneType' object is not subscriptable
4.8.5 - 18/05/2023
Fixed:
- Case-sensitive with commands find and search
- For combination options with --repository= and --directory=
- TypeError for repo-info command #171
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.