SULDR Forums Supported Printers Printing Questions Scanning Questions General Questions Samsung Installer

Author Topic: installation suld-scantopc-gui  (Read 2781 times)

George82

  • Splashing around
  • ***
  • Posts: 8
    • View Profile
  • Linux Distribution: Ubuntu
  • Printer: CLX-3170, CLX-3160, SCX-4600, ML-2250
installation suld-scantopc-gui
« on: January 21, 2014, 16:53:12 »
I've got some problems installing the suld-scantopc-gui on ubuntu 13.10 and 14.04
I've got this message

Setting up suld-scantopc (0.4.5-3) ...
 * Starting Samsung Scanner Server samsungScannerServer                  [ OK ]
Processing triggers for ureadahead (0.100.0-16) ...
Setting up suld-scantopc-gui (0.4.5-1) ...
invoke-rc.d: syntax error: missing required parameter
dpkg: error processing package suld-scantopc-gui (--configure):
 subprocess installed post-installation script returned error exit status 103
Errors were encountered while processing:
 suld-scantopc-gui


I tried to solve the problem by editing postinst script where i changed from "$2" to "$1". After that the installation worked


if [ -x "/etc/init.d/samsungScannerServer" ]; then
        if [ -n "$2" ]; then
                _dh_action=stop
        fi
        invoke-rc.d samsungScannerServer $_dh_action || exit $?
fi

to

if [ -x "/etc/init.d/samsungScannerServer" ]; then
        if [ -n "$1" ]; then
                _dh_action=stop
        fi
        invoke-rc.d samsungScannerServer $_dh_action || exit $?
fi

bchemnet

  • Administrator
  • *****
  • Posts: 524
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: installation suld-scantopc-gui
« Reply #1 on: January 26, 2014, 10:02:09 »
Thanks.  Now that I'm looking at this, I think actually the whole inner "if" is unnecessary.  I will put out a patched version in a few days.

 

Repository Information Legal Contact Alternative Drivers