Skip to content

Instantly share code, notes, and snippets.

@tobeportable
Created October 31, 2013 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobeportable/7248520 to your computer and use it in GitHub Desktop.
Save tobeportable/7248520 to your computer and use it in GitHub Desktop.
upgrading docker
# docker version
Client version: 0.6.4
Go version (client): go1.1.2
Git commit (client): 2f74b1c
Server version: 0.6.4
Git commit (server): 2f74b1c
Go version (server): go1.1.2
Last stable version: 0.6.5, please update docker
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  lxc-docker
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
@jacksoncage
Copy link

You can upgrade by simply running sudo apt-get install lxc-docker

@petiepooo
Copy link

That leaves unanswered the question of why it was held back. Anyone know?

@jrwiegand
Copy link

I found this post via Google search and since no one else has answered, I think that the reason is that it has something to do with the way docker is released as a new version of itself. Sort of a guess by looking at the availability of all the versions of docker on my system.

@nicusX
Copy link

nicusX commented Feb 14, 2015

The same problem just occurred again upgrading from Docker lxc-docker-1.4.1 to 1.5.0 (on Ubuntu 14.0.4 for me).

The following packages have been kept back:
  lxc-docker
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Forcing sudo apt-get install lxc-docker fixed the problem:

The following extra packages will be installed:
  lxc-docker-1.5.0
The following packages will be REMOVED:
  lxc-docker-1.4.1
The following NEW packages will be installed:
  lxc-docker-1.5.0
The following packages will be upgraded:
  lxc-docker
1 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.

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