Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create new environments after updating conda #6706

Closed
robguinness opened this issue Jan 10, 2018 · 18 comments
Closed

Can't create new environments after updating conda #6706

robguinness opened this issue Jan 10, 2018 · 18 comments
Labels
locked [bot] locked due to inactivity severity::3 major; broken functionality with a workaround source::community catch-all for issues filed by community members stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::bug describes erroneous operation, use severity::* to classify the type

Comments

@robguinness
Copy link

robguinness commented Jan 10, 2018

I just updated conda to v4.4.7, and this seems to break things. In particular, I can't recreate new environments. Here is a snippet of the verbose output after upgrading and trying to create a new environment:

TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jasper-1.900.1-4/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jbig-2.1-hdba287a_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jbig-2.1-hdba287a_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jbig-2.1-hdba287a_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jdcal-1.3-py36h4c697fb_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jdcal-1.3-py36h4c697fb_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jdcal-1.3-py36h4c697fb_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jedi-0.10.2-py36h552def0_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jedi-0.10.2-py36h552def0_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jedi-0.10.2-py36h552def0_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jedi-0.11.0-py36hf290c5b_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jedi-0.11.0-py36hf290c5b_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jedi-0.11.0-py36hf290c5b_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jinja2-2.10-py27h4114e70_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jinja2-2.10-py27h4114e70_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jinja2-2.10-py27h4114e70_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jinja2-2.10-py36ha16c418_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jinja2-2.10-py36ha16c418_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jinja2-2.10-py36ha16c418_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jinja2-2.9.6-py36h489bce4_1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jinja2-2.9.6-py36h489bce4_1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jinja2-2.9.6-py36h489bce4_1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jpeg-8d-2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jpeg-8d-2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jpeg-8d-2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jpeg-9b-h024ee3a_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jpeg-9b-h024ee3a_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jpeg-9b-h024ee3a_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jpeg-9b-habf39ab_1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jpeg-9b-habf39ab_1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jpeg-9b-habf39ab_1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jsonschema-2.6.0-py27h7ed5aa4_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jsonschema-2.6.0-py27h7ed5aa4_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jsonschema-2.6.0-py27h7ed5aa4_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jsonschema-2.6.0-py36h006f8b5_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jsonschema-2.6.0-py36h006f8b5_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jsonschema-2.6.0-py36h006f8b5_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyter-1.0.0-py36h9896ce5_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyter-1.0.0-py36h9896ce5_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyter-1.0.0-py36h9896ce5_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyter_client-5.1.0-py27hbee1118_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyter_client-5.1.0-py27hbee1118_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyter_client-5.1.0-py27hbee1118_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyter_client-5.1.0-py36h614e9ea_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyter_client-5.1.0-py36h614e9ea_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyter_client-5.1.0-py36h614e9ea_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyter_console-5.2.0-py36he59e554_1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyter_console-5.2.0-py36he59e554_1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyter_console-5.2.0-py36he59e554_1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyter_core-4.3.0-py36h357a921_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyter_core-4.3.0-py36h357a921_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyter_core-4.3.0-py36h357a921_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyter_core-4.4.0-py27h345911c_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyter_core-4.4.0-py27h345911c_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyter_core-4.4.0-py27h345911c_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyter_core-4.4.0-py36h7c827e3_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyter_core-4.4.0-py36h7c827e3_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyter_core-4.4.0-py36h7c827e3_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyterlab-0.27.0-py36h86377d0_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyterlab-0.27.0-py36h86377d0_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyterlab-0.27.0-py36h86377d0_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/jupyterlab_launcher-0.4.0-py36h4d8058d_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/jupyterlab_launcher-0.4.0-py36h4d8058d_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/jupyterlab_launcher-0.4.0-py36h4d8058d_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/krb5-1.14.2-h56d4222_4.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/krb5-1.14.2-h56d4222_4/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/krb5-1.14.2-h56d4222_4/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/krb5-1.14.2-hcdc1b81_6.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/krb5-1.14.2-hcdc1b81_6/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/krb5-1.14.2-hcdc1b81_6/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/lazy-object-proxy-1.3.1-py36h10fcdad_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/lazy-object-proxy-1.3.1-py36h10fcdad_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/lazy-object-proxy-1.3.1-py36h10fcdad_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/leveldb-1.20-0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/leveldb-1.20-0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/leveldb-1.20-0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libedit-3.1-heed3624_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libedit-3.1-heed3624_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libedit-3.1-heed3624_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libffi-3.2.1-h4deb6c0_3.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libffi-3.2.1-h4deb6c0_3/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libffi-3.2.1-h4deb6c0_3/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libffi-3.2.1-hd88cf55_4.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libffi-3.2.1-hd88cf55_4/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libffi-3.2.1-hd88cf55_4/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libgcc-5.2.0-0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libgcc-5.2.0-0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libgcc-5.2.0-0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libgcc-7.2.0-h69d50b8_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libgcc-7.2.0-h69d50b8_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libgcc-7.2.0-h69d50b8_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libgcc-ng-7.2.0-h7cc24e2_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libgcc-ng-7.2.0-h7cc24e2_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libgcc-ng-7.2.0-h7cc24e2_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libgfortran-3.0.0-1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libgfortran-3.0.0-1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libgfortran-3.0.0-1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libgfortran-ng-7.2.0-h9f7466a_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libgfortran-ng-7.2.0-h9f7466a_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libgfortran-ng-7.2.0-h9f7466a_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libgpuarray-0.6.9-0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libgpuarray-0.6.9-0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libgpuarray-0.6.9-0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libiconv-1.14-0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libiconv-1.14-0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libiconv-1.14-0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libiconv-1.15-h63c8f33_5.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libiconv-1.15-h63c8f33_5/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libiconv-1.15-h63c8f33_5/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libpng-1.6.28-2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libpng-1.6.28-2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libpng-1.6.28-2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libpng-1.6.32-hbd3595f_4.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libpng-1.6.32-hbd3595f_4/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libpng-1.6.32-hbd3595f_4/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libpng-1.6.32-hda9c8bc_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libpng-1.6.32-hda9c8bc_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libpng-1.6.32-hda9c8bc_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libprotobuf-3.4.1-h5b8497f_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libprotobuf-3.4.1-h5b8497f_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libprotobuf-3.4.1-h5b8497f_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libsodium-1.0.13-h31c71d8_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libsodium-1.0.13-h31c71d8_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libsodium-1.0.13-h31c71d8_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libsodium-1.0.15-hf101ebd_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libsodium-1.0.15-hf101ebd_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libsodium-1.0.15-hf101ebd_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libssh2-1.8.0-h2d05a93_3.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libssh2-1.8.0-h2d05a93_3/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libssh2-1.8.0-h2d05a93_3/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libssh2-1.8.0-h8c220ad_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libssh2-1.8.0-h8c220ad_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libssh2-1.8.0-h8c220ad_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libstdcxx-ng-7.2.0-h7a57d05_2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libstdcxx-ng-7.2.0-h7a57d05_2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libstdcxx-ng-7.2.0-h7a57d05_2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libtiff-4.0.6-2.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libtiff-4.0.6-2/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libtiff-4.0.6-2/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libtiff-4.0.7-1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libtiff-4.0.7-1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libtiff-4.0.7-1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libtiff-4.0.8-h90200ff_9.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libtiff-4.0.8-h90200ff_9/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libtiff-4.0.8-h90200ff_9/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libtiff-4.0.9-h28f6b97_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libtiff-4.0.9-h28f6b97_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libtiff-4.0.9-h28f6b97_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libtool-2.4.6-h544aabb_3.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libtool-2.4.6-h544aabb_3/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libtool-2.4.6-h544aabb_3/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libtool-2.4.6-hd50d1a6_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libtool-2.4.6-hd50d1a6_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libtool-2.4.6-hd50d1a6_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libuv-1.14.0-h56b52c2_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libuv-1.14.0-h56b52c2_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libuv-1.14.0-h56b52c2_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libwebp-0.5.2-7.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libwebp-0.5.2-7/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libwebp-0.5.2-7/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libxcb-1.12-1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libxcb-1.12-1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libxcb-1.12-1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libxcb-1.12-h84ff03f_3.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libxcb-1.12-h84ff03f_3/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libxcb-1.12-h84ff03f_3/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-h2e8b1d7_6.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-h2e8b1d7_6/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-h2e8b1d7_6/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-h6b072ca_5.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-h6b072ca_5/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libxml2-2.9.4-h6b072ca_5/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libxslt-1.1.29-0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libxslt-1.1.29-0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libxslt-1.1.29-0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/libxslt-1.1.29-hcf9102b_5.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/libxslt-1.1.29-hcf9102b_5/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/libxslt-1.1.29-hcf9102b_5/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/llvmlite-0.20.0-py36_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/llvmlite-0.20.0-py36_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/llvmlite-0.20.0-py36_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/locket-0.2.0-py36h787c0ad_1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/locket-0.2.0-py36h787c0ad_1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/locket-0.2.0-py36h787c0ad_1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/lxml-4.1.0-py36h5b66e50_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/lxml-4.1.0-py36h5b66e50_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/lxml-4.1.0-py36h5b66e50_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/lzo-2.10-h1bfc0ba_1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/lzo-2.10-h1bfc0ba_1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/lzo-2.10-h1bfc0ba_1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/make-4.2.1-h3d8f0fa_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/make-4.2.1-h3d8f0fa_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/make-4.2.1-h3d8f0fa_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/mako-1.0.7-py27h3d58d4b_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/mako-1.0.7-py27h3d58d4b_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/mako-1.0.7-py27h3d58d4b_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/mako-1.0.7-py36h0727276_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/mako-1.0.7-py36h0727276_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/mako-1.0.7-py36h0727276_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/markupsafe-1.0-py27h97b2822_1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/markupsafe-1.0-py27h97b2822_1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/markupsafe-1.0-py27h97b2822_1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/markupsafe-1.0-py36hd9260cd_1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/markupsafe-1.0-py36hd9260cd_1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/markupsafe-1.0-py36hd9260cd_1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/matplotlib-2.0.2-np113py36_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/matplotlib-2.0.2-np113py36_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/matplotlib-2.0.2-np113py36_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/matplotlib-2.1.0-py36hba5de38_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/matplotlib-2.1.0-py36hba5de38_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/matplotlib-2.1.0-py36hba5de38_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/mccabe-0.6.1-py36h5ad9710_1.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/mccabe-0.6.1-py36h5ad9710_1/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/mccabe-0.6.1-py36h5ad9710_1/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/mistune-0.7.4-py36hbab8784_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/mistune-0.7.4-py36hbab8784_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/mistune-0.7.4-py36hbab8784_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/mistune-0.8.1-py27h1bd0165_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/mistune-0.8.1-py27h1bd0165_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/mistune-0.8.1-py27h1bd0165_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/mistune-0.8.1-py36h3d5977c_0.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/mistune-0.8.1-py36h3d5977c_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')
TRACE conda.gateways.disk.create:write_as_json_to_file(60): writing json to file /home/ubuntu/anaconda3/pkgs/mistune-0.8.1-py36h3d5977c_0/info/repodata_record.json
TRACE conda.core.package_cache:_make_single_record(265): adding to package cache /home/ubuntu/anaconda3/pkgs/mkl-2018.0.0-hb491cac_4.tar.bz2
DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/ubuntu/anaconda3/pkgs/mkl-2018.0.0-hb491cac_4/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')

Before the update, everything was working fine.

@kalefranz
Copy link
Contributor

Can you see if

conda clean --packages

fixes your problem?

@kalefranz
Copy link
Contributor

If that doesn't work, conda should be spitting out an error report if you don't use any -v flags. Can you paste here the contents of that report?

@robguinness
Copy link
Author

robguinness commented Jan 11, 2018

Hi @kalefranz, thanks for the tips. Clean didn't solve the problem. When I take away the -v flags, I just see:

ubuntu@redacted:~$ conda create --name test python=3 Solving environment: done

This hangs for a long time. I left it going for about 30 minutes, and it never returned. That's why I added the -v flags to get insight into what is going on.

@kalefranz
Copy link
Contributor

Can you give me output of conda info?

@kalefranz
Copy link
Contributor

And actually, if you don't mind, share contents of

ls -al /home/ubuntu/anaconda3/pkgs

@michaelaye
Copy link

Just a FYI, conda clean --packages did not work for me in 4.4.7, it kinda pretended to work, but left all stuff in the packages folder, resulting in my hard-drive to getting full. Went back to 4.3 after that.

@kalefranz
Copy link
Contributor

kalefranz commented Jan 14, 2018 via email

@michaelaye
Copy link

michaelaye commented Jan 22, 2018

i can not reproduce my conda clean problems, after upgrading to 4.4.7 straight from 4.3.x. Could it have been caused by something that was repaired between 4.4.0 and .7 ? Because that was my previous upgrade path.

