Public bug reported: $ sudo apt-get autoremove -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: fonts-font-awesome libblas-common libblas3 libgfortran3 libjs-jquery libjs-sphinxdoc libjs-underscore liblapack3 nginx nginx-common nginx-core python-bs4 python-chardet python-cheetah python-cherrypy3 python-funcsigs python-functools32 python-html5lib python-jsonschema python-ldap python-lxml python-m2crypto python-mock python-numpy python-pam python-pbr python-psutil python-repoze.lru python-routes python-six python-webob websockify Suggested packages: fcgiwrap nginx-doc python-markdown python-pygments python-memcache python-funcsigs-doc python-genshi python-ldap-doc python-pyasn1 python-lxml-dbg python-lxml-doc python-mock-doc gfortran python-nose python-numpy-dbg python-numpy-doc python-pam-dbg python-psutil-doc python-paste python-webob-doc The following NEW packages will be installed: fonts-font-awesome libblas-common libblas3 libgfortran3 libjs-jquery libjs-sphinxdoc libjs-underscore liblapack3 nginx nginx-common nginx-core python-bs4 python-chardet python-cheetah python-cherrypy3 python-funcsigs python-functools32 python-html5lib python-jsonschema python-ldap python-lxml python-m2crypto python-mock python-numpy python-pam python-pbr python-psutil python-repoze.lru python-routes python-six python-webob websockify 0 upgraded, 32 newly installed, 0 to remove and 43 not upgraded. 1 not fully installed or removed. Need to get 8,664 kB of archives. After this operation, 54.8 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-repoze.lru all 0.6-6 [11.7 kB] Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-six all 1.10.0-3 [10.9 kB] Get:3 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4 [161 kB] Get:4 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-underscore all 1.7.0~dfsg-1ubuntu1 [46.7 kB] Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjs-sphinxdoc all 1.3.6-2ubuntu1.1 [57.6 kB] Get:6 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-routes all 2.2-1ubuntu2 [85.4 kB] Get:7 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 python-cherrypy3 all 3.5.0-2build1 [1,315 kB] Get:8 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 python-cheetah amd64 2.4.4-3.fakesyncbuild1 [144 kB] Get:9 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-functools32 all 3.2.3.2-2 [10.7 kB] Get:10 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-funcsigs all 0.4-2 [12.6 kB] Get:11 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-pbr all 1.8.0-4ubuntu1 [46.6 kB] Get:12 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-mock all 1.3.0-2.1ubuntu1 [46.5 kB] Get:13 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-jsonschema all 2.5.1-4 [30.5 kB] Get:14 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 python-m2crypto amd64 0.22.6~rc4-1ubuntu1 [314 kB] Get:15 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-pam amd64 0.4.2-13.2ubuntu2 [9,932 B] Get:16 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-lxml amd64 3.5.0-1build1 [819 kB] Get:17 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-common all 1.10.3-0ubuntu0.16.04.2 [26.6 kB] Get:18 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-core amd64 1.10.3-0ubuntu0.16.04.2 [428 kB] Get:19 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx all 1.10.3-0ubuntu0.16.04.2 [3,490 B] Get:20 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 python-ldap amd64 2.4.22-0.1 [67.8 kB] Get:21 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-psutil amd64 3.4.2-1 [55.2 kB] Get:22 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 fonts-font-awesome all 4.5.0~dfsg-1 [506 kB] Get:23 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libblas-common amd64 3.6.0-2ubuntu2 [5,342 B] Get:24 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libblas3 amd64 3.6.0-2ubuntu2 [147 kB] Get:25 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgfortran3 amd64 5.4.0-6ubuntu1~16.04.9 [260 kB] Get:26 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 liblapack3 amd64 3.6.0-2ubuntu2 [1,938 kB] Get:27 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-numpy amd64 1:1.11.0-1ubuntu1 [1,763 kB] Get:28 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 websockify amd64 0.6.1+dfsg1-1ubuntu1 [38.0 kB] Get:29 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-bs4 all 4.4.1-1 [64.2 kB] Get:30 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-chardet all 2.3.0-2 [96.3 kB] Get:31 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-html5lib all 0.999-4 [83.1 kB] Get:32 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-webob all 1.5.1-1 [61.0 kB] Fetched 8,664 kB in 1min 56s (74.3 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package python-repoze.lru. (Reading database ... 236622 files and directories currently installed.) Preparing to unpack .../python-repoze.lru_0.6-6_all.deb ... Unpacking python-repoze.lru (0.6-6) ... Selecting previously unselected package python-six. Preparing to unpack .../python-six_1.10.0-3_all.deb ... Unpacking python-six (1.10.0-3) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../libjs-jquery_1.11.3+dfsg-4_all.deb ... Unpacking libjs-jquery (1.11.3+dfsg-4) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1ubuntu1_all.deb ... Unpacking libjs-underscore (1.7.0~dfsg-1ubuntu1) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../libjs-sphinxdoc_1.3.6-2ubuntu1.1_all.deb ... Unpacking libjs-sphinxdoc (1.3.6-2ubuntu1.1) ... Selecting previously unselected package python-routes. Preparing to unpack .../python-routes_2.2-1ubuntu2_all.deb ... Unpacking python-routes (2.2-1ubuntu2) ... Selecting previously unselected package python-cherrypy3. Preparing to unpack .../python-cherrypy3_3.5.0-2build1_all.deb ... Unpacking python-cherrypy3 (3.5.0-2build1) ... Selecting previously unselected package python-cheetah. Preparing to unpack .../python-cheetah_2.4.4-3.fakesyncbuild1_amd64.deb ... Unpacking python-cheetah (2.4.4-3.fakesyncbuild1) ... Selecting previously unselected package python-functools32. Preparing to unpack .../python-functools32_3.2.3.2-2_all.deb ... Unpacking python-functools32 (3.2.3.2-2) ... Selecting previously unselected package python-funcsigs. Preparing to unpack .../python-funcsigs_0.4-2_all.deb ... Unpacking python-funcsigs (0.4-2) ... Selecting previously unselected package python-pbr. Preparing to unpack .../python-pbr_1.8.0-4ubuntu1_all.deb ... Unpacking python-pbr (1.8.0-4ubuntu1) ... Selecting previously unselected package python-mock. Preparing to unpack .../python-mock_1.3.0-2.1ubuntu1_all.deb ... Unpacking python-mock (1.3.0-2.1ubuntu1) ... Selecting previously unselected package python-jsonschema. Preparing to unpack .../python-jsonschema_2.5.1-4_all.deb ... Unpacking python-jsonschema (2.5.1-4) ... Selecting previously unselected package python-m2crypto. Preparing to unpack .../python-m2crypto_0.22.6~rc4-1ubuntu1_amd64.deb ... Unpacking python-m2crypto (0.22.6~rc4-1ubuntu1) ... Selecting previously unselected package python-pam. Preparing to unpack .../python-pam_0.4.2-13.2ubuntu2_amd64.deb ... Unpacking python-pam (0.4.2-13.2ubuntu2) ... Selecting previously unselected package python-lxml. Preparing to unpack .../python-lxml_3.5.0-1build1_amd64.deb ... Unpacking python-lxml (3.5.0-1build1) ... Selecting previously unselected package nginx-common. Preparing to unpack .../nginx-common_1.10.3-0ubuntu0.16.04.2_all.deb ... Unpacking nginx-common (1.10.3-0ubuntu0.16.04.2) ... Selecting previously unselected package nginx-core. Preparing to unpack .../nginx-core_1.10.3-0ubuntu0.16.04.2_amd64.deb ... Unpacking nginx-core (1.10.3-0ubuntu0.16.04.2) ... Selecting previously unselected package nginx. Preparing to unpack .../nginx_1.10.3-0ubuntu0.16.04.2_all.deb ... Unpacking nginx (1.10.3-0ubuntu0.16.04.2) ... Selecting previously unselected package python-ldap. Preparing to unpack .../python-ldap_2.4.22-0.1_amd64.deb ... Unpacking python-ldap (2.4.22-0.1) ... Selecting previously unselected package python-psutil. Preparing to unpack .../python-psutil_3.4.2-1_amd64.deb ... Unpacking python-psutil (3.4.2-1) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../fonts-font-awesome_4.5.0~dfsg-1_all.deb ... Unpacking fonts-font-awesome (4.5.0~dfsg-1) ... Selecting previously unselected package libblas-common. Preparing to unpack .../libblas-common_3.6.0-2ubuntu2_amd64.deb ... Unpacking libblas-common (3.6.0-2ubuntu2) ... Selecting previously unselected package libblas3. Preparing to unpack .../libblas3_3.6.0-2ubuntu2_amd64.deb ... Unpacking libblas3 (3.6.0-2ubuntu2) ... Selecting previously unselected package libgfortran3:amd64. Preparing to unpack .../libgfortran3_5.4.0-6ubuntu1~16.04.9_amd64.deb ... Unpacking libgfortran3:amd64 (5.4.0-6ubuntu1~16.04.9) ... Selecting previously unselected package liblapack3. Preparing to unpack .../liblapack3_3.6.0-2ubuntu2_amd64.deb ... Unpacking liblapack3 (3.6.0-2ubuntu2) ... Selecting previously unselected package python-numpy. Preparing to unpack .../python-numpy_1%3a1.11.0-1ubuntu1_amd64.deb ... Unpacking python-numpy (1:1.11.0-1ubuntu1) ... Selecting previously unselected package websockify. Preparing to unpack .../websockify_0.6.1+dfsg1-1ubuntu1_amd64.deb ... Unpacking websockify (0.6.1+dfsg1-1ubuntu1) ... Selecting previously unselected package python-bs4. Preparing to unpack .../python-bs4_4.4.1-1_all.deb ... Unpacking python-bs4 (4.4.1-1) ... Selecting previously unselected package python-chardet. Preparing to unpack .../python-chardet_2.3.0-2_all.deb ... Unpacking python-chardet (2.3.0-2) ... Selecting previously unselected package python-html5lib. Preparing to unpack .../python-html5lib_0.999-4_all.deb ... Unpacking python-html5lib (0.999-4) ... Selecting previously unselected package python-webob. Preparing to unpack .../python-webob_1.5.1-1_all.deb ... Unpacking python-webob (1.5.1-1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for doc-base (0.10.7) ... Processing 5 added doc-base files... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for ufw (0.35-0ubuntu2) ... Rules updated for profile 'OpenSSH' Firewall reloaded Processing triggers for systemd (229-4ubuntu21.1) ... Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ... Processing triggers for libc-bin (2.23-0ubuntu10) ... Setting up python-repoze.lru (0.6-6) ... Setting up python-six (1.10.0-3) ... Setting up libjs-jquery (1.11.3+dfsg-4) ... Setting up libjs-underscore (1.7.0~dfsg-1ubuntu1) ... Setting up libjs-sphinxdoc (1.3.6-2ubuntu1.1) ... Setting up python-routes (2.2-1ubuntu2) ... Setting up python-cherrypy3 (3.5.0-2build1) ... Setting up python-cheetah (2.4.4-3.fakesyncbuild1) ... Setting up python-functools32 (3.2.3.2-2) ... Setting up python-funcsigs (0.4-2) ... Setting up python-pbr (1.8.0-4ubuntu1) ... update-alternatives: using /usr/bin/python2-pbr to provide /usr/bin/pbr (pbr) in auto mode Setting up python-mock (1.3.0-2.1ubuntu1) ... Setting up python-jsonschema (2.5.1-4) ... update-alternatives: using /usr/bin/python2-jsonschema to provide /usr/bin/jsonschema (jsonschema) in auto mode Setting up python-m2crypto (0.22.6~rc4-1ubuntu1) ... Setting up python-pam (0.4.2-13.2ubuntu2) ... Setting up python-lxml (3.5.0-1build1) ... Setting up nginx-common (1.10.3-0ubuntu0.16.04.2) ... Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ... Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. invoke-rc.d: initscript nginx, action "start" failed. ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2018-04-04 00:28:15 IST; 9ms ago Process: 12068 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Apr 04 00:28:15 Lenovo systemd[1]: Starting A high performance web server and a reverse proxy server... Apr 04 00:28:15 Lenovo nginx[12068]: nginx: [emerg] BIO_new_file("/etc/wok/wok-cert.pem") failed (SSL: error:02001002:system librar...ch file) Apr 04 00:28:15 Lenovo nginx[12068]: nginx: configuration file /etc/nginx/nginx.conf test failed Apr 04 00:28:15 Lenovo systemd[1]: nginx.service: Control process exited, code=exited status=1 Apr 04 00:28:15 Lenovo systemd[1]: Failed to start A high performance web server and a reverse proxy server. Apr 04 00:28:15 Lenovo systemd[1]: nginx.service: Unit entered failed state. Apr 04 00:28:15 Lenovo systemd[1]: nginx.service: Failed with result 'exit-code'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package nginx-core (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of nginx: nginx depends on nginx-core (>= 1.10.3-0ubuntu0.16.04.2) | nginx-full (>= 1.10.3-0ubuntu0.16.04.2) | nginx-light (>= 1.10.3-0ubuntu0.16.04.2) | nginx-extras (>= 1.10.3-0ubuntu0.16.04.2); however: Package nginx-core is not configured yet. Package nginx-full is not installed. Package nginx-light is not installed. Package nginx-extras is not installed. nginx depends on nginx-core (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-full (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-light (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-extras (<< 1.10.3-0ubuntu0.16.04.2.1~); however: Package nginx-core is not configured yet. Package nginx-full is not installed. Package nginx-light is not installed. Package nginx-extras is not installed. dpkg: error processing package nginx (--configure): dependency problems - leaving unconfigured Setting up python-ldap (2.4.22-0.1) ... No apport report written because the error message indicates its a followup error from a previous failure. Setting up python-psutil (3.4.2-1) ... Setting up fonts-font-awesome (4.5.0~dfsg-1) ... Setting up libblas-common (3.6.0-2ubuntu2) ... Setting up libblas3 (3.6.0-2ubuntu2) ... update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode Setting up libgfortran3:amd64 (5.4.0-6ubuntu1~16.04.9) ... Setting up liblapack3 (3.6.0-2ubuntu2) ... update-alternatives: using /usr/lib/lapack/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode Setting up python-numpy (1:1.11.0-1ubuntu1) ... Setting up websockify (0.6.1+dfsg1-1ubuntu1) ... dpkg: dependency problems prevent configuration of wok: wok depends on nginx; however: Package nginx is not configured yet. Package nginx-core which provides nginx is not configured yet. dpkg: error processing package wok (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Setting up python-bs4 (4.4.1-1) ... Setting up python-chardet (2.3.0-2) ... Setting up python-html5lib (0.999-4) ... Setting up python-webob (1.5.1-1) ... Processing triggers for systemd (229-4ubuntu21.1) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for ufw (0.35-0ubuntu2) ... Rules updated for profile 'OpenSSH' Firewall reloaded Processing triggers for libc-bin (2.23-0ubuntu10) ... Errors were encountered while processing: nginx-core nginx wok E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 16.04 Package: nginx-core 1.10.3-0ubuntu0.16.04.2 ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13 Uname: Linux 4.13.0-36-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Wed Apr 4 00:28:15 2018 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2017-11-18 (135 days ago) InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801) RelatedPackageVersions: dpkg 1.18.4ubuntu1.3 apt 1.2.25 SourcePackage: nginx Title: package nginx-core 1.10.3-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nginx (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1760964 Title: when performing "sudo apt-get autoremove -f"package nginx-core 1.10.3-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1760964/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs