<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Niccolo,<br>
<br>
Thanks for the response. <br>
<br>
I am trying to install on Squeeze. I have included Squeeze in the
sources.list file. I usually use Synaptic but in order to present
information for debugging I have used apt-get install. See below:<br>
<br>
AspireOne:/home/gary# apt-get install qgis<br>
Reading package lists... Done<br>
Building dependency tree       <br>
Reading state information... Done<br>
The following extra packages will be installed:<br>
  libqgis1.5.0 python-qgis python-qgis-common qgis-common
qgis-plugin-grass-common<br>
Recommended packages:<br>
  qgis-plugin-grass<br>
The following NEW packages will be installed:<br>
  libqgis1.5.0 python-qgis python-qgis-common qgis qgis-common
qgis-plugin-grass-common<br>
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.<br>
Need to get 0B/13.9MB of archives.<br>
After this operation, 44.8MB of additional disk space will be used.<br>
<br>
Do you want to continue [Y/n]? y      <br>
Selecting previously deselected package libqgis1.5.0.<br>
(Reading database ... 323370 files and directories currently installed.)<br>
Unpacking libqgis1.5.0 (from
.../libqgis1.5.0_1.5.0~svn20100411+gfossit60-2_i386.deb) ...<br>
Selecting previously deselected package python-qgis-common.<br>
Unpacking python-qgis-common (from
.../python-qgis-common_1.5.0~svn20100411+gfossit60-2_all.deb) ...<br>
Selecting previously deselected package python-qgis.<br>
Unpacking python-qgis (from
.../python-qgis_1.5.0~svn20100411+gfossit60-2_i386.deb) ...<br>
Selecting previously deselected package qgis-common.<br>
Unpacking qgis-common (from
.../qgis-common_1.5.0~svn20100411+gfossit60-2_all.deb) ...<br>
Selecting previously deselected package qgis.<br>
Unpacking qgis (from .../qgis_1.5.0~svn20100411+gfossit60-2_i386.deb)
...<br>
Selecting previously deselected package qgis-plugin-grass-common.<br>
Unpacking qgis-plugin-grass-common (from
.../qgis-plugin-grass-common_1.5.0~svn20100411+gfossit60-2_all.deb) ...<br>
Processing triggers for man-db ...<br>
Processing triggers for menu ...<br>
Processing triggers for gnome-menus ...<br>
Processing triggers for desktop-file-utils ...<br>
Processing triggers for shared-mime-info ...<br>
Setting up libqgis1.5.0 (1.5.0~svn20100411+gfossit60-2) ...<br>
Setting up python-qgis-common (1.5.0~svn20100411+gfossit60-2) ...<br>
Setting up python-qgis (1.5.0~svn20100411+gfossit60-2) ...<br>
Setting up qgis-plugin-grass-common (1.5.0~svn20100411+gfossit60-2) ...<br>
Setting up qgis-common (1.5.0~svn20100411+gfossit60-2) ...<br>
Setting up qgis (1.5.0~svn20100411+gfossit60-2) ...<br>
Processing triggers for menu ...<br>
AspireOne:/home/gary# <br>
<br>
Everything goes well except now when I run QGIS I get my old friend ...<br>
<br>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
 style="color: rgb(255, 0, 0);">Couldn't load PyQGIS.<br>
Python support will be disabled.</span><br>
<br>
Traceback (most recent call last):<br>
  File "", line 1, in <br>
RuntimeError: the sip module implements API v7.0 to v7.1 but the
qgis.core module requires API v6.0<br>
<br>
Python version:<br>
2.5.5 (r255:77872, Apr 21 2010, 09:27:14) <br>
[GCC 4.4.3]<br>
<br>
QGIS version:<br>
1.5.0-Trunk 'Trunk', exported<br>
<br>
Python path:<br>
['/usr/share/qgis/python', '/home/gary/.qgis/python',
'/home/gary/.qgis/python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.5/site-packages/SQLAlchemy-0.5.4p2-py2.5.egg',
'/usr/lib/python2.5/site-packages/Shapely-1.0.12-py2.5.egg',
'/usr/lib/python2.5/site-packages/rpy2-2.0.7-py2.5-linux-i686.egg',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10',
'/usr/lib/pymodules/python2.5', '/usr/lib/pymodules/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode']<!--EndFragment--></p>
<br>
I have Python 2.5 installed but the default python version is 2.6. I
cannot revert python to 2.5. Again QGIS 1.4.0 from the Debian
repository installs fine.<br>
<br>
Also, note from the above that "qgis-plugin-grass" is not a dependency,
it is a recommended package only. That is despite
"qgis-plugin-grass-common" being a dependency. Is that correct?<br>
<br>
I appreciate the assistance.<br>
<br>
Rgds<br>
Gary<br>
<br>
<br>
On 04/08/2010 12:22, Niccolo Rigacci wrote:
<blockquote cite="mid:20100804102213.GA7452@rigacci.org" type="cite">
  <pre wrap="">On Tue, Aug 03, 2010 at 07:25:01PM +0200, Gary Smith wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Nicollo,

I get a segmentation fault. This occurs immediately the "Starting  
Python" message is displayed on the Splash screen.

Also, there also appears to be a dependency problem with the grass plugin.
    </pre>
  </blockquote>
  <pre wrap="">
Check all the old packages/libraries you have installed and 
remove them manually:

dpk --list | grep qgis
dpkg --purge <package_name> <package_name> ...

Then re-do the apt-get install.

  </pre>
</blockquote>
</body>
</html>