Unable to update nginx-common


#1

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…


#2

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.


#3

This is still a problem for me.


#4

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


#5

Running apt-cache search nginx-common returns,

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


#6

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.


#7