bandwidthd Causing APT problems

Bug #1010234 reported by Lee Kennedy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bandwidthd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

received the an error message today when attempting to run software updater:

 E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

when running 'apt-get -f remove' in terminal I got this:
dpkg: error processing bandwidthd:i386 (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.

when running 'apt-get -f install' in terminal I got this:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 bandwidthd:i386 : Depends: ucf:i386 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

running 12.04lts
---
ApportVersion: 2.0.1-0ubuntu9
Architecture: amd64
DistroRelease: Ubuntu 12.04
GsettingsChanges:
 com.ubuntu.update-manager first-run false
 com.ubuntu.update-manager launch-time 1339106045
 com.ubuntu.update-manager show-details true
 com.ubuntu.update-manager window-height 647
 com.ubuntu.update-manager window-width 600
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
Package: update-manager 1:0.156.14.5
PackageArchitecture: all
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Tags: precise
Uname: Linux 3.2.0-25-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-05-02 (36 days ago)
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare

Revision history for this message
Evan Peck (colors) wrote :

Lee,

Please run
apport-collect 1010234
to collect Apport information.
Also, whan reporting bugs in the future, please use
ubuntu-bug PACKAGE
with erronius package name where PACKAGE is.

Muchas Gracias!
Evan Peck ;~)

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Lee Kennedy (leejkennedy) wrote : Aptdaemon.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
Lee Kennedy (leejkennedy) wrote : CurrentDmesg.txt.txt

apport information

Revision history for this message
Lee Kennedy (leejkennedy) wrote : Dependencies.txt

apport information

Revision history for this message
Lee Kennedy (leejkennedy) wrote : DpkgHistoryLog.txt.txt

apport information

Revision history for this message
Lee Kennedy (leejkennedy) wrote : DpkgTerminalLog.txt.gz

apport information

Revision history for this message
Lee Kennedy (leejkennedy) wrote : ProcEnviron.txt

apport information

Revision history for this message
Lee Kennedy (leejkennedy) wrote : Re: Cannot use Update-Manager

please let me know if you need anything else?

Revision history for this message
Evan Peck (colors) wrote :

Ok. Try this:
sudo apt-get install ucf
and tell me what happens.

Thank you!

Revision history for this message
Lee Kennedy (leejkennedy) wrote :

from terminal:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ucf is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 bandwidthd:i386 : Depends: ucf:i386 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Revision history for this message
Evan Peck (colors) wrote :

Well, this must be a problem with bandwidthd then.
Try looking up bandwidthd in Synaptic(installl it if you don't already have it)
Mark it for installation/reinstallation.
Apply.

Thank you!

Revision history for this message
Lee Kennedy (leejkennedy) wrote :

i cant install it or uninstall it. i've downloaded the bandwidthd.deb and have attempted to install it via the ubuntu software centre. i get an error dialog titled 'Items cannot be installed or removed until the package catalogue is repaired. Do you want to repair it now?'. When i click 'repair', i get another dialog which says:

'Package operation failed:
installArchives() failed: dpkg: error processing bandwidthd:i386 (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 bandwidthd:i386
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)'

so i am now stuck. is there anyway to roll back to a previous time (say last week), or remove all traces of this package from my system?

Revision history for this message
Evan Peck (colors) wrote :

Okay, try deleting bandwidthd.deb.
Also, please try with Synaptic like I mentioned earlier.
For me, in Synaptic, it installs just fine.

Muchas Gracias!
Evan Peck ;~)

summary: - Cannot use Update-Manager
+ bandwidthd Causing APT problems
affects: update-manager (Ubuntu) → bandwidthd (Ubuntu)
Revision history for this message
Evan Peck (colors) wrote :

Oh, and also try
sudo dpkg-reconfigure bandwidthd

Revision history for this message
Lee Kennedy (leejkennedy) wrote :

Sorry for the delay in responding...

Dpkg-reconfigure bandwithd returns 'package bandwithd is not installed and no info is available'

I cannot install synaptic, or any other software, via terminal or the ubuntu software centre, as each attempt triggers a similar error message to 'the folowing packages have unmet dependencies bandwithd:i386 : depends ucf:i386 but it is not installable'

Do you have any other suggestions?

Revision history for this message
Evan Peck (colors) wrote :

OH GOSH! I just read your apport information again, I missed have missed the fact that your CPU architecture is AMD64 and Bandwidthd:i386 is a i386 package. What this means is you have the wrong .Deb. So, delete bandwidthd.deb and try installing through Synaptic.

Revision history for this message
Lee Kennedy (leejkennedy) wrote :

sorry if this is a stupid question, but where do I delete it from?

I have deleted the original file I downloaded, and I have deleted the directory /etc/bandwithd. I cannot find any other instance of a temp deb file that would need to be removed?

I appreciate your assistance, but this is really frustrating! Why has the installation borked the system so badly, when, despite it being the wrong architecture, doesnt throw a suitable 'stop now you're being stupid' warning, AND if i just use a non-standard method of installation ie synaptic, all these nonsense issues disappear. IMO this process is broken... :(

Revision history for this message
Lee Kennedy (leejkennedy) wrote :

still cant use update-manager, or install any other software... do you have any other suggestions?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for bandwidthd (Ubuntu) because there has been no activity for 60 days.]

Changed in bandwidthd (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Teguh Prasetyo (teguh-prasetyo) wrote :

I did the same stupidity, installed 32 bit bandwidhtD deb using USC on 64bit xubuntu.
Resulting in the same problem.

I have synaptic installed before the incident, but it failed to fix the problem, resulting in this:

dpkg: error processing bandwidthd:i386 (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 bandwidthd:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

then nothing, the problem persist. Is there any other way to fix this?

Changed in bandwidthd (Ubuntu):
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.