← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1637058] Re: nginx-common postinst execution fails when upgrading to or reinstalling 1.10.1-0ubuntu3

 

This bug was fixed in the package nginx - 1.4.6-1ubuntu3.7

---------------
nginx (1.4.6-1ubuntu3.7) trusty-security; urgency=medium

  * SECURITY REGRESSION: config upgrade failure (LP: #1637058)
    - debian/nginx-common.config: fix return code so script doesn't exit.

 -- Marc Deslauriers <marc.deslauriers@xxxxxxxxxx>  Thu, 27 Oct 2016
10:42:53 -0400

** Changed in: nginx (Ubuntu Xenial)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1637058

Title:
  nginx-common postinst execution fails when upgrading to or
  reinstalling 1.10.1-0ubuntu3

Status in nginx package in Ubuntu:
  Fix Committed
Status in nginx source package in Trusty:
  Fix Released
Status in nginx source package in Xenial:
  Fix Released
Status in nginx source package in Yakkety:
  Fix Released
Status in nginx source package in Zesty:
  Fix Committed
Status in nginx package in Debian:
  Unknown

Bug description:
  The first installation of the nginx-common on a system without nginx
  installed works fine, but attempting to reinstall it (or upgrade from
  a previous version of nginx-common) results in the post-install script
  exiting with status 1.  I attempted to debug this issue myself, but
  rapidly became lost in a maze of scripts calling each other.

  Luckily, the issue is easy to reproduce.  From a system without nginx
  installed:

  michael@mamarley-desktop:~/Downloads$ sudo dpkg -i nginx-common_1.10.1-0ubuntu3_all.deb 
  [sudo] password for michael: 
  Selecting previously unselected package nginx-common.
  (Reading database ... 414684 files and directories currently installed.)
  Preparing to unpack nginx-common_1.10.1-0ubuntu3_all.deb ...
  Unpacking nginx-common (1.10.1-0ubuntu3) ...
  Setting up nginx-common (1.10.1-0ubuntu3) ...
  Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /lib/systemd/system/nginx.service.
  Processing triggers for systemd (231-9git1) ...
  michael@mamarley-desktop:~/Downloads$ sudo dpkg -i nginx-common_1.10.1-0ubuntu3_all.deb 
  (Reading database ... 414728 files and directories currently installed.)
  Preparing to unpack nginx-common_1.10.1-0ubuntu3_all.deb ...
  Unpacking nginx-common (1.10.1-0ubuntu3) over (1.10.1-0ubuntu3) ...
  Setting up nginx-common (1.10.1-0ubuntu3) ...
  dpkg: error processing package nginx-common (--install):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for systemd (231-9git1) ...
  Errors were encountered while processing:
   nginx-common
  michael@mamarley-desktop:~/Downloads$

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