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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Automatically created.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: openssh-server 1:7.6p1-4ubuntu0.1
ProcVersionSign
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:
Setting up openssh-server (1:7.6p1-
awk: symbol lookup error: /usr/local/
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
RelatedPackageV
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)
tags: | removed: need-duplicate-check |
Hi, 4ubuntu0. 1) ... lib/libreadline .so.7: undefined symbol: UP
your log is rather short so I can't be sure, but I see this issue:
Setting up openssh-server (1:7.6p1-
awk: symbol lookup error: /usr/local/
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