[Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]
Agustin Lobo
alobolistas at gmail.com
Fri Sep 11 04:55:42 PDT 2009
This is what I've tried now (not having the qgis grass plugin installed):
sudo apt-get remove libgdal1-1.5.0
sudo apt-get autoremove
sudo apt-get install libgdal1-1.6.0
sudo apt-get install grass
grass -tcltk
and
In grass
r.in.gdal -o
input=/media/Transcend/ANYELLA/catuav20090730/tif/SDIM0178.tif
output=delmetif
worked fine. Is this a sufficient test for "Can you use any GRASS layers
from GDAL? "
If not, tell me which one would be more appropriate.
Now, if I try:
$ sudo apt-get install qgis-plugin-grass
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgdal1-1.5.0 libgdal1-1.5.0-grass qgis-plugin-grass-common
The following NEW packages will be installed:
libgdal1-1.5.0 libgdal1-1.5.0-grass qgis-plugin-grass
qgis-plugin-grass-common
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9986kB of archives.
After this operation, 19.4MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
So I do not see the workaround, how can I install qgis-plugin-grass
and not libgdal1-1.5.0-grass ?
The only thing I can do is removing
libgdal1-1.5.0-grass after installing qgis-plugin-grass, but
this does not seem to work...
(how can I list all items related to qgis and grass using apt?)
Agus
Note that using apt-get install qgis I get
Jürgen E. Fischer wrote:
> Hi Agus,
>
> On Fri, 11. Sep 2009 at 12:17:04 +0200, Agustin Lobo wrote:
>
>> Follow up: using
>> sudo apt-get install qgis-plugin-grass
>> instead of Synaptic and having libgdal1-1.6.0 previously
>> installed (and not having libgdal1-1.5.0),
>> does not install libgdal1-1.5.0, but QGIS still crashes with the same
>> message
>>
>
> Can you use any GRASS layers from GDAL? The GRASS plugin for GDAL might need
> a rebuild. Perhaps the old plugins don't work with the new GRASS.
>
> As far a QGIS is concerned I don't see a direct dependency to gdal 1.5
> anywhere in the packages.
>
> The problem here is that QGIS GRASS plugin justs expects GDAL to have GRASS
> plugins, but doesn't directly link with them (which would produce a specific
> dependency automatically).
>
> The dependency to libgdal1-*-grass is just there to make sure GDAL has GRASS
> plugins, but that assumes that there is only one set of plugins available. If
> the latter is not the case apt might choose to install libgdal1-1.5.0-grass
> (and it's dependencies) over libgdal1-1.6.0-grass.
>
> I don't known how to express a dependency that would deal with this
> automatically (and would work with all repositories). Perhaps simply changing
> the order is enough.
>
> A workaround is to install libgdal1-1.6.0-grass beforehand - obviously that
> doesn't help with the crash if the GRASS plugins for GDAL don't currently work
> at all.
>
>
> Jürgen
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alobolistas.vcf
Type: text/x-vcard
Size: 251 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20090911/8df1ad95/attachment.vcf>
More information about the Qgis-user
mailing list