I have this problem on x86 (not amd64). With more verbosity, dpkg shows this:
Selecting previously deselected package mldonkey-server. (Reading database ... 71237 files and directories currently installed.) Preparing to replace mldonkey-server 2.7.1-2ubuntu2 (using mldonkey-server_2.7.1-2ubuntu2_i386.deb) ... D000002: fork/exec /var/lib/dpkg/info/mldonkey-server.prerm ( upgrade 2.7.1-2ubuntu2 ) Stopping MLDonkey: mlnetNo process in pidfile `/var/run/mlnet.pid' found running; none killed. invoke-rc.d: initscript mldonkey-server, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... D000002: fork/exec /var/lib/dpkg/tmp.ci/prerm ( failed-upgrade 2.7.1-2ubuntu2 ) Stopping MLDonkey: mlnetNo process in pidfile `/var/run/mlnet.pid' found running; none killed. invoke-rc.d: initscript mldonkey-server, action "stop" failed. dpkg: error processing mldonkey-server_2.7.1-2ubuntu2_i386.deb (--install): subprocess new pre-removal script returned error exit status 1 D000002: fork/exec /var/lib/dpkg/info/mldonkey-server.postinst ( abort-upgrade 2.7.1-2ubuntu2 ) Fatal error: exception Failure("lexing: empty token") Fatal error: exception Failure("lexing: empty token") Fatal error: exception Failure("lexing: empty token") Starting MLDonkey: mlnetinstall: invalid option -- f Try `install --help' for more information. invoke-rc.d: initscript mldonkey-server, action "start" failed. dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: mldonkey-server_2.7.1-2ubuntu2_i386.deb -- post-installation script returns error code 2 on amd64 https://launchpad.net/bugs/32688 -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs