[ubuntu-uk] Installation of package failed - now I can't remove it!

Phill Whiteside PhillW at Ubuntu.com
Wed Oct 10 13:19:56 UTC 2012


Hi,

here's a set of notes created and saved a while ago :)
http://forum.phillw.net/viewtopic.php?f=4&t=87

Regards,

Phill.

On 10 October 2012 14:17, Gordon Burgess-Parker <gbplinux at gmail.com> wrote:

>  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><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 OOXML http://www.linuxjournal.com/article/9594#mpart8
> I only accept odf or pdf documents by email
>
>
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
> --
> <https://wiki.ubuntu.com/UKTeam/>https://wiki.ubuntu.com/phillw
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20121010/f121dd91/attachment.html>


More information about the ubuntu-uk mailing list