Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Versions Fail? #18

Closed
bryanhelmig opened this issue Nov 19, 2013 · 3 comments
Closed

Docker Versions Fail? #18

bryanhelmig opened this issue Nov 19, 2013 · 3 comments

Comments

@bryanhelmig
Copy link

Hey Gareth!

Thanks a million for this module, super useful.

One thing we've noticed is defining a different version causes an error. Digging and we discover:

ubuntu@box:~$ sudo apt-get install lxc-docker=0.6.4

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '0.6.4' for 'lxc-docker' was not found

When it seems like Docker name spaces their releases a little different (note the - instead of the =):

ubuntu@box:~$ sudo apt-get install lxc-docker-0.6.4

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  lxc-docker lxc-docker-0.6.6
The following NEW packages will be installed:
  lxc-docker-0.6.4
0 upgraded, 1 newly installed, 2 to remove and 4 not upgraded.
Need to get 1,667 kB of archives.
After this operation, 5,539 kB disk space will be freed.
Do you want to continue [Y/n]? n

Do you have advice on handling this?

@garethr
Copy link
Owner

garethr commented Nov 22, 2013

I noticed this a few years ago. Appears to have been a change with the new repos. I'll sort a fix for this when I get a moment unless someone beats me to it. Thanks for reporting

@bryanhelmig
Copy link
Author

I can open a PR on the changes we made (to an older repo, albeit) with our tweaks if that helps! The gist is in this commit: bryanhelmig@16c52f6

@garethr
Copy link
Owner

garethr commented Nov 23, 2013

Thanks for the Gist, I've used that as the basis for a fix. edd5bce

@garethr garethr closed this as completed Nov 23, 2013
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

No branches or pull requests

2 participants