{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/1272","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/1272/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/1272/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/1272/events","html_url":"https://github.com/Azure/azure-cli/issues/1272","id":188129294,"number":1272,"title":"Update failed on Bash on Windows","user":{"login":"JasonRShaver","id":10146011,"avatar_url":"https://avatars.githubusercontent.com/u/10146011?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonRShaver","html_url":"https://github.com/JasonRShaver","followers_url":"https://api.github.com/users/JasonRShaver/followers","following_url":"https://api.github.com/users/JasonRShaver/following{/other_user}","gists_url":"https://api.github.com/users/JasonRShaver/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonRShaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonRShaver/subscriptions","organizations_url":"https://api.github.com/users/JasonRShaver/orgs","repos_url":"https://api.github.com/users/JasonRShaver/repos","events_url":"https://api.github.com/users/JasonRShaver/events{/privacy}","received_events_url":"https://api.github.com/users/JasonRShaver/received_events","type":"User","site_admin":false},"labels":[{"id":321247994,"url":"https://api.github.com/repos/Azure/azure-cli/labels/bug","name":"bug","color":"fc2929","default":true},{"id":420278907,"url":"https://api.github.com/repos/Azure/azure-cli/labels/Install","name":"Install","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-08T23:09:21Z","updated_at":"2016-11-08T23:57:02Z","closed_at":null,"body":"Tried to update from b7 and got a failure.  Is this a known issue (upgrading from b7) or a bug? \r\n\r\n```\r\n$ az --version\r\nazure-cli (0.1.0b7)\r\n\r\ncomponent (0.1.0b7)\r\nconfigure (0.1.0b7)\r\ncore (0.1.0b7)\r\nfeedback (0.1.0b7)\r\nnetwork (0.1.0b7)\r\nprofile (0.1.0b7)\r\nresource (0.1.0b7)\r\nrole (0.1.0b7)\r\nstorage (0.1.0b7)\r\nvm (0.1.0b7)\r\n\r\nPython (Linux) 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n[GCC 4.8.2]\r\n$ az component update\r\nException:\r\nTraceback (most recent call last):\r\n  File \"/opt/az/local/lib/python2.7/site-packages/pip/basecommand.py\", line 215, in main\r\n    status = self.run(options, args)\r\n  File \"/opt/az/local/lib/python2.7/site-packages/pip/commands/install.py\", line 317, in run\r\n    prefix=options.prefix_path,\r\n  File \"/opt/az/local/lib/python2.7/site-packages/pip/req/req_set.py\", line 736, in install\r\n    requirement.uninstall(auto_confirm=True)\r\n  File \"/opt/az/local/lib/python2.7/site-packages/pip/req/req_install.py\", line 742, in uninstall\r\n    paths_to_remove.remove(auto_confirm)\r\n  File \"/opt/az/local/lib/python2.7/site-packages/pip/req/req_uninstall.py\", line 115, in remove\r\n    renames(path, new_path)\r\n  File \"/opt/az/local/lib/python2.7/site-packages/pip/utils/__init__.py\", line 267, in renames\r\n    shutil.move(old, new)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 303, in move\r\n    os.unlink(src)\r\nOSError: [Errno 13] Permission denied: '/opt/az/bin/easy_install'\r\n$ sudo -H az component update\r\nCommand \"/opt/az/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-KbZudi/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" --no-user-cfg install --record /tmp/pip-z_36ZO-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/az/include/site/python2.7/cryptography\" failed with error code 1 in /tmp/pip-build-KbZudi/cryptography/\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/comments/259297712","html_url":"https://github.com/Azure/azure-cli/issues/1272#issuecomment-259297712","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/1272","id":259297712,"user":{"login":"derekbekoe","id":16448634,"avatar_url":"https://avatars.githubusercontent.com/u/16448634?v=3","gravatar_id":"","url":"https://api.github.com/users/derekbekoe","html_url":"https://github.com/derekbekoe","followers_url":"https://api.github.com/users/derekbekoe/followers","following_url":"https://api.github.com/users/derekbekoe/following{/other_user}","gists_url":"https://api.github.com/users/derekbekoe/gists{/gist_id}","starred_url":"https://api.github.com/users/derekbekoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekbekoe/subscriptions","organizations_url":"https://api.github.com/users/derekbekoe/orgs","repos_url":"https://api.github.com/users/derekbekoe/repos","events_url":"https://api.github.com/users/derekbekoe/events{/privacy}","received_events_url":"https://api.github.com/users/derekbekoe/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T23:57:02Z","updated_at":"2016-11-08T23:57:02Z","body":"@JasonRShaver Can you run this with `--debug` and `--show-logs` and post the output."}}
{"actor":{"display_login":"derekbekoe"}}