[GRASS-user] "installing grass issue"

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.

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

juanchy:/home/criacuervo/Desktop# ls
grass_6.0.2-6_i386.deb 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
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

And i almost forget, i used Debian 5.0

this is a copy of my /etc/sources.list

deb cdrom:[Debian GNU/Linux 5.0.2 Lenny - Official i386 DVD Binary-1 20090628-15:08]/ lenny contrib main non-free

deb cdrom:[Debian GNU/Linux 5.0.2 Lenny - Official i386 DVD Binary-1 20090628-15:08]/ lenny contrib main non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile/ lenny/volatile main contrib non-free
deb http://http.us.debian.org/debian/ lenny main
deb-src http://volatile.debian.org/debian-volatile/ lenny/volatile main contrib non-free

deb http://debian.gfoss.it/ lenny main

deb http://debian.unesr.edu.ve/debian/ lenny main

deb http://debian.ues.edu.sv/debian/ lenny main

i tried with qgis, and i installed it i thought, but was a pluging i think because when i try to open it this appears:

Error setting region (Problem with g.region?):
child process exited abnormally

and after that one this:

g.proj or projectionn error:ERROR:G_getenv():
Variable LOCATION_NAME not set

what i have to do?
All suggestion will be welcome!
thx,

Hello Juan Carlos,

yes, all packages have to be installed.

Im using OpenSuse and Im not a Debian expert. Maybe an Debian-user can
give you a hint how to install all these packages.

juan carlos millord schrieb:

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.

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

juanchy:/home/criacuervo/Desktop# ls
grass_6.0.2-6_i386.deb 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
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

It seems, here you have a problem with two versions of gdal:
just instal one of them.

Achim

  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

*And i almost forget, i used Debian 5.0*

this is a copy of my /etc/sources.list

deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 DVD Binary-1
20090628-15:08]/ lenny contrib main non-free

deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 DVD Binary-1
20090628-15:08]/ lenny contrib main non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile/ lenny/volatile
<http://volatile.debian.org/debian-volatile/lenny/volatile&gt; main
contrib non-free
deb http://http.us.debian.org/debian/ lenny main
deb-src http://volatile.debian.org/debian-volatile/ lenny/volatile main
contrib non-free

deb http://debian.gfoss.it/ lenny main

deb http://debian.unesr.edu.ve/debian/ lenny main

deb http://debian.ues.edu.sv/debian/ lenny main

i tried with qgis, and i installed it i thought, but was a pluging i
think because when i try to open it this appears:

    > Error setting region (Problem with g.region?):
    > child process exited abnormally
    >
    >
    > and after that one this:
    >
    > g.proj or projectionn error:ERROR:G_getenv():
    > Variable LOCATION_NAME not set
    >
    >
    > what i have to do?
    > All suggestion will be welcome!
    > thx,

------------------------------------------------------------------------

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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