conda-forge / conda-forge/git-feedstock
PackagesNotFoundError on follow-up installs
- Dominant language
- Shell
- Stars
- 1
- Forks
- 43
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 2
Description
### Solution to issue cannot be found in the documentation.
- [x] I checked the documentation.
### Issue
When using Miniconda3 25.1.1 and installing git with a pinned version, every follow-up `conda install` returns an unrelated PackagesNotFoundError for that git package.
```
PackagesNotFoundError: The following packages are not available from current channels:
- git=2.49.0.0*
```
For whatever reason it works when installing git without a pinned version.
Here is the full log:
```
(base) ivanc@ivanc-B550M-DS3H:~/miniconda3/envs$ conda create --name debug-conda python=3.12 --yes
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 25.1.1
latest version: 25.3.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /home/ivanc/miniconda3/envs/debug-conda
added / updated specs:
- python=3.12
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
_openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu
bzip2 pkgs/main/linux-64::bzip2-1.0.8-h5eee18b_6
ca-certificates pkgs/main/linux-64::ca-certificates-2025.2.25-h06a4308_0
expat pkgs/main/linux-64::expat-2.6.4-h6a678d5_0
ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.40-h12ee557_0
libffi pkgs/main/linux-64::libffi-3.4.4-h6a678d5_1
libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1
libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1
libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1
libuuid pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
ncurses pkgs/main/linux-64::ncurses-6.4-h6a678d5_0
openssl pkgs/main/linux-64::openssl-3.0.16-h5eee18b_0
pip pkgs/main/linux-64::pip-25.0-py312h06a4308_0
python pkgs/main/linux-64::python-3.12.9-h5148396_0
readline pkgs/main/linux-64::readline-8.2-h5eee18b_0
setuptools pkgs/main/linux-64::setuptools-75.8.0-py312h06a4308_0
sqlite pkgs/main/linux-64::sqlite-3.45.3-h5eee18b_0
tk pkgs/main/linux-64::tk-8.6.14-h39e8969_0
tzdata pkgs/main/noarch::tzdata-2025a-h04d1e81_0
wheel pkgs/main/linux-64::wheel-0.45.1-py312h06a4308_0
xz pkgs/main/linux-64::xz-5.6.4-h5eee18b_1
zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_1
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate debug-conda
#
# To deactivate an active environment, use
#
# $ conda deactivate
(base) ivanc@ivanc-B550M-DS3H:~/miniconda3/envs$ conda run -n debug-conda conda install conda-forge::git=2.49.0 --yes
Channels:
- defaults
- conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /home/ivanc/miniconda3/envs/debug-conda
added / updated specs:
- conda-forge::git=2.49.0
The following NEW packages will be INSTALLED:
c-ares conda-forge/linux-64::c-ares-1.34.4-hb9d3cd8_0
git conda-forge/linux-64::git-2.49.0-pl5321h59d505e_0
krb5 pkgs/main/linux-64::krb5-1.21.3-h143b758_0
libcurl conda-forge/linux-64::libcurl-8.12.1-h332b0f4_0
libedit pkgs/main/linux-64::libedit-3.1.20230828-h5eee18b_0
libev pkgs/main/linux-64::libev-4.33-h7f8727e_1
libexpat conda-forge/linux-64::libexpat-2.6.4-h5888daf_0
libgcc conda-forge/linux-64::libgcc-14.2.0-h767d61c_2
libiconv conda-forge/linux-64::libiconv-1.18-h4ce23a2_1
libnghttp2 conda-forge/linux-64::libnghttp2-1.64.0-h161d5f1_0
libnsl conda-forge/linux-64::libnsl-2.0.1-hd590300_0
libsqlite conda-forge/linux-64::libsqlite-3.49.1-hee588c1_2
libssh2 conda-forge/linux-64::libssh2-1.11.1-hf672d98_0
libstdcxx conda-forge/linux-64::libstdcxx-14.2.0-h8f9b012_2
libxcrypt conda-forge/linux-64::libxcrypt-4.4.36-hd590300_1
libzlib conda-forge/linux-64::libzlib-1.3.1-hb9d3cd8_2
pcre2 conda-forge/linux-64::pcre2-10.44-hba22ea6_2
perl pkgs/main/linux-64::perl-5.38.2-0_h5eee18b_perl5
zstd conda-forge/linux-64::zstd-1.5.7-hb8e6e7a_2
The following packages will be UPDATED:
libgcc-ng pkgs/main::libgcc-ng-11.2.0-h1234567_1 --> conda-forge::libgcc-ng-14.2.0-h69a702a_2
libgomp pkgs/main::libgomp-11.2.0-h1234567_1 --> conda-forge::libgomp-14.2.0-h767d61c_2
libuuid pkgs/main::libuuid-1.41.5-h5eee18b_0 --> conda-forge::libuuid-2.38.1-h0b41bf4_0
openssl pkgs/main::openssl-3.0.16-h5eee18b_0 --> conda-forge::openssl-3.4.1-h7b32b05_0
zlib pkgs/main::zlib-1.2.13-h5eee18b_1 --> conda-forge::zlib-1.3.1-hb9d3cd8_2
The following packages will be SUPERSEDED by a higher-priority channel:
python pkgs/main::python-3.12.9-h5148396_0 --> conda-forge::python-3.12.2-hab00c5b_0_cpython
tk pkgs/main::tk-8.6.14-h39e8969_0 --> conda-forge::tk-8.6.13-noxft_h4845f30_101
The following packages will be DOWNGRADED:
sqlite 3.45.3-h5eee18b_0 --> 3.31.1-h7b6447c_0
Downloading and Extracting Packages: ...working... done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
==> WARNING: A newer version of conda exists. <==
current version: 25.1.1
latest version: 25.3.0
Please update conda by running
$ conda update -n base -c defaults conda
(base) ivanc@ivanc-B550M-DS3H:~/miniconda3/envs$ conda run -n debug-conda conda install conda-forge::ffmpeg=7.1.1 conda-forge::libvorbis=1.3.7 --yes
Channels:
- defaults
- conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
PackagesNotFoundError: The following packages are not available from current channels:
- git=2.49.0.0*
Current channels:
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- https://conda.anaconda.org/conda-forge
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
ERROR conda.cli.main_run:execute(125): `conda run conda install conda-forge::ffmpeg=7.1.1 conda-forge::libvorbis=1.3.7 --yes` failed. (See above for error)
```
That version of Minoconda3 worked perfect a while ago.
### Installed packages
```shell
(base) ivanc@ivanc-B550M-DS3H:~/miniconda3/envs$ conda run -n debug-conda conda list
# packages in environment at /home/ivanc/miniconda3/envs/debug-conda:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
bzip2 1.0.8 h5eee18b_6
c-ares 1.34.4 hb9d3cd8_0 conda-forge
ca-certificates 2025.2.25 h06a4308_0
expat 2.6.4 h6a678d5_0
git 2.49.0 pl5321h59d505e_0 conda-forge
krb5 1.21.3 h143b758_0
ld_impl_linux-64 2.40 h12ee557_0
libcurl 8.12.1 h332b0f4_0 conda-forge
libedit 3.1.20230828 h5eee18b_0
libev 4.33 h7f8727e_1
libexpat 2.6.4 h5888daf_0 conda-forge
libffi 3.4.4 h6a678d5_1
libgcc 14.2.0 h767d61c_2 conda-forge
libgcc-ng 14.2.0 h69a702a_2 conda-forge
libgomp 14.2.0 h767d61c_2 conda-forge
libiconv 1.18 h4ce23a2_1 conda-forge
libnghttp2 1.64.0 h161d5f1_0 conda-forge
libnsl 2.0.1 hd590300_0 conda-forge
libsqlite 3.49.1 hee588c1_2 conda-forge
libssh2 1.11.1 hf672d98_0 conda-forge
libstdcxx 14.2.0 h8f9b012_2 conda-forge
libstdcxx-ng 11.2.0 h1234567_1
libuuid 2.38.1 h0b41bf4_0 conda-forge
libxcrypt 4.4.36 hd590300_1 conda-forge
libzlib 1.3.1 hb9d3cd8_2 conda-forge
ncurses 6.4 h6a678d5_0
openssl 3.4.1 h7b32b05_0 conda-forge
pcre2 10.44 hba22ea6_2 conda-forge
perl 5.38.2 0_h5eee18b_perl5
pip 25.0 py312h06a4308_0
python 3.12.2 hab00c5b_0_cpython conda-forge
readline 8.2 h5eee18b_0
setuptools 75.8.0 py312h06a4308_0
sqlite 3.31.1 h7b6447c_0
tk 8.6.13 noxft_h4845f30_101 conda-forge
tzdata 2025a h04d1e81_0
wheel 0.45.1 py312h06a4308_0
xz 5.6.4 h5eee18b_1
zlib 1.3.1 hb9d3cd8_2 conda-forge
zstd 1.5.7 hb8e6e7a_2 conda-forge
```
### Environment info
```shell
(base) ivanc@ivanc-B550M-DS3H:~/miniconda3/envs$ conda run -n debug-conda conda info
active environment : debug-conda
active env location : /home/ivanc/miniconda3/envs/debug-conda
shell level : 2
user config file : /home/ivanc/.condarc
populated config files : /home/ivanc/miniconda3/.condarc
conda version : 25.1.1
conda-build version : not installed
python version : 3.12.9.final.0
solver : libmamba (default)
virtual packages : __archspec=1=zen3
__conda=25.1.1=0
__glibc=2.39=0
__linux=6.11.0=0
__unix=0=0
base environment : /home/ivanc/miniconda3 (writable)
conda av data dir : /home/ivanc/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/ivanc/miniconda3/pkgs
/home/ivanc/.conda/pkgs
envs directories : /home/ivanc/miniconda3/envs
/home/ivanc/.conda/envs
platform : linux-64
user-agent : conda/25.1.1 requests/2.32.3 CPython/3.12.9 Linux/6.11.0-19-generic ubuntu/24.04.2 glibc/2.39 solver/libmamba conda-libmamba-solver/25.1.1 libmambapy/2.0.5 aau/0.5.0 c/. s/. e/.
UID:GID : 1000:1000
netrc file : None
offline mode : False
```
Contributor guide
Research direction
Start by reproducing the logged sequence with Miniconda 25.1.1: create the Python 3.12 environment, install conda-forge::git=2.49.0, then run the follow-up ffmpeg and libvorbis install. Compare the installed package metadata and solver output; done means follow-up installs no longer report git=2.49.0.0* as unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100