nginx-common postinst execution fails when upgrading to or reinstalling 1.10.1 latest uploads

Bug #1637200 reported by Thomas Ward
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Nginx
Fix Released
High
Thomas Ward
Mainline
Fix Released
High
Thomas Ward
Stable
Fix Released
High
Thomas Ward

Bug Description

Thomas Ward (teward)
tags: added: mainline ppa stable
Revision history for this message
Thomas Ward (teward) wrote :

From the other bug:

The core problem is the handling of the version comparison and it not catching the 'failure' and returning a non-failure code as intended.

This results in dpkg dying off, and the observed issues. We're working on a fix.

Thomas Ward (teward)
Changed in nginx:
status: In Progress → Fix Committed
Revision history for this message
PlantDaddy (plantdaddy) wrote :
Download full text (8.0 KiB)

Fix works, thanks for all your hard work!

xxxxxxxx@xxxxxxxx:~/nginxconfs$ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libnginx-mod-http-auth-pam libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream nginx-common nginx-full
Suggested packages:
  fcgiwrap nginx-doc
The following packages will be REMOVED:
  nginx-core
The following NEW packages will be installed:
  libnginx-mod-http-auth-pam libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream nginx-full
The following packages will be upgraded:
  nginx nginx-common
2 upgraded, 10 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 854 kB of archives.
After this operation, 683 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 nginx all 1.11.5-0+yakkety3 [25.3 kB]
Get:2 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 nginx-common all 1.11.5-0+yakkety3 [46.4 kB]
Get:3 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-http-auth-pam amd64 1.11.5-0+yakkety3 [29.4 kB]
Get:4 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-http-echo amd64 1.11.5-0+yakkety3 [40.5 kB]
Get:5 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-http-geoip amd64 1.11.5-0+yakkety3 [30.6 kB]
Get:6 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-http-image-filter amd64 1.11.5-0+yakkety3 [33.5 kB]
Get:7 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-http-subs-filter amd64 1.11.5-0+yakkety3 [32.4 kB]
Get:8 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-http-upstream-fair amd64 1.11.5-0+yakkety3 [32.6 kB]
Get:9 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-http-xslt-filter amd64 1.11.5-0+yakkety3 [32.4 kB]
Get:10 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-mail amd64 1.11.5-0+yakkety3 [60.5 kB]
Get:11 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 libnginx-mod-stream amd64 1.11.5-0+yakkety3 [79.2 kB]
Get:12 http://ppa.launchpad.net/nginx/development/ubuntu yakkety/main amd64 nginx-full amd64 1.11.5-0+yakkety3 [411 kB]
Fetched 854 kB in 2s (345 kB/s)
Preconfiguring packages ...
(Reading database ... 96975 files and directories currently installed.)
Preparing to unpack .../nginx_1.11.5-0+yakkety3_all.deb ...
Unpacking nginx (1.11.5-0+yakkety3) over (1.10.1-0ubuntu1.1) ...
(Reading database ... 96967 files and directories currently installed.)
Removing nginx-core (1.10.1-0ubuntu1.1) ...
(Reading database ... 96970 files and directories cur...

Read more...

Thomas Ward (teward)
Changed in nginx:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.