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
I have this problem on x86 (not amd64). With more verbosity, dpkg shows this:
Selecting previously deselected package mldonkey-server. server_ 2.7.1-2ubuntu2_ i386.deb) ... dpkg/info/ mldonkey- server. prerm ( upgrade 2.7.1-2ubuntu2 ) mlnet.pid' found running; none killed. dpkg/tmp. ci/prerm ( failed-upgrade 2.7.1-2ubuntu2 ) mlnet.pid' found running; none killed. server_ 2.7.1-2ubuntu2_ i386.deb (--install): dpkg/info/ mldonkey- server. postinst ( abort-upgrade 2.7.1-2ubuntu2 ) server_ 2.7.1-2ubuntu2_ i386.deb
(Reading database ... 71237 files and directories currently installed.)
Preparing to replace mldonkey-server 2.7.1-2ubuntu2 (using mldonkey-
D000002: fork/exec /var/lib/
Stopping MLDonkey: mlnetNo process in pidfile `/var/run/
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/
Stopping MLDonkey: mlnetNo process in pidfile `/var/run/
invoke-rc.d: initscript mldonkey-server, action "stop" failed.
dpkg: error processing mldonkey-
subprocess new pre-removal script returned error exit status 1
D000002: fork/exec /var/lib/
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-