{"action":"closed","issue":{"url":"https://api.github.com/repos/m-labs/artiq/issues/1138","repository_url":"https://api.github.com/repos/m-labs/artiq","labels_url":"https://api.github.com/repos/m-labs/artiq/issues/1138/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/artiq/issues/1138/comments","events_url":"https://api.github.com/repos/m-labs/artiq/issues/1138/events","html_url":"https://github.com/m-labs/artiq/issues/1138","id":352318461,"node_id":"MDU6SXNzdWUzNTIzMTg0NjE=","number":1138,"title":"Conda >= 4.3 Support requires \"noarch/repodata.json\"","user":{"login":"drewrisinger","id":10198051,"node_id":"MDQ6VXNlcjEwMTk4MDUx","avatar_url":"https://avatars0.githubusercontent.com/u/10198051?v=4","gravatar_id":"","url":"https://api.github.com/users/drewrisinger","html_url":"https://github.com/drewrisinger","followers_url":"https://api.github.com/users/drewrisinger/followers","following_url":"https://api.github.com/users/drewrisinger/following{/other_user}","gists_url":"https://api.github.com/users/drewrisinger/gists{/gist_id}","starred_url":"https://api.github.com/users/drewrisinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewrisinger/subscriptions","organizations_url":"https://api.github.com/users/drewrisinger/orgs","repos_url":"https://api.github.com/users/drewrisinger/repos","events_url":"https://api.github.com/users/drewrisinger/events{/privacy}","received_events_url":"https://api.github.com/users/drewrisinger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-20T22:26:12Z","updated_at":"2018-08-29T21:40:05Z","closed_at":"2018-08-29T21:40:05Z","author_association":"NONE","body":"When installing Artiq with Conda >= 4.3, conda throws error about missing \"noarch/repodata.json\" file.\r\n\r\n## Replicating error\r\n* Install conda >= 4.3 (I used 4.5.10)\r\n* DO NOT add conda-forge & m-lab conda channels as stated in [documents](https://m-labs.hk/artiq/manual-master/installing.html#installing-the-artiq-packages):\r\n* Run `conda create -n \"any_env_name\" -c mlabs artiq`\r\n\r\n**In testing, adding m-lab and conda-forge channels via _conda config_ (or _.condarc_ file) fixes this issue.**\r\n\r\n## Error Message (shown in Conda 4.5.10)\r\n```\r\nCondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/mlabs/noarch/repodata.json>\r\nElapsed: 00:00.125801\r\nCF-RAY: 44d83ce0ced89592-IAD\r\n\r\nThe remote server could not find the noarch directory for the\r\nrequested channel with url: https://conda.anaconda.org/mlabs\r\n\r\nAs of conda 4.3, a valid channel must contain a `noarch/repodata.json` and\r\nassociated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is\r\nempty. please request that the channel administrator create\r\n`noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.\r\n$ mkdir noarch\r\n$ echo '{}' > noarch/repodata.json\r\n$ bzip2 -k noarch/repodata.json\r\n\r\nYou will need to adjust your conda configuration to proceed.\r\nUse `conda config --show channels` to view your configuration's current state.\r\nFurther configuration help can be found at <https://conda.io/docs/config.html>.\r\n```\r\n\r\n## Remedy\r\nM-Lab Conda channel admin should run following commands in the conda directory (on the buildbot directory, probably), as shown above.\r\n```\r\n$ mkdir noarch\r\n$ echo '{}' > noarch/repodata.json\r\n$ bzip2 -k noarch/repodata.json\r\n```\r\n\r\nAlternatively, can just force users to add m-labs channel first, but this is a straightforward fix."}}
{"actor":{"display_login":"drewrisinger"}}