package bandwidthd 2.0.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bandwidthd (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: bandwidthd
I am using Ubuntu 10.04 Lucid Lynx
Bandwidthd is always seen in the update manager and whenever i try to download the package i get the following message - E: /var/cache/
Unable to install or upgrade the package. On attempting to remove package through synaptic package manager I get the message that the package is in a bad inconsistent state and hence need to be reinstalled. Since I am not able to reinstall it I am caught in a vicious circle. Though i do not miss anything due to bug in the package. I am not able to download VLC media player as it seems to be dependent on Bandwithd.
I am also attaching the term.log file. I am doing so as I had come across in some forum,
ProblemType: PackageDistroRe
Package: bandwidthd 2.0.1
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Sat Sep 4 18:17:46 2010
ErrorMessage: subprocess new pre-removal script returned error exit status 2
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: bandwidthd
Title: package bandwidthd 2.0.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2
From DpkgTerminalLog
Preparing to replace bandwidthd 2.0.1 (using .../bandwidthd_
/etc/init.
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.
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 2
description: | updated |
Changed in bandwidthd (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
This is the error:
Preparing to replace bandwidthd 2.0.1 (using .../bandwidthd_ 2.0.1+cvs200909 17-3_i386. deb) ... d/bandwidthd: 19: Syntax error: "(" unexpected d/bandwidthd: 19: Syntax error: "(" unexpected apt/archives/ bandwidthd_ 2.0.1+cvs200909 17-3_i386. deb (--unpack):
/etc/init.
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.
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 2
can you attach your /etc/init. d/bandwidthd file to this report please?