@kalefranz
Copy link
Contributor

I need the output of

ls -al /home/ubuntu/anaconda3/pkgs

when this problem is occurring before I can make any progress on the original issue.

@kalefranz kalefranz added source::community catch-all for issues filed by community members pending::feedback indicates we are waiting on feedback from the user type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere labels Jan 24, 2018
@robguinness
Copy link
Author

Hi, sorry for the delay. I have been working on other things. I'll try to get you the output of those commands soon. I was doing this work on a virtual machine, which I have since destroyed, so I'll have to reproduce it.

@kalefranz
Copy link
Contributor

so I'll have to reproduce it.

I guess that's perfect. Because that's exactly what I need to be able to do to understand it and fix it. So you can give me the exact steps now :)

@fullama
Copy link

fullama commented Feb 7, 2018

Hi,
I also got a similar error when I upgraded from conda 4.3.30 to conda 4.4.8
i was trying to use:
conda create -v -v -n snakemake python=3 pandas

I noticed that the first error I got was a JSONdecode error:

DEBUG conda.core.package_cache:_make_single_record(284): unable to read /home/fullam/miniconda3/pkgs/qt-5.6.2-5/info/repodata_record.json
  because JSONDecodeError('Expecting value: line 1 column 1 (char 0)',)

Whic was then followed by the FileNotFound error for every package after that.

