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

having a problem removing a package



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 information... Done
The following packages will be upgraded:
  bandwidthd
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/79.3 kB of archives.
After this operation, 77.8 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Reading changelogs... Done
Preconfiguring packages ...
cp: cannot stat `/usr/share/doc/bandwidthd/bandwidthd.conf': No such
file or directory
bandwidthd failed to preconfigure, with exit status 1
(Reading database ... 190526 files and directories currently installed.)
Preparing to replace bandwidthd 2.0.1 (using
.../bandwidthd_2.0.1+cvs20090917-4.1_i386.deb) ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit
status 2
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
/var/cache/apt/archives/bandwidthd_2.0.1+cvs20090917-4.1_i386.deb
(--unpack):
 subprocess new pre-removal script returned error exit status 2
configured to not write apport reports
                                      insserv: warning: script
'K01bitmeterweb' missing LSB tags and overrides
insserv: warning: script 'K01bitmeter' missing LSB tags and overrides
insserv: warning: script 'K01bandwidthd' missing LSB tags and overrides
insserv: warning: script 'bandwidthd' missing LSB tags and overrides
insserv: warning: script 'bitmeter' missing LSB tags and overrides
insserv: warning: script 'bitmeterweb' missing LSB tags and overrides
/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?

Thanks

-- 
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: