Unmet dependencies on nginx-extras under Ubuntu artful

Bug #1725615 reported by Alexander Mashin on 2017-10-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nginx
Undecided
Unassigned
nginx (Ubuntu)
Undecided
Unassigned

Bug Description

`lsb_release -rd`:
```
Description: Ubuntu 17.10
Release: 17.10
```

`apt-cache policy nginx-extras`:
```
nginx-extras:
  Installed: (none)
  Candidate: 1.12.1-0+artful0
  Version table:
     1.12.1-0+artful0 500
        500 http://ppa.launchpad.net/nginx/stable/ubuntu artful/main amd64 Packages
     1.12.1-0ubuntu2 500
        500 http://ru.archive.ubuntu.com/ubuntu artful/universe amd64 Packages
```

I typed `sudo apt install nginx-extras` and got:
```Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nginx-extras : Depends: libnginx-mod-http-auth-pam (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-cache-purge (= 1.12.1-0+artful0) but it is not going to be installed
                Depends: libnginx-mod-http-dav-ext (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-echo (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-fancyindex (= 1.12.1-0+artful0) but it is not going to be installed
                Depends: libnginx-mod-http-geoip (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-headers-more-filter (= 1.12.1-0+artful0) but it is not going to be installed
                Depends: libnginx-mod-http-image-filter (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-lua (= 1.12.1-0+artful0) but it is not going to be installed
                Depends: libnginx-mod-http-perl (= 1.12.1-0+artful0) but it is not going to be installed
                Depends: libnginx-mod-http-subs-filter (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-uploadprogress (= 1.12.1-0+artful0) but it is not going to be installed
                Depends: libnginx-mod-http-upstream-fair (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-xslt-filter (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-mail (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-nchan (= 1.12.1-0+artful0) but it is not going to be installed
                Depends: libnginx-mod-stream (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
                Depends: nginx-common (= 1.12.1-0+artful0) but 1.12.1-0+zesty0 is to be installed
E: Unable to correct problems, you have held broken packages.

```

`apt-mark showhold`: nothing.

Tags: ppa Edit Tag help
description: updated
Thomas Ward (teward) wrote :

I presume you've run `sudo apt-get update` and refreshed your repository data *before* trying to install?

Note that this is a PPA problem, not an Ubuntu problem, so I'm repointing this to the proper bug location.

Changed in nginx (Ubuntu):
status: New → Invalid
Changed in nginx:
status: New → Incomplete
tags: added: ppa
Thomas Ward (teward) wrote :

As you are using the PPA and not the repos (I can tell both by version numbers *and* your `apt-cache` output), I've marked this as "Invalid" against the Ubuntu repositories' nginx version, and repointed it to the appropriate project here on Launchpad.

Alexander Mashin (alex-mashin) wrote :

I removed `deb http://ppa.launchpad.net/nginx/stable/ubuntu zesty main` from `/etc/apt/sources.list` (that would, presumably, switch ppa off?), ran `sudo apt update` and then `sudo apt install nginx-extras`. Here is the result:
```
The following packages have unmet dependencies:
 nginx-extras : Depends: libnginx-mod-http-auth-pam (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-cache-purge (= 1.12.1-0ubuntu2) but it is not going to be installed
                Depends: libnginx-mod-http-dav-ext (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-echo (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-fancyindex (= 1.12.1-0ubuntu2) but it is not going to be installed
                Depends: libnginx-mod-http-geoip (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-headers-more-filter (= 1.12.1-0ubuntu2) but it is not going to be installed
                Depends: libnginx-mod-http-image-filter (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-lua (= 1.12.1-0ubuntu2) but it is not going to be installed
                Depends: libnginx-mod-http-perl (= 1.12.1-0ubuntu2) but it is not going to be installed
                Depends: libnginx-mod-http-subs-filter (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-uploadprogress (= 1.12.1-0ubuntu2) but it is not going to be installed
                Depends: libnginx-mod-http-upstream-fair (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-http-xslt-filter (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-mail (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: libnginx-mod-nchan (= 1.12.1-0ubuntu2) but it is not going to be installed
                Depends: libnginx-mod-stream (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
                Depends: nginx-common (= 1.12.1-0ubuntu2) but 1.12.1-0+zesty0 is to be installed
E: Unable to correct problems, you have held broken packages.
```

Alexander Mashin (alex-mashin) wrote :

`apt-cache policy nginx-extras` now that I removed PPA repository reports:
```
nginx-extras:
  Installed: (none)
  Candidate: 1.12.1-0ubuntu2
  Version table:
     1.12.1-0ubuntu2 500
        500 http://ru.archive.ubuntu.com/ubuntu artful/universe amd64 Packages
```

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers