{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/31405","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/31405/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/31405/comments","events_url":"https://api.github.com/repos/docker/docker/issues/31405/events","html_url":"https://github.com/docker/docker/issues/31405","id":210694351,"number":31405,"title":"add-apt-repository fails on Raspbian (Jessie)","user":{"login":"adriel","id":154217,"avatar_url":"https://avatars3.githubusercontent.com/u/154217?v=3","gravatar_id":"","url":"https://api.github.com/users/adriel","html_url":"https://github.com/adriel","followers_url":"https://api.github.com/users/adriel/followers","following_url":"https://api.github.com/users/adriel/following{/other_user}","gists_url":"https://api.github.com/users/adriel/gists{/gist_id}","starred_url":"https://api.github.com/users/adriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriel/subscriptions","organizations_url":"https://api.github.com/users/adriel/orgs","repos_url":"https://api.github.com/users/adriel/repos","events_url":"https://api.github.com/users/adriel/events{/privacy}","received_events_url":"https://api.github.com/users/adriel/received_events","type":"User","site_admin":false},"labels":[{"id":439919153,"url":"https://api.github.com/repos/docker/docker/labels/platform/arm","name":"platform/arm","color":"F6FBFF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-02-28T05:57:48Z","updated_at":"2017-03-01T10:51:49Z","closed_at":null,"body":"---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\n\r\n**Description**\r\n\r\nFollowing the install steps at the [docker install instructions page](https://docs.docker.com/engine/installation/linux/debian/) fails at step 3.\r\nHowever, Docker installs fine when using `curl -sSL get.docker.com | sh`\r\n\r\n**Steps to reproduce the issue:**\r\n1. Clean install of Raspbian Jessie lite 2017-02-16 from the [official source](https://www.raspberrypi.org/downloads/raspbian/).\r\n2. Follow the [install steps for Debian Stretch (Raspbian)](https://docs.docker.com/engine/installation/linux/debian/)\r\n3. At step 3, try running the Rasbian specific code: (`lsb_release -cs` returns \"jessie\")\r\n\r\n```\r\nsudo add-apt-repository \\\r\n  \"deb https://apt.dockerproject.org/repo/ \\\r\n  raspbian-$(lsb_release -cs) \\\r\n  main\"\r\n```\r\n\r\n4. You get error.\r\n\r\n\r\n**Describe the results you received:**\r\n```\r\npi@pi:~ $ sudo add-apt-repository \\\r\n>   \"deb https://apt.dockerproject.org/repo/ \\\r\n>   raspbian-$(lsb_release -cs) \\\r\n>   main\"\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/add-apt-repository\", line 167, in <module>\r\n    sp = SoftwareProperties(options=options)\r\n  File \"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py\", line 105, in __init__\r\n    self.reload_sourceslist()\r\n  File \"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py\", line 595, in reload_sourceslist\r\n    self.distro.get_sources(self.sourceslist)    \r\n  File \"/usr/lib/python3/dist-packages/aptsources/distro.py\", line 89, in get_sources\r\n    (self.id, self.codename))\r\naptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie\r\npi@pi:~ $ lsb_release -cs\r\njessie\r\n```\r\n\r\n**Describe the results you expected:**\r\nFor the `add-apt-repository` command to succeed, and finish installing Docker.\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\nRunning on a brand new Raspberry Pi 3 Model B\r\nI also had this same issue come up on one of my other Raspberry Pi's, can't remember if it was the first gen or another 3rd gen I have, but didn't have time to debug then.\r\n\r\n**Edit:** Typo fix"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/283308508","html_url":"https://github.com/docker/docker/issues/31405#issuecomment-283308508","issue_url":"https://api.github.com/repos/docker/docker/issues/31405","id":283308508,"user":{"login":"alexellis","id":6358735,"avatar_url":"https://avatars2.githubusercontent.com/u/6358735?v=3","gravatar_id":"","url":"https://api.github.com/users/alexellis","html_url":"https://github.com/alexellis","followers_url":"https://api.github.com/users/alexellis/followers","following_url":"https://api.github.com/users/alexellis/following{/other_user}","gists_url":"https://api.github.com/users/alexellis/gists{/gist_id}","starred_url":"https://api.github.com/users/alexellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexellis/subscriptions","organizations_url":"https://api.github.com/users/alexellis/orgs","repos_url":"https://api.github.com/users/alexellis/repos","events_url":"https://api.github.com/users/alexellis/events{/privacy}","received_events_url":"https://api.github.com/users/alexellis/received_events","type":"User","site_admin":false},"created_at":"2017-03-01T10:51:49Z","updated_at":"2017-03-01T10:51:49Z","body":"I wonder if this is due to the S3 outage? I installed Docker on the brand new PiZeroW yesterday with no issues.. then today I'm also getting failures, 503 etc from the Docker/Raspbian mirrors."}}
{"actor":{"display_login":"alexellis"}}