package cache (was ... Re: having a problem removing a package)

2012-08-19 Thread Chris Bannister
On Sun, Aug 19, 2012 at 08:04:39PM +0300, Andrei POPESCU wrote: > On Du, 19 aug 12, 23:16:28, Chris Bannister wrote: > > > > When I saw this: > > > dpkg - trying script from the new package instead ... > > > /etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected > > > invoke-rc.d: initscript ban

Re: having a problem removing a package

2012-08-19 Thread Andrei POPESCU
On Du, 19 aug 12, 23:16:28, Chris Bannister wrote: > > When I saw this: > > dpkg - trying script from the new package instead ... > > /etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected > > invoke-rc.d: initscript bandwidthd, action "stop" failed. > > dpkg: error processing > > I thought jus

Re: having a problem removing a package

2012-08-19 Thread Keith McKenzie
On 19 August 2012 12:16, Chris Bannister wrote: > On Sun, Aug 19, 2012 at 12:10:46PM +0300, Andrei POPESCU wrote: >> On Du, 19 aug 12, 13:28:38, Chris Bannister wrote: >> > >> > Ok, first I'd do an "apt-get clean" >> >> Why would you delete the downloaded packages cache because a package >> fails

Re: having a problem removing a package

2012-08-19 Thread Chris Bannister
On Sun, Aug 19, 2012 at 12:10:46PM +0300, Andrei POPESCU wrote: > On Du, 19 aug 12, 13:28:38, Chris Bannister wrote: > > > > Ok, first I'd do an "apt-get clean" > > Why would you delete the downloaded packages cache because a package > fails to remove/purge? When I saw this: > dpkg - trying scr

Re: having a problem removing a package

2012-08-19 Thread Andrei POPESCU
On Du, 19 aug 12, 13:28:38, Chris Bannister wrote: > > Ok, first I'd do an "apt-get clean" Why would you delete the downloaded packages cache because a package fails to remove/purge? Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/

Re: having a problem removing a package

2012-08-18 Thread Chris Bannister
On Sat, Aug 18, 2012 at 08:43:40PM -0400, Rodney D. Myers wrote: > I'm having trouble installing/removing a program "bandwidthd". It's now > in a weird state of not being installed or being able to remove. > > i've tried to upgrade to get it installed, and I get this; > > sudo apt-get upgrade >

Re: having a problem removing a package

2012-08-18 Thread John Hasler
Rodney writes: > How can I get this program uninstalled? First do sudo killall bandwidthd to make sure the daemon isn't running. Then edit /etc/init.d/bandwidthd and add the line exit 0 immediately after the first line (which should be #!/bin/sh). Then remove and purge the package. -- John

Re: having a problem removing a package

2012-08-18 Thread Sven Hartge
Rodney D. Myers wrote: > On 8/18/12 8:56 PM, Sven Hartge wrote: >> Rodney D. Myers 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-installat

Re: having a problem removing a package

2012-08-18 Thread Rodney D. Myers
On 8/18/12 8:56 PM, Sven Hartge wrote: > Rodney D. Myers 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 exi

Re: having a problem removing a package

2012-08-18 Thread Sven Hartge
Rodney D. Myers 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:

having a problem removing a package

2012-08-18 Thread Rodney D. Myers
I'm having trouble installing/removing a program "bandwidthd". It's now in a weird state of not being installed or being able to remove. i've tried to upgrade to get it installed, and I get this; sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state informatio