[Qgis-user] OSgeo4W installation - postinstall routines exit with code -6

Nicolas Cadieux njacadieux.gitlab at gmail.com
Fri Nov 20 18:10:28 PST 2020


Hi,

I gave this answer earlier this week.  I don’t know if it worked. Please inform the list if you find the solution.


« Hi,
Maybe a problem with the Grass installation? 

https://trac.osgeo.org/osgeo4w/ticket/601

Last time I had that problem, I followed the introduction here, https://gis.stackexchange.com/questions/240159/qgis-2-18-the-program-cant-start-because-qgis-app-dll-is-missing-from-your-com
That was for 2.18. »

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 20 nov. 2020 à 18:18, karsten <karsten at terragis.net> a écrit :
> 
> 
> Hi All,
>  
> I have been using a OSgeo4W installation with QGIS , QGIS+ Grass Saga etc for years on this windows 7 machine
> The last update did not work correctly (a long list of post install routines exited with code -6. I ran a reinstall , same problem. I removed all via the setup routine, deleted remaining content of c:\OSGeo4W64\ cleaned registry and switched off Norton security suite that was running. After a machine reboot download a fresh osgeo4w-setup-x86_64.exe and ran a new installation (as Administrator). That resulted in the same issues.
>  
> I checked c:\OSGeo4W64\var\log\setup.log and found the list of errors listed below.
> QGIS *.exe versions or .bat files in c:\OSGeo4W64\bin\ are not starting and instead I am getting an "qgis_app.dll can not be loaded" error.
> There are no *.env file in the C:\OSGeo4W64 and ist sub-directories 
>  
> Would anyone have a hint how this can be solved ?
>  
> Cheers
> Karsten
>  
> -----------------
>  
> Visited: 173 nodes out of 477 while creating dependency order.
> Dependency order of packages: msvcrt2015 sqlite3 openssl10 openssl python3-core msvcrt2008 msvcrt2010 msvcrt setup shell zlib qt5-libs msvc2015 icu-libs qtwebkit-qt5-libs qtwebengine-qt5-libs sip-qt5 pyqt5 libpng libjpeg proj-hpgn proj-datumgrid libjpeg12 xz libtiff curl-ca-bundle curl proj-dev geos libmysql szip hdf5 netcdf libpq expat xerces-c hdf4 ogdi iconv-vc14 libpng-vc14 openjpeg iconv proj freexl libxml2 liblwgeom spatialite zstd gdal-dev alkis-import-gid7 avce00 msvcrt2012 boost-libs cairo exiv2 fcgi fftw fribidi libkml proj62dll gdal300dll gdal gdal-ecw gdal-hdf5 gdal-mrsid oci gdal-oracle gdal-sosi libgeotiff xerces-c-vc10 gdal111dll proj5dll gdal204dll gpsbabel laszip2 msvcrt2013 liblas gs python3-numpy python3-gdal python3-pyparsing python3-six python3-cycler python3-setuptools python3-kiwisolver python3-python-dateutil python3-matplotlib pdcurses python3-wx python3-pillow python3-pip python3-ply python3-pyopengl python3-psycopg2-binary python3-psycopg2 rbatch zstd-bin python3-pywin32 grass msys python-core python-win32 python-wx python-numpy python-olefile python-pillow python-pil pyopengl grass6 gsl-libs libspatialindex libzip-libs mapserver mapscript-python opencl protobuf python3-certifi python3-chardet python3-coverage python3-decorator python3-exifread python3-future python3-geographiclib python3-httplib2 python3-idna python3-markupsafe python3-jinja2 python3-lxml python3-pbr python3-mock python3-networkx python3-nose2 python3-pyproj python3-pytz python3-pyyaml python3-urllib3 python3-requests python3-owslib python3-pandas python3-retrying python3-plotly python3-pygments python3-pyodbc python3-pypiwin32 qscintilla-qt5 python3-qscintilla python3-scipy python3-shapely python3-simplejson python3-xlrd python3-xlwt qca-qt5-libs qwt-libs-qt5 qtkeychain-qt5-libs qgis-common qt5-qml qt5-tools qgis qgis-grass-plugin-common qgis-grass-plugin7 qgis-oracle-provider saga-ltr qgis-full qgis-grass-plugin qgis-ltr-common qgis-ltr qgis-ltr-grass-plugin-common qgis-ltr-grass-plugin7 qgis-ltr-oracle-provider qgis-ltr-full qgis-ltr-server qgis-server saga 
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\openssl10.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\openssl.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\msvcrt-2008.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\msvcrt-2010.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\setup.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\shell.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qt5-libs.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\sip-qt5.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\pyqt5.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\netcdf.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\alkis-import-gid7.cmd"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\msvcrt-2013.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\liblas.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\python3-setuptools.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\python3-pip.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\grass.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\msys.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\python-core.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\grass64.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\opencl.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-common.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-grass-plugin-common.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-grass-plugin7.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\saga-ltr.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-grass-plugin.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-ltr-common.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-ltr.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-ltr-grass-plugin-common.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-ltr-grass-plugin7.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-ltr-server.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\qgis-server.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:24 running: cmd.exe /c "C:\OSGeo4W64\\etc\postinstall\saga.bat"
> 2020/11/20 14:46:24 abnormal exit: exit code=-6
> 2020/11/20 14:46:37 note: Installation Complete
> 2020/11/20 14:46:37 Ending OSGeo4W install
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201120/0485822b/attachment.html>


More information about the Qgis-user mailing list