Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Dependency #7

Open
nazar-pc opened this issue Nov 25, 2014 · 4 comments
Open

Dependency #7

nazar-pc opened this issue Nov 25, 2014 · 4 comments

Comments

@nazar-pc
Copy link

When using docker repository, its package is called lxc-docker rather than docker.io like in default Ubuntu repo.
Is it possible to specify that either docker.io or lxc-docker is good for travis-run?
Currently I need to modify debian/control to install it correctly

@DanielG
Copy link
Owner

DanielG commented Nov 25, 2014

I don't really like/support using third party repositories. Also the package is only tested on Debian. Regrettably there is no standard way to support multiple Debian derived distributions in one package (AFAIK). The way you're meant to do this is package it in/for Ubuntu separately. And even then depending on a package that's not actually in the archive is most likely against the relevant policy.

Why do you need docker's version of the package anyways? If its to get more recent versions maybe you should look into backports.

@nazar-pc
Copy link
Author

Using Docker's repository I always have the most recent version, while in daily builds of Ubuntu (I'm on 15.04 already for a long time) available version is always significantly older, especially with pretty frequent updates of Docker.

@DanielG
Copy link
Owner

DanielG commented Nov 25, 2014

Ok I think I know a way to make this less PITA. If I declare the dependecy on docker as a Reccomends instead of Depends then it will be installed by default but you can still install it without installing docker. So in your case dpkg -i wont complain. Does that sound reasonable?

@nazar-pc
Copy link
Author

Yes, sounds good.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants