Same problem I have with Bandwidthd, cannot install and cannot
uninstall.
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bandwidthd
The following packages will be upgraded:
bandwidthd
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/65.2kB of archives.
After unpacking 36.9kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package bandwidthd.
(Reading database ... 127298 files and directories currently installed.)
Preparing to replace bandwidthd 2.0.1 (using
.../bandwidthd_2.0.1+cvs20050208-11_i386.deb) ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: warning - 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+cvs20050208-11_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 2
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-11_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
=================================
sudo dpkg -r bandwidthd
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
===========================
sudo apt-get remove bandwidthd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bandwidthd
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 201kB disk space will be freed.
Do you want to continue [Y/n]? y
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
E: Sub-process /usr/bin/dpkg returned an error code (1)
Trying to the update manager, since I have an alert for Bandwidthd it
says:
E: /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-11_i386.deb:
subprocess new pre-removal script returned error exit status 2
I cannot update, install or remove this package. It is just there.
I tried to install the :
SARGE-bandwidthd_2.0.1_i386.deb
And also download bandwidthd-2.0.1.tgz from their website and same results.
I had to copy bandwidthd.conf to /usr/share/doc/bandwidthd/ because it was
giving errors while installing and that did not help.
--
bandwithd crashes on starting
https://bugs.launchpad.net/bugs/111165
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs