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

Re: having a problem removing a package



On 8/18/12 8:56 PM, Sven Hartge wrote:
> 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.

Dumb question.

Where is the script located? in the *.deb package

-- 
Rodney D. Myers <rod_dmyers@fastmail.fm>
AIM#:            YAHOO:
mailman452       mailman42_5

They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety.
        Ben Franklin - 1759

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: