Opened 3 years ago

#689 new defect

Installing Packages using Command line updates all packages or software

Reported by: Christina Ratcliff Owned by: osgeo4w-dev@…
Priority: major Component: Installer
Version: Keywords:
Cc:

Description

I would like to install selected packages via commandline in Windows using

"%OSGEO4W_ROOT%\bin\osgeo4w-setup.exe" -q -b -A -k -n -s http://download.osgeo.org/osgeo4w/ -P python3-fiona -P python3-geopandas -P python3-rasterio

It seems that this will also upgrade all software and packages (ie saga, grass etc) although I have not used the --upgrade-also option.

The same happens when trying to uninstall a package using the -x option to uninstall the above packages. Everything is upgraded first.

The same occurs when installing using the user interface of QGIS LTR 3.16.9 - everything is upgraded.

But installing using the user interface of QGIS 3.20.1, osgeo4w works as expected and only installs the required packages and their dependents.

Is this a bug in the OSGeo4W installer? What is the command line solution?

Change History (0)

Note: See TracTickets for help on using tickets.