Unable to update nginx-common

I’m running Debian 8.4 Jessie and I’m unable to update NGINX when using ee stack upgrade. I get the following error,

The following packages have unmet dependencies:
 nginx-custom : Depends: nginx-common (= 1.8.1-1ppa) but 1.9.10-1 is to be installed

The following is what I get from running cat /etc/apt/sources.list /etc/apt/sources.list.d/*,

# 

# deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 NETINST Binary-1 20160123-18:59]/ jessie main

#deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 NETINST Binary-1 20160123-18:59]/ jessie main

deb http://http.debian.net/debian jessie main
deb-src http://http.debian.net/debian jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://http.debian.net/debian jessie-updates main
deb-src http://http.debian.net/debian jessie-updates main
deb http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.1/debian jessie main
deb http://download.opensuse.org/repositories/home:/rtCamp:/EasyEngine/Debian_8.0/ /
deb     http://mirror.steadfast.net/debian/ experimental main contrib non-free
deb-src http://mirror.steadfast.net/debian/ experimental main contrib non-free
deb     http://ftp.us.debian.org/debian/    experimental main contrib non-free
deb-src http://ftp.us.debian.org/debian/    experimental main contrib non-free

deb http://apt.newrelic.com/debian/ newrelic non-free
deb     http://security.debian.org/         stable/updates  main contrib non-free
deb     http://security.debian.org/         testing/updates main contrib non-free

deb     http://mirror.steadfast.net/debian/ stable main contrib non-free
deb-src http://mirror.steadfast.net/debian/ stable main contrib non-free
deb     http://ftp.us.debian.org/debian/    stable main contrib non-free
deb-src http://ftp.us.debian.org/debian/    stable main contrib non-free

deb     http://mirror.steadfast.net/debian/ testing main contrib non-free
deb-src http://mirror.steadfast.net/debian/ testing main contrib non-free
deb     http://ftp.us.debian.org/debian/    testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/    testing main contrib non-free

deb     http://mirror.steadfast.net/debian/ unstable main contrib non-free
deb-src http://mirror.steadfast.net/debian/ unstable main contrib non-free
deb     http://ftp.us.debian.org/debian/    unstable main contrib non-free
deb-src http://ftp.us.debian.org/debian/    unstable main contrib non-free

I did find this related article but it doesn’t offer any solution that I would implement…

In case it’s relevant I had run apt-get update and apt-get upgrade before running ee stack upgrade.

After my initial post I ran ee update and then tried running ee stack upgrade again and got the same results.

This is still a problem for me.

Could you please share the output of apt-cache show nginx-common

Running apt-cache search nginx-common returns,

nginx-common - small, powerful, scalable web/proxy server - common files

You either need to install to nginx separately but the command sudo apt-get install nginx-common=1.8.1-1ppa

or you will need to disable your default Ubuntu repos, do a sudo apt-get update and then issue ee stack upgrade. Don’t forget to enable the default repos once you are done.

1 Like