E: Sub-process /usr/bin/dpkg returned an error code (1)

Kaushal Shriyan kaushalshriyan at gmail.com
Tue Feb 1 05:47:59 UTC 2011


Hi

Please suggest/guide me about the below issue on Ubuntu 10.10

sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
   asterisk
Suggested packages:
   asterisk-doc asterisk-dev asterisk-h323
The following packages will be upgraded:
   asterisk
1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
2 not fully installed or removed.
Need to get 3,560kB of archives.
After this operation, 102kB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com/ubuntu/ maverick-updates/universe
asterisk i386 1:1.6.2.7-1ubuntu1.1 [3,560kB]
Fetched 3,560kB in 1s (2,698kB/s)
Reading changelogs... Done
(Reading database ... 427321 files and directories currently installed.)
Preparing to replace asterisk 1:1.6.2.7-1ubuntu1 (using
.../asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb) ...
Stopping Asterisk PBX: asteriskstart-stop-daemon: unrecognized option
'--retry=0/2/TERM/2/KILL/5'
Try `start-stop-daemon --help' for more information.
invoke-rc.d: initscript asterisk, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit
status 2
dpkg - trying script from the new package instead ...
Stopping Asterisk PBX: asteriskstart-stop-daemon: unrecognized option
'--retry=0/2/TERM/2/KILL/5'
Try `start-stop-daemon --help' for more information.
invoke-rc.d: initscript asterisk, action "stop" failed.
dpkg: error processing
/var/cache/apt/archives/asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb (--unpack):
  subprocess new pre-removal script returned error exit status 2
Starting Asterisk PBX: start-stop-daemon: unrecognized option '--group'
Try `start-stop-daemon --help' for more information.
invoke-rc.d: initscript asterisk, 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/asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110201/c0474cc3/attachment.html>


More information about the ubuntu-users mailing list