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.