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.
Sun Mar 15 21:36:19 CET 2020
pkg/slackpkg+-1.7.0d1-noarch-10mt.txz: Rebuilt
- Small fix in search packages
- Added httpdir/httpsdir/ftpsdir repository type. See documentation.
+-------------------------+
edit: sorry, 'ftpsdir' is a typo on the changelog. ftps is not supported; just ftpdir
Not that it's an issue, but when using 'slackpkg download' it's a count, not a percentage. I personally am okay with this. I normally only use "download" with kernel packages. Just thought I'd mention it.
Quote:
Originally Posted by zerouno
Unfortunately the 'download' command is not 100% slackpkg+ compliant so it is not fully supported.
Use DOWNLOADONLY switch instead.
set it in slackpkgplus.conf or use
DOWNLOADONLY=on slackpkg install ...
First off, I fully understand not fully supported. Looking for some clarification.
I have at least two kernel sets installed, the "latest kernel" and a "last working kernel". The "DOWNLOADONLY=on slackpkg install" correctly results in:
With dialog on I can select the packages I want to download. In my case everything but firmware (already installed) and huge (not installed). All except firmware are blacklisted in /etc/slackpkg/blacklist. This allows me to run '# installpkg /var/cache/packages/slackware64/*/*.txz' to install the kernel packages.
I am making two assumptions, are they correct ones?
1. The slackpkg "download" option works as expected on slackware packages only. Regardless if slackpkg+ is installed or not.
2. The not fully supported part comes with the third party repositories.
Thanks.
Last edited by chrisretusn; 03-28-2020 at 01:52 AM.
Sigh... I am not asking for improvement. I guess I did not make that clear enough.
I understand that it is not supported in slackpkg+, I am 100% fine with that, and now I understand why. Thanks for that.
I was trying to show my use case of the download action, compared to the proposed solution and why that solution doesn't work. Maybe others could benefit from that example.
I was also asking if my two assumptions are correct, so I'll just go with no they are not correct.
I think a lot of people are not aware of how the "slackware download" command works, with or without slackpkg+. I'll leave that for another day.
Last edited by chrisretusn; 03-29-2020 at 12:21 AM.
Not that it's an issue, but when using 'slackpkg download' it's a count, not a percentage. I personally am okay with this. I normally only use "download" with kernel packages. Just thought I'd mention it.
Welcome back! I nice weekend lock down present to play with.
I first tested with my normal use case; 'USEBL=off slackpkg download kernel', in the dialog list I deselect kernel-firmware and kernel-huge then hit Enter "< OK >". This is the result:
Note: the dialog wipes out the first few lines reported. I am also clearing the cache before each run.
Code:
# USEBL=off slackpkg download kernel
# after "< OK >", the following is produced:
Package: kernel-generic-5.4.36-x86_64-1.txz
'//home/slackware/slackware64-current/./slackware64/a/kernel-generic-5.4.36-x86_64-1.txz' -> '//var/cache/packages/./slackware64/a/kernel-generic-5.4.36-x86_64-1.txz'
'//home/slackware/slackware64-current/./slackware64/a/kernel-generic-5.4.36-x86_64-1.txz.asc' -> '//var/cache/packages/./slackware64/a/kernel-generic-5.4.36-x86_64-1.txz.asc'
[1/4]
Package: kernel-headers-5.4.36-x86-1.txz
'//home/slackware/slackware64-current/./slackware64/d/kernel-headers-5.4.36-x86-1.txz' -> '//var/cache/packages/./slackware64/d/kernel-headers-5.4.36-x86-1.txz'
'//home/slackware/slackware64-current/./slackware64/d/kernel-headers-5.4.36-x86-1.txz.asc' -> '//var/cache/packages/./slackware64/d/kernel-headers-5.4.36-x86-1.txz.asc'
[1/4]
Package: kernel-modules-5.4.36-x86_64-1.txz
'//home/slackware/slackware64-current/./slackware64/a/kernel-modules-5.4.36-x86_64-1.txz' -> '//var/cache/packages/./slackware64/a/kernel-modules-5.4.36-x86_64-1.txz'
'//home/slackware/slackware64-current/./slackware64/a/kernel-modules-5.4.36-x86_64-1.txz.asc' -> '//var/cache/packages/./slackware64/a/kernel-modules-5.4.36-x86_64-1.txz.asc'
[1/4]
Package: kernel-source-5.4.36-noarch-1.txz
'//home/slackware/slackware64-current/./slackware64/k/kernel-source-5.4.36-noarch-1.txz' -> '//var/cache/packages/./slackware64/k/kernel-source-5.4.36-noarch-1.txz'
'//home/slackware/slackware64-current/./slackware64/k/kernel-source-5.4.36-noarch-1.txz.asc' -> '//var/cache/packages/./slackware64/k/kernel-source-5.4.36-noarch-1.txz.asc'
[1/4]
Next I ran the same with "dialog=off" (and all kernel packages in this case)
Here are those two runs without clearing the cache, in case that might be useful.
Code:
# USEBL=off slackpkg download kernel
# after "< OK >", the following is produced:
Package kernel-generic-5.4.36-x86_64-1.txz is already in cache - not downloading
[1/4] Package kernel-headers-5.4.36-x86-1.txz is already in cache - not downloading
[1/4] Package kernel-modules-5.4.36-x86_64-1.txz is already in cache - not downloading
[1/4] Package kernel-source-5.4.36-noarch-1.txz is already in cache - not downloading
[1/4]
Code:
# USEBL=off slackpkg -dialog=off download kernel
Looking for kernel in package list. Please wait... DONE
kernel-firmware-20200424_b2cad6a-noarch-1.txz
kernel-generic-5.4.36-x86_64-1.txz
kernel-headers-5.4.36-x86-1.txz
kernel-huge-5.4.36-x86_64-1.txz
kernel-modules-5.4.36-x86_64-1.txz
kernel-source-5.4.36-noarch-1.txz
Total package(s): 6
Do you wish to download selected packages (Y/n)?
Package kernel-firmware-20200424_b2cad6a-noarch-1.txz is already in cache - not downloading
[1/6] Package kernel-generic-5.4.36-x86_64-1.txz is already in cache - not downloading
[2/6] Package kernel-headers-5.4.36-x86-1.txz is already in cache - not downloading
[3/6] Package kernel-huge-5.4.36-x86_64-1.txz is already in cache - not downloading
[4/6] Package kernel-modules-5.4.36-x86_64-1.txz is already in cache - not downloading
[5/6] Package kernel-source-5.4.36-noarch-1.txz is already in cache - not downloading
[6/6]
Also one run with:
Code:
# USEBL=off slackpkg download kernel-generic kernel-headers kernel-modules kernel-source
Package kernel-generic-5.4.36-x86_64-1.txz is already in cache - not downloading
[1/4] Package kernel-headers-5.4.36-x86-1.txz is already in cache - not downloading
[1/4] Package kernel-modules-5.4.36-x86_64-1.txz is already in cache - not downloading
[1/4] Package kernel-source-5.4.36-noarch-1.txz is already in cache - not downloading
[1/4]
# USEBL=off slackpkg -dialog=off download kernel-generic kernel-headers kernel-modules kernel-source
Looking for kernel-generic kernel-headers kernel-modules kernel-source in package list. Please wait... DONE
kernel-generic-5.4.36-x86_64-1.txz
kernel-headers-5.4.36-x86-1.txz
kernel-modules-5.4.36-x86_64-1.txz
kernel-source-5.4.36-noarch-1.txz
Total package(s): 4
Do you wish to download selected packages (Y/n)?
Package kernel-generic-5.4.36-x86_64-1.txz is already in cache - not downloading
[1/4] Package kernel-headers-5.4.36-x86-1.txz is already in cache - not downloading
[2/4] Package kernel-modules-5.4.36-x86_64-1.txz is already in cache - not downloading
[3/4] Package kernel-source-5.4.36-noarch-1.txz is already in cache - not downloading
[4/4]
Thanks for the great addition to slackpkg. Wish my programing skills was enough to contribute more than testing. I am good with creating SlackBuild scripts and can figure out a lot of the code in slackpkg/slackpkg+, there are parts that are above my pay grade. <grin>
slackpkg - version 2.84.0_beta9 / slackpkg+ 1.7.0d1
With the last big slackware64-current update Fri Jan 22 19:17:44 UTC 2021 Mass rebuild. On issuing 'slackpkg upgrade-all' I noticed that the counter display before the dialog list (Preparing list) has a display clitch. When the count goes past [999-1524] the '[' is added to the display. Example:
Code:
Preparing list [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1234-1524]
This is also repeatable with 'slackpkg search' for example when using 'slackpkg search slackware64'
I've notice this before, just now got around to reporting it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.