gplessis/dotdeb-nginx

nginx-full gets removed on dist-upgrade

Closed this issue · 2 comments

When attempting to run apt-get dist-upgrade on a wheezy server that currently has nginx-full 1.8.1-1~dotdeb+7.1 installed, apt-get decides that nginx-full should be removed:

# apt-get dist-upgrade -s
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  nginx-full
The following NEW packages will be installed:
  libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream
  libxpm4
The following packages will be upgraded:
  nginx-common
1 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
Remv nginx-full [1.8.1-1~dotdeb+7.1]
Inst libxpm4 (1:3.5.10-1 Debian:7.10/oldstable [amd64])
Inst nginx-common [1.8.1-1~dotdeb+7.1] (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [all])
Inst libnginx-mod-http-auth-pam (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Inst libnginx-mod-http-geoip (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Inst libnginx-mod-http-xslt-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Inst libnginx-mod-mail (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Inst libnginx-mod-stream (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libxpm4 (1:3.5.10-1 Debian:7.10/oldstable [amd64])
Conf nginx-common (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [all])
Conf libnginx-mod-http-auth-pam (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-http-geoip (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-http-xslt-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-mail (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-stream (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])

If I do just a regular apt-get install nginx-full its fine:

# apt-get install -s nginx-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  python-medusa
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libgd2-xpm libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-stream libxpm4 nginx-common
Suggested packages:
  libgd-tools fcgiwrap nginx-doc
The following packages will be REMOVED:
  libgd2-noxpm
The following NEW packages will be installed:
  libgd2-xpm libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-stream libxpm4
The following packages will be upgraded:
  nginx-common nginx-full
2 upgraded, 8 newly installed, 1 to remove and 0 not upgraded.
Inst libxpm4 (1:3.5.10-1 Debian:7.10/oldstable [amd64])
Inst nginx-common [1.8.1-1~dotdeb+7.1] (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [all]) [nginx-full:amd64 ]
Inst libnginx-mod-http-geoip (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-http-image-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-http-xslt-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-mail (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-stream (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-http-auth-pam (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst nginx-full [1.8.1-1~dotdeb+7.1] (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) []
Remv libgd2-noxpm [2.0.36~rc1~dfsg-6.1+deb7u3] []
Inst libgd2-xpm (2.0.36~rc1~dfsg-6.1+deb7u3 Debian-Security:7.0/oldstable [amd64])
Conf libxpm4 (1:3.5.10-1 Debian:7.10/oldstable [amd64])
Conf libgd2-xpm (2.0.36~rc1~dfsg-6.1+deb7u3 Debian-Security:7.0/oldstable [amd64])
Conf nginx-common (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [all])
Conf libnginx-mod-http-geoip (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-http-image-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-http-xslt-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-mail (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-stream (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-http-auth-pam (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf nginx-full (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])

I can see looking at install nginx-full that libgd2-noxpm is being removed and replaced by libgd2-xpm, which doesn't happened when dist-upgradeing, so some dependency weirdness to do with that library then perhaps?

And if I run apt-get remove libgd2-noxpm:

# apt-get remove -s libgd2-noxpm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  python-medusa
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libgd2-xpm libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-stream libxpm4 nginx-common nginx-full
Suggested packages:
  libgd-tools fcgiwrap nginx-doc
The following packages will be REMOVED:
  libgd2-noxpm
The following NEW packages will be installed:
  libgd2-xpm libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-stream libxpm4
The following packages will be upgraded:
  nginx-common nginx-full
2 upgraded, 8 newly installed, 1 to remove and 0 not upgraded.
Inst libxpm4 (1:3.5.10-1 Debian:7.10/oldstable [amd64])
Inst nginx-common [1.8.1-1~dotdeb+7.1] (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [all]) [nginx-full:amd64 ]
Inst libnginx-mod-http-geoip (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-http-image-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-http-xslt-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-mail (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-stream (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst libnginx-mod-http-auth-pam (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) [nginx-full:amd64 ]
Inst nginx-full [1.8.1-1~dotdeb+7.1] (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64]) []
Remv libgd2-noxpm [2.0.36~rc1~dfsg-6.1+deb7u3] []
Inst libgd2-xpm (2.0.36~rc1~dfsg-6.1+deb7u3 Debian-Security:7.0/oldstable [amd64])
Conf libxpm4 (1:3.5.10-1 Debian:7.10/oldstable [amd64])
Conf libgd2-xpm (2.0.36~rc1~dfsg-6.1+deb7u3 Debian-Security:7.0/oldstable [amd64])
Conf nginx-common (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [all])
Conf libnginx-mod-http-geoip (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-http-image-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-http-xslt-filter (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-mail (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-stream (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf libnginx-mod-http-auth-pam (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])
Conf nginx-full (1.10.1-1~dotdeb+7.1 dotdeb wheezy:wheezy [amd64])

This appears to have been fixed in the latest release of the nginx packages, thanks.