[Bug 1802644] Re: package openssh-server 1:7.6p1-4ubuntu0.1 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 127

 Christian Ehrhardt  1802644 at bugs.launchpad.net
Wed Nov 14 09:12:32 UTC 2018


Hi,
your log is rather short so I can't be sure, but I see this issue:
  Setting up openssh-server (1:7.6p1-4ubuntu0.1) ...
  awk: symbol lookup error: /usr/local/lib/libreadline.so.7: undefined symbol: UP

That in turn does not reproduce for me so it has to be some config/setup
on your machine and I wonder what it is.

I checked for similar cases and found a few where people had alternative (self-built/tarball install) libreadline*.so files in /lib or /usr/local/
Obviously if those are preferred by the linker and not matching what awk is built against it might fail.

Please take a look if you have any alien libreadline shared objects and remove them.
Then this should work as it is supposed to work.

I'd expect that awk fails all the time for you.
If it does you might check with:
  ldd /usr/bin/awk
where it resolves it's libreadline from

-- 
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/1802644

Title:
  package openssh-server 1:7.6p1-4ubuntu0.1 failed to install/upgrade:
  installed openssh-server package post-installation script subprocess
  returned error exit status 127

Status in openssh package in Ubuntu:
  Incomplete

Bug description:
  Automatically created.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: openssh-server 1:7.6p1-4ubuntu0.1
  ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
  Uname: Linux 4.15.0-38-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.4
  Architecture: amd64
  Date: Sat Nov 10 14:22:59 2018
  DuplicateSignature:
   package:openssh-server:1:7.6p1-4ubuntu0.1
   Setting up openssh-server (1:7.6p1-4ubuntu0.1) ...
   awk: symbol lookup error: /usr/local/lib/libreadline.so.7: undefined symbol: UP
   dpkg: error processing package openssh-server (--configure):
    installed openssh-server package post-installation script subprocess returned error exit status 127
  ErrorMessage: installed openssh-server package post-installation script subprocess returned error exit status 127
  Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2.1
   apt  1.6.6
  SourcePackage: openssh
  Title: package openssh-server 1:7.6p1-4ubuntu0.1 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 127
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list