DEBUG conda.core.package_cache:_make_single_record(283): unable to read /home/fullam/miniconda3/pkgs/ipython-6.2.1-py36_0/info/repodata_record.json
  because FileNotFoundError(2, 'No such file or directory')

I looked into it a bit:
Error was occuring in package_cache.py in _make_single_record.
specifically the line:

  package_cache_record = PackageCacheRecord.from_objects(
                repodata_record,
                package_tarball_full_path=package_tarball_full_path,
                extracted_package_dir=extracted_package_dir,
            )

It seems like it didnt like the old repodata_record.json files that were already there.
but I noticed the error started one package later each time I ran conda create..
the json file was being "repaired" each time it was run later in the _make_single_record function by:

if self.is_writable:
     repodata_record = PackageRecord.from_objects(package_cache_record)
     repodata_record_path = join(extracted_package_dir, 'info', 'repodata_record.json')
     try:
         write_as_json_to_file(repodata_record_path, repodata_record)

i kind of hackily fixed this by making it try again after it "fixed" the json file by adding:

if self.is_writable:
    repodata_record = PackageRecord.from_objects(package_cache_record)
    repodata_record_path = join(extracted_package_dir, 'info', 'repodata_record.json')
    try:
        write_as_json_to_file(repodata_record_path, repodata_record)
        repodata_record = read_repodata_json(extracted_package_dir)
        package_cache_record = PackageCacheRecord.from_objects(
            repodata_record,
            package_tarball_full_path=package_tarball_full_path,
            extracted_package_dir=extracted_package_dir,
        )
        return package_cache_record

it took a while to go through every package I had but it worked..

Now this may not be a solution but it might help you to find where the problem is occuring.
I couldnt see anything wrong with the repodata_record.json files as they were there and looked fine but for some reason they were fixed when I did the above.
I didn't have this problem before I upgraded when I was creating an environment so unless something changed with how these json files are read in on of the conda update since 4.3.0?

removing all the packages would probably also fix the problem - I just didnt want to do that because it would take a while to redownload everything again..

@kalefranz kalefranz added type::bug describes erroneous operation, use severity::* to classify the type severity::3 major; broken functionality with a workaround and removed pending::feedback indicates we are waiting on feedback from the user type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere labels Feb 12, 2018
@mukteshkrmishra
Copy link

I am facing the same issue any updates on this.

@rtruxal
Copy link

rtruxal commented Feb 28, 2019

No idea why, but conda clean --packages && conda clean --all && conda update --all fixed it for me.

This is the 2nd time this has happened, and both times I needed to run conda clean --packages & conda clean --all as two separate commands to fix my base env.

@pankaj-kvhld
Copy link

@rtruxal: conda clean --packages && conda clean --all && conda update --all made my day. Thanks a lot.

@github-actions
Copy link

github-actions bot commented Aug 19, 2021

Hi there, thank you for your contribution to Conda!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue in the latest version of Conda
  2. Comment that the issue is still reproducible and include:
  • What version of Conda you reproduced the issue on
  • What OS and version you reproduced the issue on
  • What steps you followed to reproduce the issue
  1. It would also be helpful to have the output of the following commands available:
  • conda info
  • conda config --show-sources
  • conda list --show-channel-urls

NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue.

In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Aug 19, 2021
@lizilong1993
Copy link

I had solve this problem through closing my VPN

@github-actions github-actions bot removed the stale [bot] marked as stale due to inactivity label Oct 15, 2021
@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Oct 15, 2022
@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Nov 15, 2022
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Nov 15, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity severity::3 major; broken functionality with a workaround source::community catch-all for issues filed by community members stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::bug describes erroneous operation, use severity::* to classify the type
Projects
None yet
Development

No branches or pull requests

8 participants