LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2020, 04:38 PM   #91
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 630

Original Poster
Rep: Reputation: 190Reputation: 190

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

Last edited by zerouno; 03-15-2020 at 04:46 PM.
 
Old 03-16-2020, 11:34 PM   #92
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 241
Blog Entries: 2

Rep: Reputation: Disabled
Just wanted to say, the new progress numbers and terse mode are very nice. :-)

Thanks zerouno!
 
Old 03-25-2020, 10:38 AM   #93
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 241
Blog Entries: 2

Rep: Reputation: Disabled
A minor suggestion for the TERSE option.

Earlier, it was easy to see previous package version as well as new one while upgrading.

Now, it shows only new one:

Code:
[8/56]	Package cifs-utils-6.10-x86_64-3_pam.txz is already in cache - not downloading
	Upgrading cifs-utils-6.10-x86_64-3_pam...
Upgrading:  cifs-utils-6.10-x86_64-3_pam: CIFS filesystem utilities ......................................................................................... [470K]
Suggestion:

Old Package version can be shown in line 2, ie:

Code:
[8/56]	Package cifs-utils-6.10-x86_64-3_pam.txz is already in cache - not downloading
	Upgrading cifs-utils-6.10-x86_64-3...
Upgrading:  cifs-utils-6.10-x86_64-3_pam: CIFS filesystem utilities ......................................................................................... [470K]
Pardon if this should be filed against slackpkg and not slackpkgplus. Thanks!

Edit-
It is a part of pkgtools (upgradepkg command), not an issue of slackpkg+.

Last edited by aaditya; 03-26-2020 at 06:53 AM. Reason: not a bug of slackpkg+
 
Old 03-28-2020, 01:49 AM   #94
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,100

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Quote:
Originally Posted by chrisretusn View Post
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 View Post
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:
Code:
# USEBL=off DOWNLOADONLY=on slackpkg -dialog=off install kernel

Looking for kernel in package list. Please wait... DONE

[ Repository               ] [ Package                                  ]
  slackware64                  kernel-huge-5.4.28-x86_64-1.txz
This is not what I want. This is what I want and it works as expected:
Code:
# USEBL=off slackpkg -dialog=off download kernel

Looking for kernel in package list. Please wait... DONE

kernel-firmware-20200320_edf390c-noarch-1.txz
kernel-generic-5.4.28-x86_64-1.txz
kernel-headers-5.4.28-x86-1.txz
kernel-huge-5.4.28-x86_64-1.txz
kernel-modules-5.4.28-x86_64-1.txz
kernel-source-5.4.28-noarch-1.txz
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.
 
Old 03-28-2020, 06:15 PM   #95
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 630

Original Poster
Rep: Reputation: 190Reputation: 190
50% slackpkg+ code is based on the advanced priority subsystem. The download command does not invoke it, so it cannot be improved.
 
Old 03-29-2020, 12:20 AM   #96
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,100

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
having trouble after upgrading 14.1 slackware using slackpkg and slackpkg+ [solved] slackartist Slackware 1 12-28-2015 07:28 AM
[SOLVED] Slackpkg, Slackpkg Plus, Slackware 14.1 x86_64 install.log delay or slow to write bamunds Slackware 7 04-22-2014 11:12 AM
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration