LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg vs. third-party package repository (https://www.linuxquestions.org/questions/slackware-14/slackpkg-vs-third-party-package-repository-4175427364/)

chrisretusn 01-10-2020 10:18 PM

Just going to toss this out. I am using slackpkg-2.84.0_beta5-noarch-1_rlw with slackpkg+-1.7.0-noarch-10mt

This is my PKGS_PRIOROTY in slackpkgplus.conf:

PKGS_PRIORITY=( nonslack slackpkgplus multilib ktown restricted slackware64:id3lib alienbob )

nonslack is my repository. I use Alien Bob's ffmpeg. There is an ide3lib package in Slackware64 and alienbob, the slackware64:id3lib before alienbob ensures that the slackware package is not overwritten by the alienbob package.

If I wanted to keep the slackware ffmpeg packages I would write my PKGS_PRIORITY as follows:

PKGS_PRIORITY=( nonslack slackpkgplus multilib ktown slackware64:ffmpeg restricted slackware64:id3lib alienbob )

First I've heard of using SLACKPKGPLUS_repo pattern, cool idea. I don't believe is documented though. Correct me if I am wrong.

gegechris99 01-11-2020 01:40 AM

Quote:

Originally Posted by chrisretusn (Post 6076933)
First I've heard of using SLACKPKGPLUS_repo pattern, cool idea. I don't believe is documented though. Correct me if I am wrong.

That's right, this feature is not officially documented. I found it in this LQ thread.

joenew 01-12-2020 03:30 PM

Thanks for your clarification! :)

zerouno 02-18-2020 12:24 PM

@all

I restarted development since slackware 15.0 is not far away and a I want to release slackpkg 1.8 before it.

This is the topic.
https://www.linuxquestions.org/quest...-a-4175669481/

currently slackpkg+-1.7.0d1-noarch-7mt.txz is available

to install it put in slackpkgplus.conf
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+dev/

please test and comment in the appropriate topic.

Thankyou.

regdub 08-14-2020 01:33 PM

Hi

Using slackpkg+-1.7.0-noarch-10mt on Current, I notice display is a bit messed up in konsole with TERM=xterm.

I think it appeared with last aaa_terminfo/ncurses update.

TERM=konsole seems OK with slackpkg+ but is not OK with vim (freeze).

I see there are several konsole variants in /usr/share/terminfo/k.

Does someone use one of them or something else ?

eduardr 08-14-2020 02:31 PM

1 Attachment(s)
Quote:

Originally Posted by regdub (Post 6155898)
Hi

Using slackpkg+-1.7.0-noarch-10mt on Current, I notice display is a bit messed up in konsole with TERM=xterm.

I think it appeared with last aaa_terminfo/ncurses update.

I'm seeing problems also when using xterm-256color. Something changed due to aaa_terminfo-6.2_20200801-x86_64-1.txz and ncurses-6.2_20200801-x86_64-1.txz.

slackpkg with slackpkg+ enabled looks messed up:

regdub 08-14-2020 02:59 PM

1 Attachment(s)
Quote:

Originally Posted by eduardr (Post 6155921)
I'm seeing problems also when using xterm-256color. Something changed due to aaa_terminfo-6.2_20200801-x86_64-1.txz and ncurses-6.2_20200801-x86_64-1.txz.

slackpkg with slackpkg+ enabled looks messed up:

Thanks for testing.
xterm-256color gives me the same display than xterm, but not the same than your attachment.

You're not using konsole4, I presume.

Paulo2 08-14-2020 03:11 PM

I had the same problem here and for some reason $TERM in konsole was reverted to 'xterm'.
I edited again to 'konsole' in Settings->Edit current profile->Environment->Edit then paste 'TERM=konsole' and OK.
This works for me.

regdub 08-14-2020 03:46 PM

Quote:

Originally Posted by Paulo2 (Post 6155935)
I had the same problem here and for some reason $TERM in konsole was reverted to 'xterm'.
I edited again to 'konsole' in Settings->Edit current profile->Environment->Edit then paste 'TERM=konsole' and OK.
This works for me.

Yes, but beware of other effects like vim freeze on second launch.

What I've done for now is modify my alias for slackpkg :
Code:

alias slackpkg='TERM=$(echo $TERM | sed "s/xterm/konsole/") ionice -c3 nice -n19 slackpkg'
So, running slackpkg in a VT is still ok.

eduardr 08-14-2020 04:06 PM

Quote:

Originally Posted by regdub (Post 6155932)
Thanks for testing.
xterm-256color gives me the same display than xterm, but not the same than your attachment.

You're not using konsole4, I presume.

I'm using MacOS Terminal (xterm-256color) ssh to Linux.

Paulo2 08-14-2020 04:48 PM

Quote:

Originally Posted by regdub (Post 6155941)
Yes, but beware of other effects like vim freeze on second launch.

What I've done for now is modify my alias for slackpkg :
Code:

alias slackpkg='TERM=$(echo $TERM | sed "s/xterm/konsole/") ionice -c3 nice -n19 slackpkg'
So, running slackpkg in a VT is still ok.

Thanks, I wasn't remembering that. Indeed vim freezes on second launch, sometimes on first.

I had this problem long time ago and the solution was setting $TERM to konsole I think,
and I run vim a lot so at that time I think TERM=konsole was working.

https://www.linuxquestions.org/quest...kg-4175626618/


ps- I think we are off-topic, maybe a new thread would be good.

regdub 08-14-2020 08:12 PM

Quote:

Originally Posted by Paulo2 (Post 6155947)
Thanks, I wasn't remembering that. Indeed vim freezes on second launch, sometimes on first.

I had this problem long time ago and the solution was setting $TERM to konsole I think,
and I run vim a lot so at that time I think TERM=konsole was working.

https://www.linuxquestions.org/quest...kg-4175626618/


ps- I think we are off-topic, maybe a new thread would be good.

Thanks for the link. Interesting.
So, I tested quickly TERM=xterm-color and for me it solves slackpkg+ display and doesn't have effect on vim (I don't use Midnight Commander).
I'm going to try it.

Since the issue doesn't happen with SLACKPKGPLUS=off and /usr/doc/slackpkg+-1.7.0/README send users here, there are chances people with slackpkg+ 1.7 issues come here for workarounds.
Maybe zerouno prefers all versions talks on the 1.8 topic, but it's not the way I understood his announce.

kaott 08-30-2020 12:25 PM

1 Attachment(s)
Reposting/moving this to the correct place.

I am running Slackware-current with slackpkg 2.84.0_beta9 and slackpkg+ 1.7.0d1 and the functionality of both seem OK.

However, slackpkg+ (both the stable and dev version) break the dialog interface when running over mosh (https://mosh.org/), but it works fine over regular ssh. I have adjusted the TERM variable a bit, but change that only changed the amount it was broken.

For completeness I am using the st terminal, however the same behavior was encountered in xterm as well.

I had some time to do some further debugging, but I can't seem to replicate this outside of slackpkg+. I ran many of the examples that are available in the dialog source code and they all worked correctly. I then copied the dialog temp files that are created when slackpkg runs and tried to isolate it to no avail. Specifically I was running:
Code:

dialog  --title "TEST" \
  --backtitle "slackpkg 1234" \
  --checklist "Choose packages to TEST:" \
  19 70 13 \
  --file dialog.tmp 2>dialog.out

Which should be similar to the broken dialog command in the attachment. It appears to be some weird interaction with mosh, but I couldn't find anything on their github issue tracker or elsewhere around the web.

Attached is a screenshot of the behavior.

chrisretusn 08-31-2020 04:25 AM

Testing with Konsole.

I am not seeing this on slackware64-current with Alien Bob's latest ktown installed with slackpkg - version 2.84.0_beta9 / slackpkg+ 1.7.0d1 installed.

I am not seeing this on clean slackware-current and slackware64-current installs with slackpkg version 2.84.0_beta9 or 2.84.0 installed.

I DO see this issue with slackpkg and slackpkg+ installed on the two clean installs with both slackpkg+ version 1.7.0d1 and 1.7.0

kaott 08-31-2020 12:24 PM

3 Attachment(s)
I did some more testing. Mosh seems to set the TERM variable to xterm-256color, and if I change my TERM variable (tried konsole, and st-256color and got the same result):
Code:

# TERM=konsole slackpkg clean-system
# TERM=st-256color slackpkg clean-system

then I now get the first attachment.

I tried using xterm with mosh to see if that would fix it and I got the 2nd attachment.


I suspect the following is due to some incompatibilities with st as it works properly under xterm. If I set my TERM variable to xterm-256color (while using st, works fine under xterm) on my local machine (slackware64-current) I get the 3rd attachment. Obviously, it works properly when the TERM is set appropriately (st-256color).

eduardr 02-08-2021 11:13 AM

I'm currently using slackpkg+-1.7.0 10.

slackpkg+ has some problems after the recent update to slackpkg-15.0-noarch-1.

In particular the blacklist behavior is not working as expected when using slackpkg 15 with slackpkg+. I've added:

Code:

kde/
to the blacklist - this is the new way to exclude an entire series in slackpkg 15. When slackpkg+ is enabled, `slackpkg install-new` still suggests all of the kde packages for installation despite the blacklist. Disabling slackpkg+ (chmod a-x /usr/libexec/slackpkg/functions.d/slackpkgplus.sh) fixes the blacklist behavior to make it work as expected.

The other thing I noticed when slackpkg+ is enabled is that the slackpkg indexes get updated every time it runs - it no longer says "No changes in ChangeLog.txt between your last update and now / Do you really want to download all other files (y/N)?"

Thanks for any hints if there's any quick fix for this or any slackpkg+ beta I should try.

(separately I'm still having the character set display issues mentioned in the few posts before this one when slackpkg+ is enabled but that's just cosmetic).

eduardr 02-08-2021 11:34 AM

I should have checked the 1.8 beta - I see that the issues are discussed there, and I should try that 1.8 beta.
https://www.linuxquestions.org/quest...8-a-4175669481

zerouno 02-08-2021 11:46 AM

Please try that:

edit /usr/libexec/slackpkg/functions.d/slackpkgplus.sh
on slackpkg+ 1.7 at line 1571
on slackpkg+ 1.7d1 at line 1735

replace "2.84" with "15.0"

if you confirm that working patch I will commit it

marav 02-08-2021 12:13 PM

Code:

root:~/ # tail -3 /etc/slackpkg/blacklist                                                                                                                       
kde/
kdei/
y/

root:~/ # cat /tmp/slackpkg.08lfr9/blacklist                                                                                                                  [19:12:30]
 ./slackware64/kde
 ./slackware64/kdei
 ./slackware64/y


zerouno 02-08-2021 12:30 PM

some fixed on
slackpkg+-1.7.0-noarch-11mt.txz
slackpkg+-1.7.0d1-noarch-13mt.txz

zerouno 02-08-2021 12:33 PM

Quote:

Originally Posted by marav (Post 6217886)
Code:

root:~/ # tail -3 /etc/slackpkg/blacklist                                                                                                                       
kde/
kdei/
y/

root:~/ # cat /tmp/slackpkg.08lfr9/blacklist                                                                                                                  [19:12:30]
 ./slackware64/kde
 ./slackware64/kdei
 ./slackware64/y


Are you using slackpkg+ ?

marav 02-08-2021 01:16 PM

Quote:

Originally Posted by zerouno (Post 6217900)
Are you using slackpkg+ ?

Yep

This one :
Code:

[ Status    ] [ Repository  ] [ Package                        ]
  installed    slackpkgplus    slackpkg+-1.7.0d1-noarch-13mt


marav 02-08-2021 01:32 PM

I don't know if it's normal or not
But every time I do : slackpkg update
It downloads all changelog.txt

With this message :
Code:

Updating the package lists...
        Downloading...
force to download ChangeLog

...

Files //var/lib/slackpkg/CHECKSUMS.md5.asc and /tmp/slackpkg.pO3Ok5/CHECKSUMS.md5.asc differ


zerouno 02-08-2021 01:42 PM

Quote:

Originally Posted by marav (Post 6217936)
I don't know if it's normal or not
But every time I do : slackpkg update
It downloads all changelog.txt

Unfortunately slackpkg+ need to work with slackware 14.2 so it download many files even if slackpkg 15 does not need it.

marav 02-08-2021 01:45 PM

Quote:

Originally Posted by zerouno (Post 6217939)
Unfortunately slackpkg+ need to work with slackware 14.2 so it download many files even if slackpkg 15 does not need it.

Ok. Not a concern for me

eduardr 02-08-2021 01:47 PM

@zerouno thanks, what is slackpkg+-1.7.0d1-noarch-13mt.txz and where do I find it?

I managed to find the regular non-d1 update on sourceforge, but don't see any d1 on github and linuxq search doesn't work worth a d so no way to search for what it might be.

Should I try using github master from https://github.com/zuno/slackpkgplus ?

marav 02-08-2021 01:50 PM

Quote:

Originally Posted by eduardr (Post 6217943)
@zerouno thanks, what is slackpkg+-1.7.0d1-noarch-13mt.txz and where do I find it?

I managed to find the regular non-d1 update on sourceforge, but don't see any d1 on github and linuxq search doesn't work worth a d so no way to search for what it might be.

Should I try using github master from https://github.com/zuno/slackpkgplus ?

Once you have slackpkgplus installed
Uncomment this line, in /etc/slackpkg/slackpkgplus.conf
Code:

MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+dev/
EDIT : and of course, comment the /slackpkg+/ line

eduardr 02-08-2021 01:57 PM

@marav thanks, I need to save a note for myself with these url's, since it's very hard to find them later - somehow url's for slackpkg+ are not at the top of every search engine :). I never update slackpkg itself from the slackpkg repo because I want to test any new version and I also make a few small display tweaks for myself to every new version.

https://sourceforge.net/projects/slackpkgplus/files/
http://slakfinder.org/slackpkg+dev/
https://github.com/zuno/slackpkgplus
http://www.slakfinder.org/slackpkg+.html
https://www.linuxquestions.org/quest...ry-4175427364/
https://www.linuxquestions.org/quest...8-a-4175669481

marav 02-08-2021 02:01 PM

1 Attachment(s)
What do you mean by "not at the top of every search engine" ? :-)

eduardr 02-08-2021 02:03 PM

Quote:

Originally Posted by marav (Post 6217948)
What do you mean by "not at the top of every search engine" ? :-)

Right those do show up, the ones I have trouble with are the linuxquestions posts and the github and slackpkg+dev which I don't think ever show up easily.

zerouno 02-08-2021 03:22 PM

you not need to search on google or LQ

from config file on slackpkg+1.7 non-d1

Code:

# use this to keep the slackpkg+ package updated to the latest stable release
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/

# use the development branch to use the mainline version and help develop by reporting bugs.
#MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+dev/


nk_ 04-18-2021 02:43 PM

Code:

MIRRORPLUS['slackpkgplus']
I'm used https://slackware.nl/slackpkgplus/ - works fine

Bindestreck 04-18-2021 04:04 PM

What is happening with slackpkgplus? I am getting timed out and this website is not reachable: http://slakfinder.org/slackpkg+15/

Alien Bob 04-18-2021 04:12 PM

Quote:

Originally Posted by Bindestreck (Post 6242527)
What is happening with slackpkgplus? I am getting timed out and this website is not reachable: http://slakfinder.org/slackpkg+15/

See https://www.linuxquestions.org/quest...7/#post6242474

Bindestreck 04-18-2021 04:15 PM

Quote:

Originally Posted by Alien Bob (Post 6242529)

Sigh, I suck at searching the forums correctly. Thanks!

zerouno 04-18-2021 05:02 PM

The server was in maintenance.

chrisretusn 06-10-2021 10:57 AM

@zerouno, you may want to checkout this thread. https://www.linuxquestions.org/quest...77#post6257977

Lockywolf 07-10-2021 08:26 PM

Something's wrong with the repos on slackpkg+.

1. https://slakfinder.org/slackpkg+15/PACKAGES.TXT has only one line:

PACKAGES.TXT; Fri Jun 11 14:37:38 UTC 2021

I am pretty sure it is not what it should be.

2. https://slakfinder.org/slackpkg+/

This directory is 5 months out of date, and probably needs to be decommissioned.

3. https://slakfinder.org/slackpkg+.html

This page is pointing to the aforementioned obsolete link https://slakfinder.org/slackpkg+/

eduardr 07-10-2021 08:41 PM

For Slackware -current (aka 15) you'll want this instead (last updated Jul 7):
https://slakfinder.org/slackpkg+dev/pkg/

And you can track changes here:
https://github.com/zuno/slackpkgplus


All times are GMT -5. The time now is 02:22 PM.