package libapache2-mod-wsgi 4.5.17-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mod-wsgi (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
just trying to set up nextcloud. its probably my fault, idk lol.
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: libapache2-mod-wsgi 4.5.17-1
ProcVersionSign
Uname: Linux 4.13.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Sat Jan 6 05:37:06 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 127
InstallationDate: Installed on 2018-01-04 (2 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageV
dpkg 1.18.24ubuntu1
apt 1.5.1
SourcePackage: mod-wsgi
Title: package libapache2-mod-wsgi 4.5.17-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
Hi Nick,
From your log: dpkg/info/ libapache2- mod-wsgi. postinst: 2: /etc/apache2/ envvars: User: not found
Setting up libapache2-mod-wsgi (4.5.17-1) ...
/var/lib/
[1mdpkg:[0m error processing package libapache2-mod-wsgi (--configure):
This file (envvars) is of apache2.
You could check if there are modifications with:
$ dpkg --verify apache2
If you have modifications please take them back and add them one by one to find which one is breaking you.
If you have no modifications to that file then I don't have a good idea from the logs so far what it could be.