{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/20524","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/20524/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/20524/comments","events_url":"https://api.github.com/repos/docker/docker/issues/20524/events","html_url":"https://github.com/docker/docker/issues/20524","id":135003769,"number":20524,"title":"Impossible to upgrade docker-engine non-interactively","user":{"login":"breerly","id":263587,"avatar_url":"https://avatars.githubusercontent.com/u/263587?v=3","gravatar_id":"","url":"https://api.github.com/users/breerly","html_url":"https://github.com/breerly","followers_url":"https://api.github.com/users/breerly/followers","following_url":"https://api.github.com/users/breerly/following{/other_user}","gists_url":"https://api.github.com/users/breerly/gists{/gist_id}","starred_url":"https://api.github.com/users/breerly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breerly/subscriptions","organizations_url":"https://api.github.com/users/breerly/orgs","repos_url":"https://api.github.com/users/breerly/repos","events_url":"https://api.github.com/users/breerly/events{/privacy}","received_events_url":"https://api.github.com/users/breerly/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-19T23:42:45Z","updated_at":"2016-02-20T00:25:56Z","closed_at":"2016-02-20T00:25:56Z","body":"Docker install does not respect `apt -y install` or `DEBIAN_FRONTEND=noninteractive` - this is rather frustrating since it means I can't get the right version of docker installed during CI\r\n\r\n\r\n```\r\n$ export DEBIAN_FRONTEND=noninteractive\r\n$ sudo apt-get -y install docker-engine\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nThe following extra packages will be installed:\r\n  libsystemd-journal0\r\nRecommended packages:\r\n  yubico-piv-tool\r\nThe following NEW packages will be installed:\r\n  libsystemd-journal0\r\nThe following packages will be upgraded:\r\n  docker-engine\r\n1 upgraded, 1 newly installed, 0 to remove and 228 not upgraded.\r\nNeed to get 8,746 kB of archives.\r\nAfter this operation, 14.9 MB of additional disk space will be used.\r\nGet:1 http://us-central1.gce.archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-journal0 amd64 204-5ubuntu20.18 [49.9 kB]\r\nGet:2 https://apt.dockerproject.org/repo/ ubuntu-trusty/main docker-engine amd64 1.10.1-0~trusty [8,696 kB]\r\nFetched 8,746 kB in 0s (18.9 MB/s)\r\nSelecting previously unselected package libsystemd-journal0:amd64.\r\n(Reading database ... 135346 files and directories currently installed.)\r\nPreparing to unpack .../libsystemd-journal0_204-5ubuntu20.18_amd64.deb ...\r\nUnpacking libsystemd-journal0:amd64 (204-5ubuntu20.18) ...\r\nPreparing to unpack .../docker-engine_1.10.1-0~trusty_amd64.deb ...\r\ndocker stop/waiting\r\nUnpacking docker-engine (1.10.1-0~trusty) over (1.8.2-0~trusty) ...\r\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\r\nNot building database; man-db/auto-update is not 'true'.\r\nProcessing triggers for ureadahead (0.100.0-16) ...\r\nSetting up libsystemd-journal0:amd64 (204-5ubuntu20.18) ...\r\nSetting up docker-engine (1.10.1-0~trusty) ...\r\nInstalling new version of config file /etc/init/docker.conf ...\r\nConfiguration file '/etc/default/docker'\r\n ==> Modified (by you or by a script) since installation.\r\n ==> Package distributor has shipped an updated version.\r\n   What would you like to do about it ?  Your options are:\r\n    Y or I  : install the package maintainer's version\r\n    N or O  : keep your currently-installed version\r\n      D     : show the differences between the versions\r\n      Z     : start a shell to examine the situation\r\n The default action is to keep your current version.\r\n*** docker (Y/I/N/O/D/Z) [default=N] ? \r\n```\r\n\r\nTrying to get this going here: https://github.com/yarpc/yarpc-go/pull/30/files#diff-354f30a63fb0907d4ad57269548329e3R24\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/186464842","html_url":"https://github.com/docker/docker/issues/20524#issuecomment-186464842","issue_url":"https://api.github.com/repos/docker/docker/issues/20524","id":186464842,"user":{"login":"breerly","id":263587,"avatar_url":"https://avatars.githubusercontent.com/u/263587?v=3","gravatar_id":"","url":"https://api.github.com/users/breerly","html_url":"https://github.com/breerly","followers_url":"https://api.github.com/users/breerly/followers","following_url":"https://api.github.com/users/breerly/following{/other_user}","gists_url":"https://api.github.com/users/breerly/gists{/gist_id}","starred_url":"https://api.github.com/users/breerly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breerly/subscriptions","organizations_url":"https://api.github.com/users/breerly/orgs","repos_url":"https://api.github.com/users/breerly/repos","events_url":"https://api.github.com/users/breerly/events{/privacy}","received_events_url":"https://api.github.com/users/breerly/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T00:25:55Z","updated_at":"2016-02-20T00:25:55Z","body":"this worked:\r\n\r\n```\r\n apt-get -o Dpkg::Options::=\"--force-confnew\" install -y ...\r\n```\r\n\r\n@tianon thx dude :)"}}