{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/1372","labels_url":"https://api.github.com/repos/conda/conda/issues/1372/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/1372/comments","events_url":"https://api.github.com/repos/conda/conda/issues/1372/events","html_url":"https://github.com/conda/conda/issues/1372","id":87151144,"number":1372,"title":"KeyError: 'build_number' on doing conda update conda --yes","user":{"login":"jonathanunderwood","id":992114,"avatar_url":"https://avatars.githubusercontent.com/u/992114?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanunderwood","html_url":"https://github.com/jonathanunderwood","followers_url":"https://api.github.com/users/jonathanunderwood/followers","following_url":"https://api.github.com/users/jonathanunderwood/following{/other_user}","gists_url":"https://api.github.com/users/jonathanunderwood/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanunderwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanunderwood/subscriptions","organizations_url":"https://api.github.com/users/jonathanunderwood/orgs","repos_url":"https://api.github.com/users/jonathanunderwood/repos","events_url":"https://api.github.com/users/jonathanunderwood/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanunderwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T00:04:26Z","updated_at":"2015-08-10T17:17:44Z","closed_at":null,"body":"I am trying to use conda in a pristine virtualenv. \r\n\r\n    pip install conda && conda init\r\n\r\nworks fine, but then issuing \r\n\r\n    conda update conda --yes \r\n\r\nimmediately afterwards results in:\r\n\r\n```shell\r\nFetching package metadata: ..\r\nAn unexpected error has occurred, please consider sending the\r\nfollowing traceback to the conda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda/issues\r\n\r\nInclude the output of the command 'conda info' in your report.\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/jgu/tmp/venv/bin/conda\", line 5, in <module>\r\n    sys.exit(main())\r\n  File \"/home/jgu/tmp/venv/lib/python2.7/site-packages/conda/cli/main.py\", line 201, in main\r\n    args_func(args, p)\r\n  File \"/home/jgu/tmp/venv/lib/python2.7/site-packages/conda/cli/main.py\", line 206, in args_func\r\n    args.func(args, p)\r\n  File \"/home/jgu/tmp/venv/lib/python2.7/site-packages/conda/cli/main_update.py\", line 40, in execute\r\n    install.install(args, parser, 'update')\r\n  File \"/home/jgu/tmp/venv/lib/python2.7/site-packages/conda/cli/install.py\", line 236, in install\r\n    m['name'] == name]\r\nKeyError: 'build_number'\r\n(venv)[jgu@withnail tmp]$ conda info\r\nCurrent conda install:\r\n\r\n             platform : linux-64\r\n        conda version : unknown\r\n  conda-build version : not installed\r\n       python version : 2.7.9.final.0\r\n     requests version : 2.7.0\r\n    root environment : /home/jgu/tmp/venv  (writable)\r\n  default environment : /home/jgu/tmp/venv\r\n     envs directories : /home/jgu/tmp/venv/envs\r\n        package cache : /home/jgu/tmp/venv/pkgs\r\n         channel URLs : http://repo.continuum.io/pkgs/free/linux-64/\r\n                        http://repo.continuum.io/pkgs/pro/linux-64/\r\n          config file : None\r\n    is foreign system : True\r\n```\r\n\r\nThe full session was simply:\r\n 1. virtualenv venv\r\n 2. source venv/bin/activate\r\n 3. pip install conda\r\n 4. conda init\r\n 5.  conda update conda --yes"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/129531869","html_url":"https://github.com/conda/conda/issues/1372#issuecomment-129531869","issue_url":"https://api.github.com/repos/conda/conda/issues/1372","id":129531869,"user":{"login":"tdhopper","id":611122,"avatar_url":"https://avatars.githubusercontent.com/u/611122?v=3","gravatar_id":"","url":"https://api.github.com/users/tdhopper","html_url":"https://github.com/tdhopper","followers_url":"https://api.github.com/users/tdhopper/followers","following_url":"https://api.github.com/users/tdhopper/following{/other_user}","gists_url":"https://api.github.com/users/tdhopper/gists{/gist_id}","starred_url":"https://api.github.com/users/tdhopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdhopper/subscriptions","organizations_url":"https://api.github.com/users/tdhopper/orgs","repos_url":"https://api.github.com/users/tdhopper/repos","events_url":"https://api.github.com/users/tdhopper/events{/privacy}","received_events_url":"https://api.github.com/users/tdhopper/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T17:17:44Z","updated_at":"2015-08-10T17:17:44Z","body":"👍2"}}