LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg+ 1.8 (https://www.linuxquestions.org/questions/slackware-14/slackpkg-1-8-a-4175669481/)

chrisretusn 02-19-2020 07:51 AM

Quote:

Originally Posted by phenixia2003 (Post 6091455)
Which version of slackpkg+ ?

slackpkg+-1.7.0-noarch-10mt.txz

Quote:

Originally Posted by zerouno (Post 6091458)
slackpkg+ 1.7.0 ignore the blacklist due a bug (introduced 4 years ago), not as a feature.

In effect was a bug, not a feature :)

If you want to skip blacklist use USEBL=0

Rats! The dreaded feature that is a bug thing. Hate when that happens. ;)
Been using that bug of a feature since "Thu Jan 3 12:32:53 CET 2019" or thereabouts.
I've gotten quite used to that bug, it is going to be hard to reprogram my fingers.
Oh well. Moving on... Were there is a will there is a way. Alias!

Still say slackpkg+ is the greatest thing since sliced bread! :hattip:

Maraming salamat po!

chrisretusn 02-19-2020 08:51 AM

A 'greylist' question.

Quote:

# Also you may want to greylist ALL slackpkgplus repository;
# useful if you want to run slackpkg install alienbob and select
# only the wanted package (instead de-select all unwanted):
#SLACKPKGPLUS_.*
I have already figure out 'SLACKPKGPLUS_.alienbob' does not work.
Both of these do:
'alienbob'
'SLACKPKGPLUS_alienbob'

Which is the correct way to greylist only one repository?

Reason: alienbob has a boat load (Preparing list [203/344]) of packages, when using 'slackpkg install'.

zerouno 02-19-2020 09:42 AM

Both should work but SLACKPKGPLUS_alienbob should be most secure.

However I will do some changes (I don't know what or when) in greylist since slackpkg 2.84 did some changes in blacklist.

chrisretusn 02-20-2020 04:04 AM

Quote:

Originally Posted by zerouno (Post 6091818)
Both should work but SLACKPKGPLUS_alienbob should be most secure.

Thanks, SLACKPKGPLUS_repository it is.

Paulo2 02-23-2020 04:42 PM

1 Attachment(s)
I'm running slackpkg+-1.7.0d1-noarch-7mt. I tested it only with the normal
routine 'slackpkg install-new|upgrade-all|clean-system'.
It is working ok, I didn't get any error messages or problem when installing,
upgrading or removing.

The new progress indicator is very nice. The spinning bar is nice too and
traditional, but the percentage indicator gives a better information about
what is happening, also the packages counter.
These are nice additions :) thanks (and terse output too).

There is a problem with the percentage indicator when running
'slackpkg install-new', I think it is showing the packages number instead.
It is in the attached image.
Another thing, this is just cosmetic, could be nice to hide the cursor while
showing percentage indicator, maybe with 'tput civis' and put it back with
'tput cnorm'.

zerouno 02-23-2020 05:04 PM

Thankyou for testing.

install-new (as install, upgrade, remove) in slackpkg+ can't know how many packages to analize.

Terse output was added to pkgtools :); it is not a slackpkg+ feature (I just added the option to slackpkg+ configuration file)
Code:

# export TERSE=0
# SLACKPKGPLUS=off slackpkg upgrade-all

and you will have the terse output.

tput is a reason for which I dislike the spinning. tput can create some inconsistence in terminal output in some circumstance. To make slackpkg+ working with spinning correctly I had to write some porkaround :D.

chrisretusn 02-24-2020 12:39 AM

Quote:

Originally Posted by zerouno (Post 6093440)
tput is a reason for which I dislike the spinning. tput can create some inconsistence in terminal output in some circumstance. To make slackpkg+ working with spinning correctly I had to write some porkaround :D.

slackpkg - version 2.84.0_beta6 / slackpkg+ 1.7.0d1

Hehe, I miss that spinner thingy, really I do....

Can you give us an option to bring it back?

Nah, just kidding. On the bringing it back part. Improvise, Adapt, Overcome

Thanks for the great job on this. :hattip:

Testing it on two of my machines, all working well.

zerouno 02-24-2020 05:11 PM

Quote:

Originally Posted by Paulo2 (Post 6093433)
There is a problem with the percentage indicator when running
'slackpkg install-new', I think it is showing the packages number instead.

download latest and retry
Code:

wget -O /usr/libexec/slackpkg/functions.d/slackpkgplus.sh https://raw.githubusercontent.com/zuno/slackpkgplus/master/src/slackpkgplus.sh

Paulo2 02-24-2020 05:28 PM

Quote:

Originally Posted by zerouno (Post 6093841)
download latest and retry
Code:

wget -O /usr/libexec/slackpkg/functions.d/slackpkgplus.sh https://raw.githubusercontent.com/zuno/slackpkgplus/master/src/slackpkgplus.sh

Yes, that fixed it :) 'install-new' now has a percentage indicator.
But it goes up to 55% not 100%, is this right? Maybe because there isn't
any new 'Added' package to make the list to install.

zerouno 02-24-2020 05:33 PM

No. The counter should start before the packages database check.
My tests reach 100%
Tomorrow I will tell you some test to do.
bash -x slackpkg install-new 2>slackpkg.txt
may help the analysis.

SCerovec 02-25-2020 02:56 AM

@zerouno,
I thank You so much for slackpkgplus and all the effort it saves us the regular uses!

Big kudos to all that help and keep up the good work :hattip:

zerouno 02-25-2020 03:23 AM

Quote:

Originally Posted by Paulo2 (Post 6093847)
But it goes up to 55% not 100%, is this right?

redownload and retry now.

chrisretusn 02-25-2020 06:27 AM

Quote:

Originally Posted by Paulo2 (Post 6093847)
Yes, that fixed it :) 'install-new' now has a percentage indicator.
But it goes up to 55% not 100%, is this right? Maybe because there isn't
any new 'Added' package to make the list to install.

I've been following along with this, saw the same. Downloaded the updated versions of slackpkgplus.sh. Tested with no "Added." packages and with "Added." packages, it now goes to 100%.

:hattip: :hattip: :hattip:

Paulo2 02-25-2020 04:39 PM

Quote:

Originally Posted by zerouno (Post 6093979)
redownload and retry now.

It's working :) I'm running the rworkman's slackpkg beta
and slackpkg+ dev is working ok.

edit- I didn't run with packages for upgrade, remove or install,
but I think it will work ok with new changes in the ChangeLog.

tramtrist 02-25-2020 04:41 PM

A little confused... Is there an official new release of slackpkg+ out or is it still being tested?
Sorry for being such a newb


All times are GMT -5. The time now is 09:36 AM.