PDA

View Full Version : [ubuntu] Bandwidthd Will Not let me Uninstall



ayoalex
November 6th, 2010, 06:41 PM
I am trying to update my bandwidthd but it says that i should reinstall it, but when i do that it just throws me an error. I am running Ubuntu 10.04 in case it helps. I am getting really frustrated by this and don't know to fix it because it wont let me uninstall, reinstall, upgrade, or update. Please help me!! Thank you!

yeats
November 6th, 2010, 06:53 PM
Can you post the specific error messages you're getting?

ayoalex
November 6th, 2010, 06:59 PM
This comes up when i click removal:

dpkp: error processing bandwidthd (--remove):
Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.

but in Synaptic it won't let me selected it as mark for re-installation.

ironic.demise
November 6th, 2010, 07:00 PM
try sudo apt-get remove bandwidth

ayoalex
November 6th, 2010, 07:02 PM
Just tried that and got this


Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package bandwidth

ironic.demise
November 6th, 2010, 07:24 PM
Just tried that and got this


Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package bandwidth
Sorry I meant bandwidthd

sudo apt-get remove bandwidthd
sudo apt-get update
sudo apt-get install bandwidthd
sudo apt-get upgrade

Hope helps

ayoalex
November 6th, 2010, 07:26 PM
sorry yeah i wasn't even thinking and just copied what you put into the terminal but any way it STILL didn't work. This is what i got :

when i type in sudo apt-get remove bandwidthd

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package bandwidth
alexander@alexander-laptop:~$ sudo apt-get remove bandwidthd
[sudo] password for alexander:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.32-21
Use 'apt-get autoremove' to remove them.
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.
After this operation, 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)

yeats
November 6th, 2010, 11:20 PM
Try (in a terminal):


sudo apt-get -f install

and see if that helps.

yeats
November 6th, 2010, 11:22 PM
You might also look at this thread:

http://ubuntuforums.org/showthread.php?t=500229

ironic.demise
November 7th, 2010, 02:39 PM
sudo apt-get install bandwidthd
sudo apt-get upgrade bandwidthd
sudo apt-get remove bandwidthd

ironic.demise
November 7th, 2010, 02:40 PM
sudo apt-get install bandwidthd
sudo apt-get upgrade bandwidthd
sudo apt-get remove bandwidthd