{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1716","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1716/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1716/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1716/events","html_url":"https://github.com/cockroachdb/cockroach/issues/1716","id":95613135,"number":1716,"title":"run build-docker-dev.sh in ubuntu, but it always connect to debian","user":{"login":"YuleiXiao","id":12639880,"avatar_url":"https://avatars.githubusercontent.com/u/12639880?v=3","gravatar_id":"","url":"https://api.github.com/users/YuleiXiao","html_url":"https://github.com/YuleiXiao","followers_url":"https://api.github.com/users/YuleiXiao/followers","following_url":"https://api.github.com/users/YuleiXiao/following{/other_user}","gists_url":"https://api.github.com/users/YuleiXiao/gists{/gist_id}","starred_url":"https://api.github.com/users/YuleiXiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuleiXiao/subscriptions","organizations_url":"https://api.github.com/users/YuleiXiao/orgs","repos_url":"https://api.github.com/users/YuleiXiao/repos","events_url":"https://api.github.com/users/YuleiXiao/events{/privacy}","received_events_url":"https://api.github.com/users/YuleiXiao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-17T08:33:18Z","updated_at":"2016-03-22T20:50:31Z","closed_at":"2015-07-17T13:12:23Z","body":"I run build-docker-dev.sh in ubuntu 14.04 in office. I found it connect to debian sourcelist but not ubuntu. But at home, it is ok. What make it decide which one to connect?\r\n\r\n\r\n./build-docker-dev.sh \r\nBuilding Docker Cockroach images...\r\nSending build context to Docker daemon 20.48 kB\r\nSending build context to Docker daemon \r\nStep 0 : FROM golang:1.4.2\r\n ---> 124e2127157f\r\nStep 1 : MAINTAINER Tobias Schottdorf <tobias.schottdorf@gmail.com>\r\n ---> Using cache\r\n ---> f63a69d6f272\r\nStep 2 : RUN apt-get update -y && \tapt-get dist-upgrade -y && \tapt-get install --no-install-recommends --auto-remove -y git build-essential pkg-config file npm &&  \tapt-get clean autoclean &&   apt-get autoremove -y &&  \trm -rf /tmp/* && \tln -s /usr/bin/nodejs /usr/bin/node\r\n ---> Running in 7e19238782ad\r\nErr http://httpredir.debian.org jessie InRelease\r\n  \r\nErr http://httpredir.debian.org jessie-updates InRelease\r\n  \r\nErr http://httpredir.debian.org jessie Release.gpg\r\n  Could not resolve 'httpredir.debian.org'\r\nErr http://httpredir.debian.org jessie-updates Release.gpg\r\n  Could not resolve 'httpredir.debian.org'\r\nErr http://security.debian.org jessie/updates InRelease\r\n  \r\nErr http://security.debian.org jessie/updates Release.gpg\r\n  Could not resolve 'security.debian.org'\r\nReading package lists...\r\nW: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/InRelease  \r\n\r\nW: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease  \r\n\r\nW: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease  \r\n\r\nW: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/Release.gpg  Could not resolve 'httpredir.debian.org'\r\n\r\nW: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/Release.gpg  Could not resolve 'httpredir.debian.org'\r\n\r\nW: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Could not resolve 'security.debian.org'\r\n\r\nW: Some index files failed to download. They have been ignored, or old ones used instead.\r\nReading package lists...\r\nBuilding dependency tree...\r\nReading state information...\r\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\r\nReading package lists...\r\nBuilding dependency tree...\r\nReading state information...\r\nPackage file is not available, but is referred to by another package.\r\nThis may mean that the package is missing, has been obsoleted, or\r\nis only available from another source\r\n\r\nPackage pkg-config is not available, but is referred to by another package.\r\nThis may mean that the package is missing, has been obsoleted, or\r\nis only available from another source\r\n\r\nE: Unable to locate package build-essential\r\nE: Package 'pkg-config' has no installation candidate\r\nE: Package 'file' has no installation candidate\r\nE: Unable to locate package npm\r\n"},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/200019329","html_url":"https://github.com/cockroachdb/cockroach/issues/1716#issuecomment-200019329","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1716","id":200019329,"user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T20:50:31Z","updated_at":"2016-03-22T20:50:31Z","body":"So you can ping `httpredir.debian.org` but are getting `Could not resolve 'httpredir.debian.org'` errors?"}}