[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: having a problem removing a package



Rodney D. Myers <rod_myers@fastmail.fm> wrote:

> /etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
> invoke-rc.d: initscript bandwidthd, action "start" failed.
> dpkg: error while cleaning up:
> subprocess installed post-installation script returned error exit status 2
> Errors were encountered while processing:
> /var/cache/apt/archives/bandwidthd_2.0.1+cvs20090917-4.1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

> How can I get this program uninstalled?

Easiest thing you can do is to edit the failing init script and replace
its contents with a simple

#!/bin/sh
exit 0

and then try to remove the package again. This new "init" script will
exit with a positive exit code and dpkg will be happy to remove the
package.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


Reply to: