LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-16-2018, 04:46 AM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Rep: Reputation: 114Reputation: 114
Current64: slackpkg dialog error


On my Current64-based live CD slackpkg fails with a lot of GPG errors, whereas on my regular Current64 install slackpkg works as expected.
Via tracing I determined the problem to be in the dialog invocation from /usr/libexec/slackpkg/dialog-functions.sh:
Code:
.....
+ xargs dialog --title reinstall --backtitle 'slackpkg 2.83.0' --checklist 'Choose packages to reinstall:' 19 70 13
[?1049h[22;0;0t[1;24r(B[m[4l[?7h[?1h=[?1000h[39;49m[?1000l[39;49m(B[m[24;1H[?1049l[23;0;0t
[?1l>+ case "$?" in
+ dialog --clear
[?1049h[22;0;0t[1;24r(B[m[4l[?7h[H[2J[24;1H[?1049l[23;0;0t
[?1l>++ cat /tmp/slackpkg.qdUGKo/dialog.out
++ tr -d '"'
+ SHOWLIST='
Error: Expected 3 arguments, found only 2.
Use --help to list options.'
.....
Using "slackpkg reinstall aalib" as an example the /tmp/slackpkg.XXXXXXX/dialog.tmp file on both the live CD and my regular install reads:
Code:
aalib-1.4rc5-x86_64-6.txz "" on
Changing the "" in e.g. "X" or even " " resolves (or rather works around) the problem.

On both systems the slackpkg and dialog packages (and the constituant files) have the same sizes and time stamps, as do the libraries as called by /bin/dialog.
I am completely flabbergasted, any hints would be appreciated.

Last edited by burdi01; 07-16-2018 at 06:14 AM.
 
Old 07-18-2018, 08:06 PM   #2
david63025
Member
 
Registered: Apr 2009
Location: Missouri USA
Distribution: Slackware64-15.0
Posts: 33

Rep: Reputation: 24
From the -current64 changelog:

Code:
Sat Jun 23 04:57:41 UTC 2018
a/dialog-1.3_20170509-x86_64-2.txz:  Rebuilt.
  It seems the latest dialog causes a lot of breakage in the installer and
  other scripts. I looked over the diff since last time and nothing jumped
  out at me. Reverting to the previous version that worked properly.
Maybe this is the cause of your issues.
 
Old 07-19-2018, 02:41 AM   #3
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Original Poster
Rep: Reputation: 114Reputation: 114
@david63025: Thank you for responding.
I keep my current installs current, so the dialog version is the Jun 23, 2018 one -- as I checked just to be sure.
Also the problem occurs on one install only, the other one is ok.

Last edited by burdi01; 07-19-2018 at 03:04 AM.
 
  


Reply



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] dialog screen mangled when running slackpkg or pkgtools as root (but not sbopkg) Paulo2 Slackware 25 04-21-2018 02:04 PM
[SOLVED] current64 samba error after upgrade error while loading shared libraries: libcrypto.so.1.1 gildbg Slackware 14 12-28-2017 11:20 AM
slackpkg upgrade-all dialog error Altiris Slackware 13 12-28-2015 10:42 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM
dialog error aneel Linux - General 2 02-15-2006 03:50 PM

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

All times are GMT -5. The time now is 10:53 PM.

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
Open Source Consulting | Domain Registration