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

installation suld-scantopc-gui

Started by George82, January 21, 2014, 16:53:12

Previous topic - Next topic

George82

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

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