Error message using sudo apt-get autoremove:

beaucoder@beaucoder-SSD120:~$ sudo apt-get autoremove
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 3 not upgraded.
1 not fully installed or removed.
Need to get 73.6 kB of archives.
After this operation, 86.0 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe bandwidthd i386 
2.0.1+cvs20090917-4.1 [73.6 kB]
Fetched 73.6 kB in 3s (19.0 kB/s)     
Preconfiguring packages ...
cp: cannot stat `/usr/share/doc/bandwidthd/bandwidthd.conf': No such file or 
directory
bandwidthd failed to preconfigure, with exit status 1
(Reading database ... 193816 files and directories currently installed.)
Preparing to replace bandwidthd 2.0.1 (using 
.../bandwidthd_2.0.1+cvs20090917-4.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 
/var/cache/apt/archives/bandwidthd_2.0.1+cvs20090917-4.1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
No apport report written because MaxReports is reached already
                                                              update-rc.d: 
warning: /etc/init.d/bandwidthd missing LSB information
update-rc.d: see <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
Errors were encountered while processing:
 /var/cache/apt/archives/bandwidthd_2.0.1+cvs20090917-4.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
beaucoder@beaucoder-SSD120:~$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1012465

Title:
  package bandwidthd 2.0.1 failed to install/upgrade: subprocess new
  pre-removal script returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bandwidthd/+bug/1012465/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to