[Bug 1297774] Re: package openssh-server 1:6.2p2-6ubuntu0.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Andrey Zankin
atentos at gmail.com
Thu Apr 3 11:33:49 UTC 2014
It seems the same problem for both packages.
I debugged the confugure script like that:
$ sudo dpkg -D3 --configure openssh-server
Setting up openssh-server (1:6.2p2-6ubuntu0.2) ...
D000002: fork/exec /var/lib/dpkg/info/openssh-server.postinst ( configure 1:6.2p2-6ubuntu0.1 )
start: Job is already running: ssh
invoke-rc.d: initscript ssh, action "restart" failed.
dpkg: error processing openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
so configuration fails on this command inside /var/lib/dpkg/info/openssh-server.postinst (line 302 for me)
invoke-rc.d ssh restart
Debug output using this command:
sudo bash -x invoke-rc.d ssh restart
at that line:
+ test x/usr/sbin/policy-rc.d '!=' x
show me the bug: the executable /usr/sbin/policy-rc.d disappeared
somehow.
** Attachment added: "invoke-rc.d.txt"
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1297774/+attachment/4062930/+files/invoke-rc.d.txt
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1297774
Title:
package openssh-server 1:6.2p2-6ubuntu0.2 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
Status in “dpkg” package in Ubuntu:
New
Bug description:
i dont know
ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: openssh-server 1:6.2p2-6ubuntu0.2
ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
Uname: Linux 3.11.0-18-generic i686
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: i386
Date: Wed Mar 26 14:11:36 2014
DuplicateSignature: package:openssh-server:1:6.2p2-6ubuntu0.2:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2013-05-13 (317 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release i386 (20130424)
MarkForUpload: True
SourcePackage: openssh
Title: package openssh-server 1:6.2p2-6ubuntu0.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to saucy on 2013-10-21 (155 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1297774/+subscriptions
More information about the foundations-bugs
mailing list