[osgeo4w-dev] Significant Problems installing QGIS

Matt Wilkie matt.wilkie at gov.yk.ca
Mon Jan 31 18:53:23 EST 2011

I'm just in the middle of troubleshooting some install troubles myself. 
My initial conclusion, not yet verified, is that the package for 
xerces-c-vc9 (xerces-c-vc9-3.1.1-1.tar.bz2) uses an unrecognized bz2 
compression dialect.  See http://trac.osgeo.org/osgeo4w/ticket/101.

I don't know if this is what you are running into or not.

C:\>python d:\dee\code\o4w\apt\apt.py install xerces-c-vc9

8b8270a27347ac1a4008865f878e19cf  xerces-c-vc9-3.1.1-1.tar.bz2 - remote
8b8270a27347ac1a4008865f878e19cf  xerces-c-vc9-3.1.1-1.tar.bz2 - local
installing xerces-c-vc9 3.1.1-1
Traceback (most recent call last):
   File "d:\dee\code\o4w\apt\apt.py", line 1029, in <module>
     __main__.__dict__[command] ()
   File "d:\dee\code\o4w\apt\apt.py", line 147, in install
     install_next(missing.keys (), set([]), set([]))
   File "d:\dee\code\o4w\apt\apt.py", line 176, in install_next
     do_install ()
   File "d:\dee\code\o4w\apt\apt.py", line 408, in do_install
     pipe = tarfile.open (ball,'r:bz2')
   File "C:\OSGeo4W\apps\Python25\lib\tarfile.py", line 1166, in open
     return func(name, filemode, fileobj)
   File "C:\OSGeo4W\apps\Python25\lib\tarfile.py", line 1240, in bz2open
     raise ReadError("not a bzip2 file")
tarfile.ReadError: not a bzip2 file

bzip2 -t xerces-c-vc9-3.1.1-1.tar.bz2
bzip2: xerces-c-vc9-3.1.1-1.tar.bz2: bad magic number (file not created 
by bzip2

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

7z t xerces-c-vc9-3.1.1-1.tar.bz2

7-Zip [64] 4.65  Copyright (c) 1999-2009 Igor Pavlov  2009-02-03

Processing archive: xerces-c-vc9-3.1.1-1.tar.bz2

Testing     xerces-c-vc9-3.1.1-1.tar

Everything is Ok

Size:       1894400
Compressed: 583751

matt wilkie
Geomatics Analyst
Information Management and Technology
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax

On 31/01/2011 1:36 PM, Jeff Ruby wrote:
> Hi,
> Are there currently any known issues installing QGIS with OSGeo4W?  I
> cannot get QGIS to install via express or advanced and I just want to
> make sure there are not known issues before I spend the time detailing
> all the issues I'm having with it.
> Thanks,
> -Jeff
> _______________________________________________
> osgeo4w-dev mailing list
> osgeo4w-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
> .

More information about the osgeo4w-dev mailing list