{"action":"closed","issue":{"url":"https://api.github.com/repos/yyuu/pyenv-installer/issues/45","repository_url":"https://api.github.com/repos/yyuu/pyenv-installer","labels_url":"https://api.github.com/repos/yyuu/pyenv-installer/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/yyuu/pyenv-installer/issues/45/comments","events_url":"https://api.github.com/repos/yyuu/pyenv-installer/issues/45/events","html_url":"https://github.com/yyuu/pyenv-installer/issues/45","id":197014120,"number":45,"title":"error message in first install","user":{"login":"ysolis","id":9123933,"avatar_url":"https://avatars.githubusercontent.com/u/9123933?v=3","gravatar_id":"","url":"https://api.github.com/users/ysolis","html_url":"https://github.com/ysolis","followers_url":"https://api.github.com/users/ysolis/followers","following_url":"https://api.github.com/users/ysolis/following{/other_user}","gists_url":"https://api.github.com/users/ysolis/gists{/gist_id}","starred_url":"https://api.github.com/users/ysolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysolis/subscriptions","organizations_url":"https://api.github.com/users/ysolis/orgs","repos_url":"https://api.github.com/users/ysolis/repos","events_url":"https://api.github.com/users/ysolis/events{/privacy}","received_events_url":"https://api.github.com/users/ysolis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-21T19:30:58Z","updated_at":"2016-12-22T22:58:38Z","closed_at":"2016-12-22T22:58:38Z","body":"I was installing pyenv in a new laptop, and do a new install with pyenv-installer.\r\n\r\nall was good, but I have an error message that didn't appear in previous installs.\r\n\r\n ```\r\n~  pyenv update\r\nUpdating /home/yonsy/.pyenv...\r\npyenv-update: /home/yonsy/.pyenv is not on master branch.\r\nUpdating /home/yonsy/.pyenv/plugins/pyenv-doctor...\r\nFrom https://github.com/yyuu/pyenv-doctor\r\n * branch            master     -> FETCH_HEAD\r\nAlready up-to-date.\r\nUpdating /home/yonsy/.pyenv/plugins/pyenv-installer...\r\nFrom https://github.com/yyuu/pyenv-installer\r\n * branch            master     -> FETCH_HEAD\r\nAlready up-to-date.\r\nUpdating /home/yonsy/.pyenv/plugins/pyenv-update...\r\nFrom https://github.com/yyuu/pyenv-update\r\n * branch            master     -> FETCH_HEAD\r\nAlready up-to-date.\r\nUpdating /home/yonsy/.pyenv/plugins/pyenv-virtualenv...\r\nFrom https://github.com/yyuu/pyenv-virtualenv\r\n * branch            master     -> FETCH_HEAD\r\nAlready up-to-date.\r\nUpdating /home/yonsy/.pyenv/plugins/pyenv-which-ext...\r\nFrom https://github.com/yyuu/pyenv-which-ext\r\n * branch            master     -> FETCH_HEAD\r\nAlready up-to-date.\r\n ✘  ~ \r\n```\r\n\r\nyou can view the error message `pyenv-update: /home/yonsy/.pyenv is not on master branch.`\r\n\r\ndebugging this, i find that in `verify_repo_branch` function for base `~/.pyenv` directory (the pyenv repo, not plugins), `git name-rev --name-only HEAD` returns `tags/v1.0.5`, not `master` and this causes the problem.\r\n\r\n"}}
{"actor":{"display_login":"yyuu"}}