package openssh-server 1:5.3p1-3ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
I tried to install the packages ssh and openssh-server and get this error:
package openssh-server 1:5.3p1-3ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: openssh-server 1:5.3p1-3ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Sun May 2 12:08:52 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 1: /etc/ssh/
SourcePackage: openssh
Title: package openssh-server 1:5.3p1-3ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Is this a re-install? It failed because there is no /etc/ssh directory.
================
Relevant error:
Setting up openssh-server (1:5.3p1-3ubuntu3) ... dpkg/info/ openssh- server. postinst: 459: cannot create /etc/ssh/ sshd_config: Directory nonexistent
/var/lib/
dpkg: error processing openssh-server (--configure):