Created
January 25, 2022 18:52
-
-
Save maphew/273b5c5af1c11664724ecdeafd52ddca to your computer and use it in GitHub Desktop.
example of `conda install pkg=old.ver.num` downgrading existing packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# a console output snippet that shows conda does downgrade to older version of currently installed package | |
# https://stackoverflow.com/questions/23974217/how-do-i-revert-to-a-previous-package-in-anaconda | |
# | |
$ conda install gdal=3.4.0 | |
Collecting package metadata (current_repodata.json): done | |
Solving environment: failed with initial frozen solve. Retrying with flexible solve. | |
Solving environment: done | |
Collecting package metadata (repodata.json): done | |
Solving environment: failed with initial frozen solve. Retrying with flexible solve. | |
Solving environment: done | |
## Package Plan ## | |
environment location: C:\apps\conda\envs\geo | |
added / updated specs: | |
- gdal=3.4.0 | |
The following packages will be downloaded: | |
package | build | |
---------------------------|----------------- | |
gdal-3.4.0 | py310h2a306c7_12 1.8 MB conda-forge | |
geotiff-1.7.0 | hc8731e1_5 136 KB conda-forge | |
libgdal-3.4.0 | h58f6a35_12 10.0 MB conda-forge | |
libspatialite-5.0.1 | hf126459_12 11.4 MB conda-forge | |
proj-8.2.0 | h1cfcee9_0 2.7 MB conda-forge | |
pyproj-3.3.0 | py310h5e30b29_0 437 KB conda-forge | |
rasterio-1.2.10 | py310hd31122c_3 8.0 MB conda-forge | |
------------------------------------------------------------ | |
Total: 34.5 MB | |
The following NEW packages will be INSTALLED: | |
gdal conda-forge/win-64::gdal-3.4.0-py310h2a306c7_12 | |
The following packages will be DOWNGRADED: | |
geos 3.10.2-h39d44d4_0 --> 3.10.1-h39d44d4_1 | |
geotiff 1.7.0-h144821f_6 --> 1.7.0-hc8731e1_5 | |
libgdal 3.4.1-ha841e0a_2 --> 3.4.0-h58f6a35_12 | |
librttopo 1.1.0-hb1df466_9 --> 1.1.0-he35e8ac_8 | |
libspatialite 5.0.1-hc2703d3_14 --> 5.0.1-hf126459_12 | |
proj 8.2.1-h1cfcee9_0 --> 8.2.0-h1cfcee9_0 | |
pyproj 3.3.0-py310h9b3c317_1 --> 3.3.0-py310h5e30b29_0 | |
rasterio 1.2.10-py310h8767853_4 --> 1.2.10-py310hd31122c_3 | |
tiledb 2.6.0-h47404fa_0 --> 2.5.3-h47404fa_0 | |
Proceed ([y]/n)? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, it no longer feels like being this helpful 😅