这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@t-8ch
Copy link
Contributor

@t-8ch t-8ch commented Dec 15, 2015

The version of docker.io in jessie-backports is 1.6.2dfsg1-1bpo8+1.
This is regarded as lower than 1.6.2 by dpkg because ~ has a special meaning
in regards to version sort in dpkg.

This leads to:

The following packages have unmet dependencies:
 dokku : Depends: docker-engine-cs but it is not installable or
                  docker-engine but it is not installable or
                  lxc-docker (>= 1.6.2) but it is not installable or
                  docker.io (>= 1.6.2) but 1.6.2~dfsg1-1~bpo8+1 is to be installed
         Recommends: herokuish but it is not going to be installed

By changing the contraints the version in backports will be accepted by dpkg.

The version of docker.io in jessie-backports is 1.6.2~dfsg1-1~bpo8+1.
This is regarded as lower than 1.6.2 by dpkg because `~` has a special meaning
in regards to version sort in dpkg.

This leads to:
```
The following packages have unmet dependencies:
 dokku : Depends: docker-engine-cs but it is not installable or
                  docker-engine but it is not installable or
                  lxc-docker (>= 1.6.2) but it is not installable or
                  docker.io (>= 1.6.2) but 1.6.2~dfsg1-1~bpo8+1 is to be installed
         Recommends: herokuish but it is not going to be installed
```

By changing the contraints the version in backports will be accepted by dpkg.
josegonzalez added a commit that referenced this pull request Dec 15, 2015
@josegonzalez josegonzalez merged commit d097a34 into dokku:master Dec 15, 2015
@josegonzalez
Copy link
Member

Good catch.

@josegonzalez josegonzalez changed the title fix version constraints Fix docker version constraints on jessie systems Dec 23, 2015
josegonzalez added a commit that referenced this pull request Dec 24, 2015
Fixes the following warning:

```
dpkg: warning: parsing file '/var/lib/dpkg/tmp.ci/control' near line 6 package 'dokku':
 `Depends' field, reference to `lxc-docker':
 `>' is obsolete, use `>=' or `>>' instead
```

Refs #1776
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants