Opened 9 years ago

Closed 9 years ago

#491 closed enhancement (invalid)

Command line option to auto-include new dependencies

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

Description

I have a batch file which I run each morning to update my current OSGeo4W installation:

osgeo4w-setup-x86_64.exe -a -q -g

I currently uses this for QGIS nightlies and QGIS almost runs without problems.

But it seems like that when there are changes to the installation package, the changes are not installed. Currently the QGIS installation requires the python-future package but QGIS cannot locate that package at startup. If I run the OSGeo installer manually I get the GUI and warns me of Unmet Dependencies Found, which includes the python-future package.

I'm guessing here, but I suspect security reasons could be the reason for not automatically including new dependencies? Anyway would it make sense to add an option to automatically install new dependencies if that is not done already?

Change History (1)

comment:1 by jef, 9 years ago

Resolution: invalid
Status: newclosed
> osgeo4w-setup --help
...
 -g --upgrade-also                 also upgrade installed packages
...
 -a --arch                         architecture to install (x86_64 or x86)
...
 -q --quiet-mode                   Unattended setup mode
...
 -A --advanced                     Advanced install (as opposed to Express)
...
Ending OSGeo4W install

Since r1294 you need -A instead of -a.

Note: See TracTickets for help on using tickets.