{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/8740","labels_url":"https://api.github.com/repos/ipython/ipython/issues/8740/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/8740/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/8740/events","html_url":"https://github.com/ipython/ipython/issues/8740","id":101672154,"number":8740,"title":"docker build . broken on java install","user":{"login":"kbroughton","id":10562482,"avatar_url":"https://avatars.githubusercontent.com/u/10562482?v=3","gravatar_id":"","url":"https://api.github.com/users/kbroughton","html_url":"https://github.com/kbroughton","followers_url":"https://api.github.com/users/kbroughton/followers","following_url":"https://api.github.com/users/kbroughton/following{/other_user}","gists_url":"https://api.github.com/users/kbroughton/gists{/gist_id}","starred_url":"https://api.github.com/users/kbroughton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbroughton/subscriptions","organizations_url":"https://api.github.com/users/kbroughton/orgs","repos_url":"https://api.github.com/users/kbroughton/repos","events_url":"https://api.github.com/users/kbroughton/events{/privacy}","received_events_url":"https://api.github.com/users/kbroughton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ipython/ipython/milestones/28","html_url":"https://github.com/ipython/ipython/milestones/not%20ipython","labels_url":"https://api.github.com/repos/ipython/ipython/milestones/28/labels","id":1203441,"number":28,"title":"not ipython","description":"Milestone for issues open after 4.0 that no longer correspond to the ipython/ipython repo.\r\n\r\nThese may be migrated to their new homes.","creator":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":27,"state":"open","created_at":"2015-07-11T16:16:41Z","updated_at":"2015-10-12T11:51:09Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-18T14:39:07Z","updated_at":"2015-10-12T11:55:37Z","closed_at":null,"body":"To reproduce, on a system that has no docker cache of the jupyter/demo image\r\n\r\n\r\n```\r\nStep 16 : RUN apt-get install -y --no-install-recommends openjdk-7-jre-headless\r\n ---> Running in 860915f1a3ea\r\nReading package lists...\r\nBuilding dependency tree...\r\nReading state information...\r\nThe following extra packages will be installed:\r\n  ca-certificates-java java-common libasyncns0 libavahi-client3\r\n  libavahi-common-data libavahi-common3 libcups2 libflac8 libjson-c2 libnspr4\r\n  libnss3 libogg0 libpcsclite1 libpulse0 libsndfile1 libvorbis0a libvorbisenc2\r\n  libwrap0 libx11-xcb1 libxi6 libxtst6 tzdata tzdata-java\r\nSuggested packages:\r\n  default-jre equivs cups-common pcscd pulseaudio icedtea-7-jre-jamvm\r\n  libnss-mdns sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho\r\n  ttf-wqy-microhei ttf-wqy-zenhei fonts-indic\r\nRecommended packages:\r\n  tcpd\r\nThe following NEW packages will be installed:\r\n  ca-certificates-java java-common libasyncns0 libavahi-client3\r\n  libavahi-common-data libavahi-common3 libcups2 libflac8 libjson-c2 libnspr4\r\n  libnss3 libogg0 libpcsclite1 libpulse0 libsndfile1 libvorbis0a libvorbisenc2\r\n  libwrap0 libx11-xcb1 libxi6 libxtst6 openjdk-7-jre-headless tzdata-java\r\nThe following packages will be upgraded:\r\n  tzdata\r\n1 upgraded, 23 newly installed, 0 to remove and 9 not upgraded.\r\nNeed to get 43.0 MB of archives.\r\nAfter this operation, 68.1 MB of additional disk space will be used.\r\nGet:1 http://security.debian.org/ jessie/updates/main libcups2 amd64 1.7.5-11+deb8u1 [283 kB]\r\nErr http://security.debian.org/ jessie/updates/main openjdk-7-jre-headless amd64 7u79-2.5.5-1~deb8u1\r\n  404  Not Found [IP: 128.31.0.63 80]\r\nGet:2 http://httpredir.debian.org/debian/ jessie/main libjson-c2 amd64 0.11-4 [24.8 kB]\r\nGet:3 http://httpredir.debian.org/debian/ jessie/main libwrap0 amd64 7.6.q-25 [58.5 kB]\r\nGet:4 http://httpredir.debian.org/debian/ jessie/main libasyncns0 amd64 0.8-5 [12.5 kB]\r\nGet:5 http://httpredir.debian.org/debian/ jessie/main libavahi-common-data amd64 0.6.31-5 [98.6 kB]\r\nGet:6 http://httpredir.debian.org/debian/ jessie/main libavahi-common3 amd64 0.6.31-5 [51.1 kB]\r\nGet:7 http://httpredir.debian.org/debian/ jessie/main libavahi-client3 amd64 0.6.31-5 [54.4 kB]\r\nGet:8 http://httpredir.debian.org/debian/ jessie/main libogg0 amd64 1.3.2-1 [19.9 kB]\r\nGet:9 http://httpredir.debian.org/debian/ jessie/main libflac8 amd64 1.3.0-3 [89.3 kB]\r\nGet:10 http://httpredir.debian.org/debian/ jessie/main libnspr4 amd64 2:4.10.7-1 [116 kB]\r\nGet:11 http://httpredir.debian.org/debian/ jessie/main libnss3 amd64 2:3.17.2-1.1 [1130 kB]\r\nGet:12 http://httpredir.debian.org/debian/ jessie/main libpcsclite1 amd64 1.8.13-1 [56.2 kB]\r\nGet:13 http://httpredir.debian.org/debian/ jessie/main libvorbis0a amd64 1.3.4-2 [92.9 kB]\r\nGet:14 http://httpredir.debian.org/debian/ jessie/main libvorbisenc2 amd64 1.3.4-2 [77.9 kB]\r\nGet:15 http://httpredir.debian.org/debian/ jessie/main libsndfile1 amd64 1.0.25-9.1 [214 kB]\r\nGet:16 http://httpredir.debian.org/debian/ jessie/main libx11-xcb1 amd64 2:1.6.2-3 [163 kB]\r\nGet:17 http://httpredir.debian.org/debian/ jessie/main libxi6 amd64 2:1.7.4-1+b2 [79.7 kB]\r\nGet:18 http://httpredir.debian.org/debian/ jessie/main libxtst6 amd64 2:1.2.2-1+b1 [27.3 kB]\r\nGet:19 http://httpredir.debian.org/debian/ jessie/main libpulse0 amd64 5.0-13 [255 kB]\r\nGet:20 http://httpredir.debian.org/debian/ jessie/main ca-certificates-java all 20140324 [13.7 kB]\r\nErr http://httpredir.debian.org/debian/ jessie-updates/main tzdata all 2015e-0+deb8u1\r\n  404  Not Found [IP: 54.192.145.48 80]\r\nErr http://httpredir.debian.org/debian/ jessie-updates/main tzdata-java all 2015e-0+deb8u1\r\n  404  Not Found [IP: 54.192.145.48 80]\r\nGet:21 http://httpredir.debian.org/debian/ jessie/main java-common all 0.52 [136 kB]\r\nFetched 3054 kB in 4s (709 kB/s)\r\nE: Failed to fetch http://httpredir.debian.org/debian/pool/main/t/tzdata/tzdata_2015e-0+deb8u1_all.deb  404  Not Found [IP: 54.192.145.48 80]\r\n\r\nE: Failed to fetch http://httpredir.debian.org/debian/pool/main/t/tzdata/tzdata-java_2015e-0+deb8u1_all.deb  404  Not Found [IP: 54.192.145.48 80]\r\n\r\nE: Failed to fetch http://security.debian.org/pool/updates/main/o/openjdk-7/openjdk-7-jre-headless_7u79-2.5.5-1~deb8u1_amd64.deb  404  Not Found [IP: 128.31.0.63 80]\r\n\r\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\r\n\r\n------------------------------\r\n\r\nIf I add apt-get update to the first apt line in Dockerfile\r\n\r\nStep 36 : RUN $CONDA_DIR/envs/python2/bin/python $CONDA_DIR/envs/python2/bin/ipython kernelspec install-self --user\r\n ---> Running in 53d78d8e9260\r\nTraceback (most recent call last):\r\n  File \"/opt/conda/envs/python2/bin/ipython\", line 6, in <module>\r\n    sys.exit(start_ipython())\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/IPython/__init__.py\", line 118, in start_ipython\r\n    return launch_new_instance(argv=argv, **kwargs)\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/traitlets/config/application.py\", line 591, in launch_instance\r\n    app.initialize(argv)\r\n  File \"<string>\", line 2, in initialize\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/traitlets/config/application.py\", line 75, in catch_config_error\r\n    return method(app, *args, **kwargs)\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/IPython/terminal/ipapp.py\", line 305, in initialize\r\n    super(TerminalIPythonApp, self).initialize(argv)\r\n  File \"<string>\", line 2, in initialize\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/traitlets/config/application.py\", line 75, in catch_config_error\r\n    return method(app, *args, **kwargs)\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/IPython/core/application.py\", line 386, in initialize\r\n    self.parse_command_line(argv)\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/IPython/terminal/ipapp.py\", line 300, in parse_command_line\r\n    return super(TerminalIPythonApp, self).parse_command_line(argv)\r\n  File \"<string>\", line 2, in parse_command_line\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/traitlets/config/application.py\", line 75, in catch_config_error\r\n    return method(app, *args, **kwargs)\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/traitlets/config/application.py\", line 487, in parse_command_line\r\n    return self.initialize_subcommand(subc, subargv)\r\n  File \"<string>\", line 2, in initialize_subcommand\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/traitlets/config/application.py\", line 75, in catch_config_error\r\n    return method(app, *args, **kwargs)\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/traitlets/config/application.py\", line 418, in initialize_subcommand\r\n    subapp = import_item(subapp)\r\n  File \"/opt/conda/envs/python2/lib/python2.7/site-packages/ipython_genutils/importstring.py\", line 31, in import_item\r\n    module = __import__(package, fromlist=[obj])\r\nImportError: No module named jupyter_client.kernelspecapp\r\n```"},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/147374905","html_url":"https://github.com/ipython/ipython/issues/8740#issuecomment-147374905","issue_url":"https://api.github.com/repos/ipython/ipython/issues/8740","id":147374905,"user":{"login":"parente","id":153745,"avatar_url":"https://avatars.githubusercontent.com/u/153745?v=3","gravatar_id":"","url":"https://api.github.com/users/parente","html_url":"https://github.com/parente","followers_url":"https://api.github.com/users/parente/followers","following_url":"https://api.github.com/users/parente/following{/other_user}","gists_url":"https://api.github.com/users/parente/gists{/gist_id}","starred_url":"https://api.github.com/users/parente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parente/subscriptions","organizations_url":"https://api.github.com/users/parente/orgs","repos_url":"https://api.github.com/users/parente/repos","events_url":"https://api.github.com/users/parente/events{/privacy}","received_events_url":"https://api.github.com/users/parente/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T11:55:37Z","updated_at":"2015-10-12T11:55:37Z","body":"Yes. We fixed this one. I think this is a dupe of one filed against docker-demo-image."}}