Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Upgrade from v1.11 to v1.12 using apt-get on Ubuntu 14.04.4 LTS

I was trying to upgrade docker as is suggsted in its manual

    sudo apt-get upgrade docker-engine

For some unknown reasons this will result in fetching and unpacking almost every package and library in my linux ( linux-images, lightdm, jvm,etc.). This has been going on for an hour now.

Does anyone have any idea what is going wrong and how it can be stopped without messing up my Ubuntu installation?
( in case you are planning to upgrade your docker using this, just don't. a purge an reinstall is a much better choice if you like your Ubuntu)

like image 241
kerrigan Avatar asked Jun 24 '16 17:06

kerrigan


1 Answers

apt-get upgrade always upgrades all the packages on your machine.

You want

$ apt-get update && apt-get install docker-engine -y
like image 91
Paul Becotte Avatar answered Nov 15 '22 06:11

Paul Becotte