conda / conda-docs

Conda documentation
382 stars 507 forks source link

error in ciao install #864

Closed gabriel-fontinele closed 11 months ago

gabriel-fontinele commented 1 year ago

Checklist

What happened?

Dear heldesk,

I used the following steps to install ciao, an x-ray data reduction package used in astronomy:

conda create -n ciao-4.15 \ -c https://cxc.cfa.harvard.edu/conda/ciao \ -c conda-forge \ ciao sherpa ds9 ciao-contrib caldb marx astropy python=3.10

I'm having problems installing ciao from the conda method, the following error messages appear:

CondaError: Downloaded bytes did not match Content-Length url: https://cxc.cfa.harvard.edu/conda/ciao/noarch/caldb_main-4.10.4-0.tar.bz2 target_path: /home/gabriel/miniconda3/pkgs/caldb_main-4.10.4-0.tar.bz2 Content-Length: 2131132070  downloaded bytes: 275348

CancelledError() CancelledError()

Conda Info

active environment : base
    active env location : /home/gabriel/miniconda3
            shell level : 1
       user config file : /home/gabriel/.condarc
 populated config files : /home/gabriel/.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.10.10.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.35=0
                          __linux=5.19.0=0
                          __unix=0=0
       base environment : /home/gabriel/miniconda3  (writable)
      conda av data dir : /home/gabriel/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/gabriel/miniconda3/pkgs
                          /home/gabriel/.conda/pkgs
       envs directories : /home/gabriel/miniconda3/envs
                          /home/gabriel/.conda/envs
               platform : linux-64
             user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.10 Linux/5.19.0-43-generic ubuntu/22.04.2 glibc/2.35
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Conda Config

==> /home/gabriel/.condarc <==
changeps1: False

Conda list

# packages in environment at /home/gabriel/miniconda3:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    defaults
_openmp_mutex             5.1                       1_gnu    defaults
boltons                   23.0.0          py310h06a4308_0    defaults
brotlipy                  0.7.0           py310h7f8727e_1002    defaults
bzip2                     1.0.8                h7b6447c_0    defaults
ca-certificates           2023.01.10           h06a4308_0    defaults
certifi                   2022.12.7       py310h06a4308_0    defaults
cffi                      1.15.1          py310h5eee18b_3    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
conda                     23.3.1          py310h06a4308_0    defaults
conda-content-trust       0.1.3           py310h06a4308_0    defaults
conda-package-handling    2.0.2           py310h06a4308_0    defaults
conda-package-streaming   0.7.0           py310h06a4308_0    defaults
cryptography              39.0.1          py310h9ce1e76_0    defaults
idna                      3.4             py310h06a4308_0    defaults
jsonpatch                 1.32               pyhd3eb1b0_0    defaults
jsonpointer               2.1                pyhd3eb1b0_0    defaults
ld_impl_linux-64          2.38                 h1181459_1    defaults
libffi                    3.4.2                h6a678d5_6    defaults
libgcc-ng                 11.2.0               h1234567_1    defaults
libgomp                   11.2.0               h1234567_1    defaults
libstdcxx-ng              11.2.0               h1234567_1    defaults
libuuid                   1.41.5               h5eee18b_0    defaults
ncurses                   6.4                  h6a678d5_0    defaults
openssl                   1.1.1t               h7f8727e_0    defaults
packaging                 23.0            py310h06a4308_0    defaults
pip                       23.0.1          py310h06a4308_0    defaults
pluggy                    1.0.0           py310h06a4308_1    defaults
pycosat                   0.6.4           py310h5eee18b_0    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyopenssl                 23.0.0          py310h06a4308_0    defaults
pysocks                   1.7.1           py310h06a4308_0    defaults
python                    3.10.10              h7a1cb2a_2    defaults
readline                  8.2                  h5eee18b_0    defaults
requests                  2.28.1          py310h06a4308_1    defaults
ruamel.yaml               0.17.21         py310h5eee18b_0    defaults
ruamel.yaml.clib          0.2.6           py310h5eee18b_1    defaults
setuptools                65.6.3          py310h06a4308_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
sqlite                    3.41.1               h5eee18b_0    defaults
tk                        8.6.12               h1ccaba5_0    defaults
toolz                     0.12.0          py310h06a4308_0    defaults
tqdm                      4.65.0          py310h2f386ee_0    defaults
tzdata                    2023c                h04d1e81_0    defaults
urllib3                   1.26.15         py310h06a4308_0    defaults
wheel                     0.38.4          py310h06a4308_0    defaults
xz                        5.2.10               h5eee18b_1    defaults
zlib                      1.2.13               h5eee18b_0    defaults
zstandard                 0.19.0          py310h5eee18b_0    defaults

Additional Context

image

travishathaway commented 11 months ago

Hi @gabriel-fontinele,

Thanks for filing this. This is most likely an issue with the channel you are trying to use. Please ask the maintainers of that channel for support.

If you truly believe this to be a bug with conda, please file a new issue here: