[osgeo4w-dev] apt invalid data stream

Matt Wilkie maphew at gmail.com
Mon Dec 22 12:02:08 PST 2014

Hi Martin,

That looks like the output of from a version before Osgeo4w-Setup.exe
started using a compressed setup.ini.

Please try the latest development version from
https://github.com/maphew/apt/blob/master/apt.py. Use the 'raw' link and
save to C:\Osgeo4w\bin\apt-dev.py (example; name doesn't really matter). If
apt-dev.bat doesn't exist run `make-bat-for-py`. After that `apt-dev
update` etc. should work.

Apt won't be able to upgrade python or itself, as it doesn't have the
machinery to replace in-use files.

Let me know how it works out.



On Mon, Dec 22, 2014 at 10:23 AM, Martin Landa <landa.martin at gmail.com>

> Hi,
> I have problem with calling apt commads in my OSGeo4W environment.
> apt update
> apt upgrade
> ...100%  Traceback (most recent call last):
>   File "<string>", line 1133, in <module>
>   File "<string>", line 356, in update
> IOError: invalid data stream
> error: C:/OSGeo4W/etc/setup//setup.ini no such file
> Any idea what could be wrong? Thanks in advance! Martin
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.eu/mentors/landa
> _______________________________________________
> osgeo4w-dev mailing list
> osgeo4w-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/osgeo4w-dev/attachments/20141222/4997670c/attachment.html>

More information about the osgeo4w-dev mailing list