Posted by & filed under Nginx.

Nginx 1.10.3 has been released on January 31st 2017, to fix a bunch of bugs.

As a consequence, packages of Nginx 1.10.3 are now available :

  • for Debian 8 “Jessie” (with or without full HTTP2 support – see the instructions) and for Debian 7 “Wheezy”
  • On both amd64 and i386 architectures.

Please note that :

  • I had to remove the Pinba module from the nginx-full and nginx-extras flavors to prevent an unexpected/odd behavior with the realip directives,
  • I will include the dual SPDY/HTTP2 patch from Cloudflare in a future update

For more details about which modules are included in the different Nginx flavors (light, full and extras), just take a look at the configuration options of their respective sections in the Jessie and Wheezy Makefiles.

6 Responses to “Nginx 1.10.3 for Jessie and Wheezy”

  1. cantor

    Using debian wheezy, after doing an apt-get dist-upgrade the following errors were posted during the upgrade:

    Errors were encountered while processing:
    /var/cache/apt/archives/nginx_1.10.3-1~wheezy_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    when trying to upgrade again:

    You might want to run ‘apt-get -f install’ to correct these.
    The following packages have unmet dependencies:
    nginx : Depends: nginx-full (< 1.10.2-2~dotdeb+7.2.1~) but 1.10.3-1~dotdeb+7.1 is installed or
    nginx-light (< 1.10.2-2~dotdeb+7.2.1~) but it is not installed or
    nginx-extras (= 1.10.2-2~dotdeb+7.2) but it is not going to be installed or
    nginx-light (>= 1.10.2-2~dotdeb+7.2) but it is not going to be installed or
    nginx-extras (>= 1.10.2-2~dotdeb+7.2) but it is not going to be installed
    Depends: nginx-full (< 1.10.2-2~dotdeb+7.2.1~) but it is not going to be installed or
    nginx-light (< 1.10.2-2~dotdeb+7.2.1~) but it is not going to be installed or
    nginx-extras (< 1.10.2-2~dotdeb+7.2.1~) but it is not going to be installed

    What is the best way to deal with this? I have done an apt-get autoclean so I cannot reinstall older downloaded versions.
    Please help and thank you in advance.

  2. cantor

    @Guillaume Plessis
    I tried the following as you suggested:

    :~$ sudo apt-get install nginx nginx-full
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    nginx-full is already the newest version.
    nginx-full set to manually installed.
    The following packages will be upgraded:
    nginx
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    32 not fully installed or removed.
    Need to get 0 B/1,170 kB of archives.
    After this operation, 2,564 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database … 42745 files and directories currently installed.)
    Preparing to replace nginx 1.10.2-2~dotdeb+7.2 (using …/nginx_1.10.3-1~wheezy_amd64.deb) …
    Unpacking replacement nginx …
    dpkg: error processing /var/cache/apt/archives/nginx_1.10.3-1~wheezy_amd64.deb (–unpack):
    trying to overwrite ‘/usr/share/man/man8/nginx.8.gz’, which is also in package nginx-full 1.10.3-1~dotdeb+7.1
    Processing triggers for man-db …
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/nginx_1.10.3-1~wheezy_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  3. cantor

    @Guillaume Plessis
    \o/ that worked!
    sudo apt-get remove nginx

    Setting up nginx-common (1.10.3-1~dotdeb+7.1) …
    Setting up libnginx-mod-http-auth-pam (1.10.3-1~dotdeb+7.1) …
    Setting up libnginx-mod-http-geoip (1.10.3-1~dotdeb+7.1) …
    Setting up libnginx-mod-http-image-filter (1.10.3-1~dotdeb+7.1) …
    Setting up libnginx-mod-http-xslt-filter (1.10.3-1~dotdeb+7.1) …
    Setting up libnginx-mod-mail (1.10.3-1~dotdeb+7.1) …
    Setting up libnginx-mod-stream (1.10.3-1~dotdeb+7.1) …
    Setting up nginx-full (1.10.3-1~dotdeb+7.1) …
    nginx start/running, process 62470

    no more errors with ‘sudo apt-get upgrade’ anymore.

    Thank you.

Leave a Reply

  • (will not be published)