[osgeo4w-dev] [osgeo4w] #689: Installing Packages using Command line updates all packages or software

OSGeo4W trac_osgeo4w at osgeo.org
Mon Aug 9 21:48:58 PDT 2021


#689: Installing Packages using Command line updates all packages or software
----------------------+---------------------------
Reporter:  cratcliff  |      Owner:  osgeo4w-dev@…
    Type:  defect     |     Status:  new
Priority:  major      |  Component:  Installer
 Version:             |   Keywords:
----------------------+---------------------------
 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?

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/689>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list