[Bug 855366] Re: package openssh-server 1:5.3p1-3ubuntu7 failed to install/upgrade: procedure installed post-installation script returned error code 2

Dave Walker davewalker at ubuntu.com
Wed Sep 21 09:06:32 UTC 2011


Thanks for the bug report, please can you confirm that an ssh server
hasn't previously been installed on this machine, and /etc/ssh been
manually deleted?

Thanks.

Log extract:
Log started: 2011-09-21 09:41:43
Selecting previously deselected package openssh-server.
(Reading database ...
(Reading database ... 5%
...
(Reading database ... 100%
(Reading database ... currently installed 252218 files and directories.)
Decompression is openssh-server (from .../openssh-server_1% 3a5.3p1-3ubuntu7_i386.deb) ...
Treatment of trigger for ureadahead ...
Treatment of trigger for ufw ...
Treatment of trigger for man-db ...
Installing openssh-server (1:5.3 p1-3ubuntu7) ...
/var/lib/dpkg/info/openssh-server.postinst: 459: cannot create /etc/ssh/sshd_config: Directory nonexistent
dpkg: error processing openssh-server (-configure):
 subprocess installed post-installation script returned error status 2

** Changed in: openssh (Ubuntu)
   Importance: Undecided => Medium

** Changed in: openssh (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/855366

Title:
  package openssh-server 1:5.3p1-3ubuntu7 failed to install/upgrade:
  procedure installed post-installation script returned error code 2

Status in “openssh” package in Ubuntu:
  Incomplete

Bug description:
  Description:	Ubuntu 10.04.3 LTS
  Release:	10.04

  openssh-server:
    installed: 1:5.3p1-3ubuntu7
    candidate: 1:5.3p1-3ubuntu7
    Πίνακας Έκδοσης:
   *** 1:5.3p1-3ubuntu7 0
          500 http://gr.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
          100 /var/lib/dpkg/status
       1:5.3p1-3ubuntu3 0
          500 http://gr.archive.ubuntu.com/ubuntu/ lucid/main Packages

  After installing LTSP openssh-server should have been installed too
  but it gave me the above error mentioned.

  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: openssh-server 1:5.3p1-3ubuntu7
  ProcVersionSignature: Ubuntu 2.6.32-33.72-generic 2.6.32.41+drm33.18
  Uname: Linux 2.6.32-33-generic i686
  AptOrdering:
   openssh-server: Install
   openssh-server: Configure
  Architecture: i386
  Date: Wed Sep 21 09:41:48 2011
  ErrorMessage: η υποδιεργασία installed post-installation script επέστρεψε κατάσταση λάθους 2
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  SourcePackage: openssh
  Title: package openssh-server 1:5.3p1-3ubuntu7 failed to install/upgrade: η υποδιεργασία installed post-installation script επέστρεψε κατάσταση λάθους 2

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




More information about the foundations-bugs mailing list