asterix:~# apt-get install --reinstall ntp Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Setting up ntp (4.2.2.p4+dfsg-2) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing ntp (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: ntp E: Sub-process /usr/bin/dpkg returned an error code (1) asterix:~# apt-get remove ntp Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: ntp 0 upgraded, 0 newly installed, 1 to remove and 7 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 868kB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 100744 files and directories currently installed.) Removing ntp ... dpkg (subprocess): unable to execute pre-removal script: Exec format error dpkg: error processing ntp (--remove): subprocess pre-removal script returned error exit status 2 dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Errors were encountered while processing: ntp E: Sub-process /usr/bin/dpkg returned an error code (1) asterix:~#