Re: E: Sub-process /usr/bin/dpkg returned an error code (1)
Kaushal Shriyan <kaushalshriyan <at> gmail.com>
2011-02-01 06:26:14 GMT
On Tue, Feb 1, 2011 at 11:17 AM, Kaushal Shriyan
<kaushalshriyan <at> gmail.com> wrote:
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
Hi Again,
sudo apt-get install asterisk
Reading package lists... Done
Building dependency tree
Reading state information... Done
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 0B/3,560kB of archives.
After this operation, 102kB disk space will be freed.
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)
Please suggest further
Thanks
Kaushal
<div>
<br><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 11:17 AM, Kaushal Shriyan <span dir="ltr"><<a href="mailto:kaushalshriyan <at> gmail.com">kaushalshriyan <at> gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote">
Hi<br><br>Please suggest/guide me about the below issue on Ubuntu 10.10 <br><br>sudo apt-get -f install<br>Reading package lists... Done<br>Building dependency tree<br>Reading state information... Done<br>Correcting dependencies... Done<br>
The following extra packages will be installed:<br> asterisk<br>Suggested packages:<br> asterisk-doc asterisk-dev asterisk-h323<br>The following packages will be upgraded:<br> asterisk<br>1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.<br>
2 not fully installed or removed.<br>Need to get 3,560kB of archives.<br>After this operation, 102kB disk space will be freed.<br>Do you want to continue [Y/n]? Y<br>Get:1 <a href="http://archive.ubuntu.com/ubuntu/" target="_blank">http://archive.ubuntu.com/ubuntu/</a> maverick-updates/universe <br>
asterisk i386 1:1.6.2.7-1ubuntu1.1 [3,560kB]<br>Fetched 3,560kB in 1s (2,698kB/s)<br>Reading changelogs... Done<br>(Reading database ... 427321 files and directories currently installed.)<br>Preparing to replace asterisk 1:1.6.2.7-1ubuntu1 (using <br>
.../asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb) ...<br>Stopping Asterisk PBX: asteriskstart-stop-daemon: unrecognized option <br>'--retry=0/2/TERM/2/KILL/5'<br>Try `start-stop-daemon --help' for more information.<br>
invoke-rc.d: initscript asterisk, action "stop" failed.<br>dpkg: warning: subprocess old pre-removal script returned error exit <br>status 2<br>dpkg - trying script from the new package instead ...<br>Stopping Asterisk PBX: asteriskstart-stop-daemon: unrecognized option <br>
'--retry=0/2/TERM/2/KILL/5'<br>Try `start-stop-daemon --help' for more information.<br>invoke-rc.d: initscript asterisk, action "stop" failed.<br>dpkg: error processing <br>/var/cache/apt/archives/asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb (--unpack):<br>
subprocess new pre-removal script returned error exit status 2<br>Starting Asterisk PBX: start-stop-daemon: unrecognized option '--group'<br>Try `start-stop-daemon --help' for more information.<br>invoke-rc.d: initscript asterisk, action "start" failed.<br>
dpkg: error while cleaning up:<br> subprocess installed post-installation script returned error exit status 2<br>Errors were encountered while processing:<br> /var/cache/apt/archives/asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb<br>
E: Sub-process /usr/bin/dpkg returned an error code (1)<br><br>Thanks<br><br>Kaushal<br>
</blockquote>
<div>
<br>Hi Again,<br><br>sudo apt-get install asterisk<br>Reading package lists... Done<br>
Building dependency tree<br>Reading state information... Done<br>Suggested packages:<br> asterisk-doc asterisk-dev asterisk-h323<br>The following packages will be upgraded:<br> asterisk<br>1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.<br>
2 not fully installed or removed.<br>Need to get 0B/3,560kB of archives.<br>After this operation, 102kB disk space will be freed.<br>Reading changelogs... Done<br>(Reading database ... 427321 files and directories currently installed.)<br>
Preparing to replace asterisk 1:1.6.2.7-1ubuntu1 (using <br>.../asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb) ...<br>Stopping Asterisk PBX: asteriskstart-stop-daemon: unrecognized option <br>'--retry=0/2/TERM/2/KILL/5'<br>
Try `start-stop-daemon --help' for more information.<br>invoke-rc.d: initscript asterisk, action "stop" failed.<br>dpkg: warning: subprocess old pre-removal script returned error exit <br>status 2<br>dpkg - trying script from the new package instead ...<br>
Stopping Asterisk PBX: asteriskstart-stop-daemon: unrecognized option <br>'--retry=0/2/TERM/2/KILL/5'<br>Try `start-stop-daemon --help' for more information.<br>invoke-rc.d: initscript asterisk, action "stop" failed.<br>
dpkg: error processing <br>/var/cache/apt/archives/asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb (--unpack):<br> subprocess new pre-removal script returned error exit status 2<br>Starting Asterisk PBX: start-stop-daemon: unrecognized option '--group'<br>
Try `start-stop-daemon --help' for more information.<br>invoke-rc.d: initscript asterisk, action "start" failed.<br>dpkg: error while cleaning up:<br> subprocess installed post-installation script returned error exit status 2<br>
Errors were encountered while processing:<br> /var/cache/apt/archives/asterisk_1%3a1.6.2.7-1ubuntu1.1_i386.deb<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br> </div>
</div>Please suggest further<br><br>Thanks<br><br>Kaushal<br><br>
</div>