$ sudo apt-get check [sudo] password for jason: Reading package lists... Done Building dependency tree Reading state information... Done ~$ sudo apt-get install amsn Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libsnack2 tcl tcl8.4 tcl8.5 tcltls tk8.5 Suggested packages: docker iceweasel iceape galeon konqueror sox tclsh wish libsnack2-doc tclreadline The following NEW packages will be installed amsn libsnack2 tcl tcl8.4 tcl8.5 tcltls tk8.5 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 7886kB of archives. After this operation, 24.3MB of additional disk space will be used. Do you want to continue [Y/n]? y Get: 1 http://gb.archive.ubuntu.com hardy/main tcl8.4 8.4.16-4 [1195kB] Get: 2 http://gb.archive.ubuntu.com hardy/universe tcl 8.4.16-1 [3780B] Get: 3 http://gb.archive.ubuntu.com hardy/universe tcl8.5 8.5.0-2 [1539kB] Get: 4 http://gb.archive.ubuntu.com hardy/universe libsnack2 2.2.10-dfsg1-5 [412kB] Get: 5 http://gb.archive.ubuntu.com hardy/universe tcltls 1.5.0.dfsg-6 [68.7kB] Get: 6 http://gb.archive.ubuntu.com hardy/universe tk8.5 8.5.0-3 [1147kB] Get: 7 http://gb.archive.ubuntu.com hardy/universe amsn 0.97+final-0ubuntu1 [3520kB] Fetched 7886kB in 32s (242kB/s) Selecting previously deselected package tcl8.4. (Reading database ... 97629 files and directories currently installed.) Unpacking tcl8.4 (from .../tcl8.4_8.4.16-4_amd64.deb) ... Selecting previously deselected package tcl. Unpacking tcl (from .../archives/tcl_8.4.16-1_all.deb) ... Selecting previously deselected package tcl8.5. Unpacking tcl8.5 (from .../tcl8.5_8.5.0-2_amd64.deb) ... Selecting previously deselected package libsnack2. Unpacking libsnack2 (from .../libsnack2_2.2.10-dfsg1-5_amd64.deb) ... Selecting previously deselected package tcltls. Unpacking tcltls (from .../tcltls_1.5.0.dfsg-6_amd64.deb) ... Selecting previously deselected package tk8.5. Unpacking tk8.5 (from .../tk8.5_8.5.0-3_amd64.deb) ... Selecting previously deselected package amsn. Unpacking amsn (from .../amsn_0.97+final-0ubuntu1_amd64.deb) ... Setting up mailscanner (4.58.9-2ubuntu1) ... Checking/installing report files ... invoke-rc.d: initscript mailscanner, action "start" failed. dpkg: error processing mailscanner (--configure): subprocess post-installation script returned error exit status 1 Setting up tcl8.4 (8.4.16-4) ... Setting up tcl (8.4.16-1) ... Setting up tcl8.5 (8.5.0-2) ... Setting up libsnack2 (2.2.10-dfsg1-5) ... Setting up tcltls (1.5.0.dfsg-6) ... Setting up tk8.5 (8.5.0-3) ... Setting up amsn (0.97+final-0ubuntu1) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place Errors were encountered while processing: mailscanner E: Sub-process /usr/bin/dpkg returned an error code (1)