Open SinisterMJ opened 1 year ago
@SinisterMJ thanks for reporting. Can you post the list of the packages in you environment before trying to update? (you can simply copy paste the output of mamba list
once in your environment).
The output of mamba list
:
# packages in environment at /opt/miniconda:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_kmp_llvm conda-forge
boltons 23.0.0 py311h06a4308_0
brotlipy 0.7.0 py311h5eee18b_1002
bzip2 1.0.8 h7b6447c_0
c-ares 1.19.0 h5eee18b_0
ca-certificates 2023.5.7 hbcca054_0 conda-forge
certifi 2023.5.7 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py311h5eee18b_3
charset-normalizer 2.0.4 pyhd3eb1b0_0
conda 23.5.2 py311h38be061_0 conda-forge
conda-content-trust 0.1.3 py311h06a4308_0
conda-libmamba-solver 23.5.0 py311h06a4308_0
conda-package-handling 2.1.0 py311h06a4308_0
conda-package-streaming 0.8.0 py311h06a4308_0
cryptography 39.0.1 py311h9ce1e76_2
fmt 9.1.0 hdb19cb5_0
icu 58.2 he6710b0_3
idna 3.4 py311h06a4308_0
jsonpatch 1.32 pyhd3eb1b0_0
jsonpointer 2.1 pyhd3eb1b0_0
krb5 1.20.1 h143b758_1
ld_impl_linux-64 2.38 h1181459_1
libarchive 3.6.2 h6ac8c49_2
libcurl 8.1.2 h409715c_0 conda-forge
libedit 3.1.20221030 h5eee18b_0
libev 4.33 h7f8727e_1
libffi 3.4.4 h6a678d5_0
libgcc-ng 13.1.0 he5830b7_0 conda-forge
libmamba 1.4.9 h658169a_0 conda-forge
libmambapy 1.4.9 py311h527f279_0 conda-forge
libnghttp2 1.52.0 h2d74bed_1
libsolv 0.7.24 hfc55251_1 conda-forge
libssh2 1.10.0 hdbd6064_2
libstdcxx-ng 13.1.0 hfd8a6a1_0 conda-forge
libuuid 1.41.5 h5eee18b_0
libxml2 2.10.3 hcbfbd50_0
libzlib 1.2.13 hd590300_5 conda-forge
llvm-openmp 16.0.6 h4dfa4b3_0 conda-forge
lz4-c 1.9.4 h6a678d5_0
mamba 1.4.9 py311h3072747_0 conda-forge
ncurses 6.4 h6a678d5_0
openssl 3.1.1 hd590300_1 conda-forge
packaging 23.0 py311h06a4308_0
pcre2 10.37 he7ceb23_1
pip 23.1.2 py311h06a4308_0
pluggy 1.0.0 py311h06a4308_1
pybind11-abi 4 hd3eb1b0_1
pycosat 0.6.4 py311h5eee18b_0
pycparser 2.21 pyhd3eb1b0_0
pyopenssl 23.0.0 py311h06a4308_0
pysocks 1.7.1 py311h06a4308_0
python 3.11.4 h955ad1f_0
python_abi 3.11 2_cp311 conda-forge
readline 8.2 h5eee18b_0
reproc 14.2.4 h295c915_1
reproc-cpp 14.2.4 h295c915_1
requests 2.29.0 py311h06a4308_0
ruamel.yaml 0.17.21 py311h5eee18b_0
setuptools 67.8.0 py311h06a4308_0
six 1.16.0 pyhd3eb1b0_1
sqlite 3.41.2 h5eee18b_0
tk 8.6.12 h1ccaba5_0
toolz 0.12.0 py311h06a4308_0
tqdm 4.65.0 py311h92b7b1e_0
tzdata 2023c h04d1e81_0
urllib3 1.26.16 py311h06a4308_0
wheel 0.38.4 py311h06a4308_0
xz 5.4.2 h5eee18b_0
yaml-cpp 0.7.0 h295c915_1
zlib 1.2.13 hd590300_5 conda-forge
zstandard 0.19.0 py311h5eee18b_0
zstd 1.5.5 hc292b87_0
I have a similar issue, too. On Windows. Kinda guessing it's related to #2668 (because this started happening recently and they both talk about URLs). This is the stacktrace I get when doing a mamba update --file environment.yml
21:09:31 Traceback (most recent call last):
21:09:31 File "D:\ProgramData\Miniconda3\lib\site-packages\conda\exception_handler.py", line 16, in call
21:09:31 return func(args, **kwargs)
21:09:31 File "D:\ProgramData\Miniconda3\lib\site-packages\conda_env\cli\main.py", line 49, in do_call
21:09:31 exit_code = getattr(module, func_name)(args, parser)
21:09:31 File "D:\ProgramData\Miniconda3\lib\site-packages\conda\notices\core.py", line 123, in wrapper
21:09:31 return func(args, **kwargs)
21:09:31 File "D:\ProgramData\Miniconda3\lib\site-packages\conda_env\cli\main_update.py", line 139, in execute
21:09:31 result[installer_type] = installer.install(prefix, specs, args, env)
21:09:31 File "D:\ProgramData\Miniconda3\lib\site-packages\mamba\mamba_env.py", line 153, in mamba_install
21:09:31 transaction.fetch_extract_packages()
21:09:31 RuntimeError: Could not set URL (code: 14 - url = /python-3.9.16-h4de0772_0_cpython.conda)
21:09:31
Troubleshooting docs
How did you install Mamba?
Mambaforge
Search tried in issue tracker
Found nothing similar.
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
In our dockerfile we have following line
RUN conda install mamba -q -c conda-forge \ && mamba env update -q -n base -f environment.yml
This runs fine with mamba 1.4.7 (checked by pinning version to mamba==1.4.7), but with 1.4.9 it crashes:
mamba info / micromamba info
Logs
No response
environment.yml
~/.condarc
No response