[ubuntu-uk] Installation of package failed - now I can't remove it!
Gordon Burgess-Parker
gbplinux at gmail.com
Wed Oct 10 13:17:18 UTC 2012
In tried installing Bandwidthd from here:
http://bandwidthd.sourceforge.net/.
It didn't install properly. On trying the re-install I got this:
Preparing to replace bandwidthd 2.0.1 (using
.../SARGE-bandwidthd_2.0.1_i386.deb) ...
/etc/init.d/bandwidthd: 19: /etc/init.d/bandwidthd: 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: /etc/init.d/bandwidthd: Syntax error: "("
unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: error processing
/home/gordon/Downloads/SARGE-bandwidthd_2.0.1_i386.deb (--install):
subprocess new pre-removal script returned error exit status 2
update-rc.d: warning: /etc/init.d/bandwidthd missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
/etc/init.d/bandwidthd: 19: /etc/init.d/bandwidthd: 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
If I try to uninstall it I get this:
Package operation failed
The installation or removal of a software package failed.
installArchives() failed: dpkg: error processing bandwidthd (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
bandwidthd
Error in function:
It now comes up as exit status 2 every time I install anything else.
How can I get rid of this borked installation?
--
Registered Linux User no 240308
GBP's alternative computing:http://gbplinuxfoss.blogspot.com/
Say No to OOXMLhttp://www.linuxjournal.com/article/9594#mpart8
I only accept odf or pdf documents by email
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20121010/8385cacf/attachment.html>
More information about the ubuntu-uk
mailing list