[GRASS-user] "installing grass issue"

Hamish hamish_b at yahoo.com
Mon Aug 24 22:31:45 EDT 2009


Juan wrote:
> Appears to be that when i try to install grass from a .deb
> package it has a lot of dependencies, and ok i downloaded
> them  but those decencies have more downloading have more and
> is like never ends.

it gets there.
 
> Is there a way to install it with all the dependencies
> together?
> since i used apt-get with this result:

try aptitude instead of apt-get, it has better conflict
resolution code.

> 
>  juanchy:/home/criacuervo/Desktop#
> ls
> grass_6.0.2-6_i386.deb

why do you have .debs downloaded manually? that shouldn't be
necessary. and 6.0.2 is far out of date, lenny shipped with
GRASS 6.2.3 and GDAL 1.5.2.

???

> libpq4_8.1.17-0etch1_i386.deb
> libgdal1-1.3.2_1.3.2-4_i386.deb

> juanchy:/home/criacuervo/Desktop#
>  dpkg -i libgdal1-1.3.2_1.3.2-4_i386.deb 

"aptitude install grass" should handle all that. there is no
need to run dpkg manually. in fact in most cases you shouldn't.
gdal 1.3.2 is from the old Debian/Etch, so it isn't surprising
that it is out of date WRT the rest of a modern Lenny system.

> Selecting previously
> deselected package libgdal1-1.3.2.
> dpkg: regarding
> libgdal1-1.3.2_1.3.2-4_i386.deb containing
> libgdal1-1.3.2:
>  libgdal1-1.5.0 conflicts with
> libgdal1-1.3.2
>   libgdal1-1.3.2 (version 1.3.2-4) is to be
> installed.
> dpkg: error processing libgdal1-1.3.2_1.3.2-4_i386.deb
> (--install):
>  conflicting packages - not installing
> libgdal1-1.3.2
> Errors were encountered while
> processing:
>  libgdal1-1.3.2_1.3.2-4_i386.deb


try adding backports.org to your /etc/sources.list file.

there you will find a more modern package for DebGrass/Lenny:

http://packages.debian.org/grass


(and gdal too)


you should not have to handle anything at the .deb / dpkg level,
aptitude should be able to take care of all dependencies for
you, automatically.


Hamish



      



More information about the grass-user mailing list