← Back to team overview

touch-packages team mailing list archive

[Bug 1486107] Re: package openssh-server 1:6.6p1-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

 

I'm having similar problems with this package on 2 different servers.
When updating, dpkg hangs on the post install script of the openssh-
server package. The process becomes defunct and stops responding.

I edited the /var/lib/dpkg/info/openssh-server.postinst file and adjusted set -e to set -x to see the output.
When running dpkg --configure -a, it hangs again when trying to restart the SSH service:

+ [ -d /run/systemd/system ]
+ [ -x /etc/init.d/ssh ]
+ [ ! -e /etc/init/ssh.conf ]
+ [ -n 1:6.6p1-2ubuntu2 ]
+ _dh_action=restart
+ invoke-rc.d ssh restart

This step just never happens. The problem is the same on both servers,
the ssh restart step hangs.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1486107

Title:
  package openssh-server 1:6.6p1-2ubuntu2.3 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

Status in openssh package in Ubuntu:
  Incomplete

Bug description:
  sddf

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: openssh-server 1:6.6p1-2ubuntu2.3
  ProcVersionSignature: Ubuntu 3.16.0-33.44~14.04.1-generic 3.16.7-ckt7
  Uname: Linux 3.16.0-33-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  Date: Tue Aug 18 11:41:29 2015
  DuplicateSignature: package:openssh-server:1:6.6p1-2ubuntu2.3:subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2015-03-06 (164 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  SourcePackage: openssh
  Title: package openssh-server 1:6.6p1-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.init.ssh.conf: [deleted]
  modified.conffile..etc.pam.d.sshd: [modified]
  mtime.conffile..etc.pam.d.sshd: 2015-03-06T11:37:59.759379

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


References