[GRASS-user] problem to install grass70 on ubuntu 12.04

Hi,
I’ve just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

All the best

Sergio Vignali

Hi Sergio,

On Wed, Aug 27, 2014 at 10:34 AM, Sergio Vignali
<vignalisergio30@gmail.com> wrote:

Hi,
I've just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

To better understand, I have created a virtual machine with Ubuntu
12.04 and tried myself. In fact:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70 grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70 : Depends: grass70-core but it is not going to be installed
grass70-gui : Depends: grass70-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pgis@pgis-ubuntu64-vm:~$

So I tried harder:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70 grass70-core grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
                Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
                Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
                Recommends: gdal-bin but it is not going to be installed
                Recommends: proj-bin but it is not going to be installed
                Breaks: grass70 (< 7.0.0+0ubuntu3~)
E: Unable to correct problems, you have held broken packages.

Not sure what the next step is (I am more experienced with RPM based systems).

Likely it can be solved :slight_smile:

Markus

On Wed, Aug 27, 2014 at 6:52 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi Sergio,

On Wed, Aug 27, 2014 at 10:34 AM, Sergio Vignali
<vignalisergio30@gmail.com> wrote:

Hi,
I've just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

To better understand, I have created a virtual machine with Ubuntu
12.04 and tried myself. In fact:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70 grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70 : Depends: grass70-core but it is not going to be installed
grass70-gui : Depends: grass70-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pgis@pgis-ubuntu64-vm:~$

So I tried harder:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70 grass70-core grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
                Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
                Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
                Recommends: gdal-bin but it is not going to be installed
                Recommends: proj-bin but it is not going to be installed
                Breaks: grass70 (< 7.0.0+0ubuntu3~)
E: Unable to correct problems, you have held broken packages.

Not sure what the next step is (I am more experienced with RPM based systems).

Just to complete the tests, also this fails at time:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70 : Depends: grass70-core but it is not going to be installed
           Depends: grass70-gui but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Likely it can be solved :slight_smile:

Markus

I don’t know why, but there appears to be a conflict between grass70 and grass70-core packages.

I’ve been using that PPA on 14.04 but the package grass70 is not installed in my system:

$ apt-cache policy grass70
grass70:
Instalados: (ninguno)
Candidato: 7.0.0~ppa~1~revno-30828~ubuntu14.04.1
Tabla de versión:
7.0.0~ppa~1~revno-30828~ubuntu14.04.1 0
500 http://ppa.launchpad.net/grass/grass-stable/ubuntu/ trusty/main amd64 Packages

But grass70-core and grass70-gui are in fact installed

$ apt-cache policy grass70-core
grass70-core:
Instalados: 7.0.0~ppa~1~revno-30825~ubuntu14.04.1
Candidato: 7.0.0~ppa~1~revno-30828~ubuntu14.04.1
Tabla de versión:
7.0.0~ppa~1~revno-30828~ubuntu14.04.1 0
500 http://ppa.launchpad.net/grass/grass-stable/ubuntu/ trusty/main amd64 Packages
*** 7.0.0~ppa~1~revno-30825~ubuntu14.04.1 0
100 /var/lib/dpkg/status

$ apt-cache policy grass70-gui
grass70-gui:
Instalados: 7.0.0~ppa~1~revno-30825~ubuntu14.04.1
Candidato: 7.0.0~ppa~1~revno-30828~ubuntu14.04.1
Tabla de versión:
7.0.0~ppa~1~revno-30828~ubuntu14.04.1 0
500 http://ppa.launchpad.net/grass/grass-stable/ubuntu/ trusty/main amd64 Packages
*** 7.0.0~ppa~1~revno-30825~ubuntu14.04.1 0
100 /var/lib/dpkg/status

And grass is working OK, so I’d say the workaround should be issuing:

sudo apt-get install grass70-core grass70-gui

While the PPA maintenance team fixes that

···

2014-08-27 13:08 GMT-05:00 Markus Neteler <neteler@osgeo.org>:

On Wed, Aug 27, 2014 at 6:52 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi Sergio,

On Wed, Aug 27, 2014 at 10:34 AM, Sergio Vignali
<vignalisergio30@gmail.com> wrote:

Hi,
I’ve just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

To better understand, I have created a virtual machine with Ubuntu
12.04 and tried myself. In fact:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70 grass70-gui
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70 : Depends: grass70-core but it is not going to be installed
grass70-gui : Depends: grass70-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pgis@pgis-ubuntu64-vm:~$

So I tried harder:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70 grass70-core grass70-gui
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
Recommends: gdal-bin but it is not going to be installed
Recommends: proj-bin but it is not going to be installed
Breaks: grass70 (< 7.0.0+0ubuntu3~)
E: Unable to correct problems, you have held broken packages.

Not sure what the next step is (I am more experienced with RPM based systems).

Just to complete the tests, also this fails at time:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70

Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70 : Depends: grass70-core but it is not going to be installed

Depends: grass70-gui but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

Likely it can be solved :slight_smile:

Markus


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

César Augusto Ramírez Franco

Laboratorio de Sistemas Complejos Naturales

Escuela de Geociencias

Facultad de Ciencias

Universidad Nacional de Colombia - Sede Medellín

Teléfono: (57-4) 430 9369 - 300 459 6085

On Wed, Aug 27, 2014 at 9:08 PM, César Augusto Ramírez Franco
<caesarivs@gmail.com> wrote:

I don't know why, but there appears to be a conflict between grass70 and
grass70-core packages.

I've been using that PPA on 14.04 but the package grass70 is not installed
in my system:

...

And grass is working OK, so I'd say the workaround should be issuing:

sudo apt-get install grass70-core grass70-gui

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70-core grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
                Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
                Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
                Recommends: gdal-bin but it is not going to be installed
                Recommends: proj-bin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

... also failing today (Ubuntu 12.04 here)

Markus

libgdal1h does not exist in stock Ubuntu 12.04 but does in 14.04
It was a name change introduced in Debian/UbuntuGIS to deal with some
libtiff build issue.

In order for the package to work it needs to say libgdal1 || libgdal1h
(basically OR).

Quick workaround is to add the ubuntugis-unstable ppa which has
libgdal1h for 12.04.

Thanks,
Alex
Ubuntugis Team

On 08/27/2014 01:10 PM, Markus Neteler wrote:

On Wed, Aug 27, 2014 at 9:08 PM, César Augusto Ramírez Franco
<caesarivs@gmail.com> wrote:

I don't know why, but there appears to be a conflict between grass70 and
grass70-core packages.

I've been using that PPA on 14.04 but the package grass70 is not installed
in my system:

...

And grass is working OK, so I'd say the workaround should be issuing:

sudo apt-get install grass70-core grass70-gui

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70-core grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
                Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
                Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
                Recommends: gdal-bin but it is not going to be installed
                Recommends: proj-bin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

... also failing today (Ubuntu 12.04 here)

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

What does the following query return?

$ apt-cache policy libgdal1h libgeos-c1 libproj0
libgdal1h:
Instalados: 1.11.0+dfsg-1~exp2~trusty2
Candidato: 1.11.0+dfsg-1~exp2~trusty2
Tabla de versión:
*** 1.11.0+dfsg-1~exp2~trusty2 0
500 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
1.10.1+dfsg-5ubuntu1 0
500 http://co.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
libgeos-c1:
Instalados: 3.4.2-4ubuntu1
Candidato: 3.4.2-4ubuntu1
Tabla de versión:
*** 3.4.2-4ubuntu1 0
500 http://co.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
libproj0:
Instalados: 4.8.0-2ubuntu2
Candidato: 4.8.0-2ubuntu2
Tabla de versión:
*** 4.8.0-2ubuntu2 0
500 http://co.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status

Maybe those packages versions are older on official 12.04 repos or maybe they aren’t available at all… I would recommend upgrading to current LTS Trusty 14.04, or trying to add the ubuntugis-unstable PPA: https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable

It might have the appropiate packages for it to install correctly

···

2014-08-27 15:10 GMT-05:00 Markus Neteler <neteler@osgeo.org>:

On Wed, Aug 27, 2014 at 9:08 PM, César Augusto Ramírez Franco
<caesarivs@gmail.com> wrote:

I don’t know why, but there appears to be a conflict between grass70 and
grass70-core packages.

I’ve been using that PPA on 14.04 but the package grass70 is not installed
in my system:

And grass is working OK, so I’d say the workaround should be issuing:

sudo apt-get install grass70-core grass70-gui

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70-core grass70-gui

Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
Recommends: gdal-bin but it is not going to be installed
Recommends: proj-bin but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

… also failing today (Ubuntu 12.04 here)

Markus

César Augusto Ramírez Franco

Laboratorio de Sistemas Complejos Naturales

Escuela de Geociencias

Facultad de Ciencias

Universidad Nacional de Colombia - Sede Medellín

Teléfono: (57-4) 430 9369 - 300 459 6085

On Wed, Aug 27, 2014 at 10:23 PM, Alex Mandel
<tech_dev@wildintellect.com> wrote:

libgdal1h does not exist in stock Ubuntu 12.04 but does in 14.04
It was a name change introduced in Debian/UbuntuGIS to deal with some
libtiff build issue.

In order for the package to work it needs to say libgdal1 || libgdal1h
(basically OR).

Quick workaround is to add the ubuntugis-unstable ppa which has
libgdal1h for 12.04.

Perfect, this does the trick!

# get the PPA
pgis@pgis-ubuntu64-vm:~$ sudo add-apt-repository
ppa:ubuntugis/ubuntugis-unstable
You are about to add the following PPA to your system:
Unstable releases of Ubuntu GIS packages
...
gpg: key 314DF160: public key "Launchpad ubuntugis-stable" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

# update the local cache:
pgis@pgis-ubuntu64-vm:~$ sudo apt-get update
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
...
Fetched 4,520 kB in 3s (1,282 kB/s)
Reading package lists... Done

# install it (not indicating the "grass70" meta package!):
pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70-core grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  freeglut3 gdal-bin libarmadillo2 libblas3gf libdap11 libdapclient3
libepsilon0 libfftw3-3
...
  python-wxversion
0 upgraded, 38 newly installed, 0 to remove and 216 not upgraded.
Need to get 46.9 MB of archives.
After this operation, 146 MB of additional disk space will be used.
Do you want to continue [Y/n]? y

# start the software
grass70

Works. Thanks for your help,

Markus

PS: I cannot determine the version but it must be pre r59875, i.e.
April 2014, could a newer version (eg beta3) be packaged?

Hi Rashad and Markus,
many thanks for your support!
This evening I’ll try again, now I haven’t an internet connection for my laptop,
I’ll update you later!

Sergio

···

2014-08-28 6:02 GMT+02:00 Rashad M <rashadkm@gmail.com>:

Hi Sergio,

I had a requested a new build right now on launchpad[1] which updates the grass70 startup script to releasebranch70.

Could you wait for an hour or so before try installing grass again. (recipe build will happen in 6minutes)

Sorry for the inconvenience and delay cause for you in installing packages.

[1] https://code.launchpad.net/~grass/+recipe/grass70-release

Sergio Vignali

On Thu, Aug 28, 2014 at 5:33 AM, Rashad M <rashadkm@gmail.com> wrote:

Hi Markus,

I tried and this bug on ubuntu 12.04 and is reproducable. But for the instant, to have grass70. (built 3 hrs ago)

he can try the below.

sudo add-apt-repository ppa:grass/grass-stable
You are about to add the following PPA to your system:
GRASS Packages for the development release branch.

This is currently Version 7.0

NOTE:
These packages are NOT the OFFICIAL stable and tested packages by UBUNTU & DEBIAN GIS team.

UBUNTU packages are found here:
https://launchpad.net/ubuntu/+source/grass

and UBUNTU GIS packages here:

gpg: keyring /tmp/tmpfXSTNk/secring.gpg' created gpg: keyring /tmp/tmpfXSTNk/pubring.gpg’ created
gpg: requesting key 26D57B27 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpfXSTNk/trustdb.gpg: trustdb created
gpg: key 26D57B27: public key “Launchpad PPA for GRASS GIS” imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
rashad@lsidev:~$ sudo apt-get update

rashad@lsidev:~$ sudo apt-get install grass70

Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70 : Depends: grass70-core but it is not going to be installed
Depends: grass70-gui but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I will work on this issue and let you know

rashad@lsidev:~$ sudo apt-cache policy grass70
grass70:
Installed: (none)
Candidate: 7.0.0~ppa~1~revno-30832~ubuntu12.04.1
Version table:
7.0.0~ppa~1~revno-30832~ubuntu12.04.1 0
500 http://ppa.launchpad.net/grass/grass-stable/ubuntu/ precise/main amd64 Packages
rashad@lsidev:~$ sudo apt-cache policy grass70-core
grass70-core:
Installed: (none)
Candidate: 7.0.0~ppa~1~revno-30832~ubuntu12.04.1
Version table:
7.0.0~ppa~1~revno-30832~ubuntu12.04.1 0
500 http://ppa.launchpad.net/grass/grass-stable/ubuntu/ precise/main amd64 Packages
rashad@lsidev:~$ sudo apt-cache policy grass70-gui
grass70-gui:
Installed: (none)
Candidate: 7.0.0~ppa~1~revno-30832~ubuntu12.04.1
Version table:
7.0.0~ppa~1~revno-30832~ubuntu12.04.1 0
500 http://ppa.launchpad.net/grass/grass-stable/ubuntu/ precise/main amd64 Packages
rashad@lsidev:~$ sudo apt-get install grass70-core grass70-gui

Reading package lists… Done
Building dependency tree
Reading state information… Done

The following packages were automatically installed and are no longer required:
libopenal1:i386 bluez-alsa:i386 libsdl-ttf2.0-0:i386 libgconf-2-4:i386
libstdc++5:i386 ia32-libs-multiarch:i386 libgail18:i386 libldap-2.4-2:i386
libao-common libv4l-0:i386 libqt4-qt3support:i386 libroken18-heimdal:i386
libunistring0:i386 libcupsimage2:i386 libgphoto2-port0:i386 libnss3:i386
libcaca0:i386 gtk2-engines:i386 libgudev-1.0-0:i386 libcairo-gobject2:i386
libavc1394-0:i386 ia32-libs libaio1:i386 libsane:i386 odbcinst1debian2:i386
libqt4-test:i386 libqt4-designer:i386 libsdl-mixer1.2:i386 libcap2:i386
libproxy1:i386 ibus-gtk:i386 libdbus-glib-1-2:i386 libtdb1:i386
libasn1-8-heimdal:i386 libspeex1:i386 libxslt1.1:i386 libgomp1:i386
libcapi20-3:i386 libibus-1.0-0:i386 libgssapi3-heimdal:i386
libcanberra-gtk-module:i386 libcanberra0:i386 gtk2-engines-murrine:i386
libwavpack1:i386 libqt4-opengl:i386 libsoup-gnome2.4-1:i386
libv4lconvert0:i386 gstreamer0.10-plugins-good:i386 libiec61883-0:i386
libsdl-image1.2:i386 libwind0-heimdal:i386 libsdl1.2debian:i386 libxaw7:i386
libgdbm3:i386 libcurl3:i386 libesd0:i386 libmikmod2:i386
libpulse-mainloop-glib0:i386 libaa1:i386 libieee1284-3:i386 libao4:i386
libxmu6:i386 libcanberra-gtk0:i386 libvorbisfile3:i386 libxpm4:i386
libqt4-svg:i386 libusb-0.1-4:i386 libgail-common:i386
libhcrypto4-heimdal:i386 libraw1394-11:i386 libnspr4:i386 libshout3:i386
libdv4:i386 libhx509-5-heimdal:i386 gstreamer0.10-x:i386 libgettextpo0:i386
libgd2-xpm:i386 libheimbase1-heimdal:i386 libsdl-net1.2:i386
libgnome-keyring0:i386 libxtst6:i386 gtk2-engines-pixbuf:i386
libtag1c2a:i386 libssl0.9.8:i386 libmpg123-0:i386 libmad0:i386
libsasl2-2:i386 gtk2-engines-oxygen:i386 lib32z1 xaw3dg:i386
libheimntlm0-heimdal:i386 libpulsedsp:i386 libodbc1:i386 libexif12:i386
libqt4-scripttools:i386 librtmp0:i386 libxp6:i386 libsasl2-modules:i386
libltdl7:i386 libkrb5-26-heimdal:i386 glib-networking:i386 libsoup2.4-1:i386
libgphoto2-2:i386 libtag1-vanilla:i386 libaudiofile1:i386
Use ‘apt-get autoremove’ to remove them.
Suggested packages:
grass70-doc grass70-dev e00compr avce00 gnuplot xml2
The following NEW packages will be installed:
grass70-core grass70-gui
0 upgraded, 2 newly installed, 0 to remove and 117 not upgraded.
Need to get 0 B/12.8 MB of archives.
After this operation, 37.5 MB of additional disk space will be used.
Selecting previously unselected package grass70-core.
(Reading database … 479376 files and directories currently installed.)
Unpacking grass70-core (from …/grass70-core_7.0.0~ppa~1~revno-30832~ubuntu12.04.1_amd64.deb) …
Selecting previously unselected package grass70-gui.
Unpacking grass70-gui (from …/grass70-gui_7.0.0~ppa~1~revno-30832~ubuntu12.04.1_amd64.deb) …
Processing triggers for hicolor-icon-theme …
Processing triggers for bamfdaemon …
Rebuilding /usr/share/applications/bamf.index…
Processing triggers for desktop-file-utils …
Processing triggers for gnome-menus …
Processing triggers for man-db …
Setting up grass70-core (7.0.0~ppa~1~revno-30832~ubuntu12.04.1) …
Setting up grass70-gui (7.0.0~ppa~1~revno-30832~ubuntu12.04.1) …

grass70-core (7.0.0~ppa~1~revno-30832~ubuntu12.04.1

Take care

The highlighted package can be seen on the ppa page[1]. Right now it says (3 hours ago)

On Wed, Aug 27, 2014 at 8:09 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi Rashad,

not sure if you read grass-user, so I take liberty to fwd to you this
Ubuntu issue.

Would be nice to get that fixed, would you be willing to?

thanks
Markus

---------- Forwarded message ----------
From: Markus Neteler <neteler@osgeo.org>
Date: Wed, Aug 27, 2014 at 8:08 PM
Subject: Re: [GRASS-user] problem to install grass70 on ubuntu 12.04
To: Sergio Vignali <vignalisergio30@gmail.com>
Cc: GRASS user list <grass-user@lists.osgeo.org>

On Wed, Aug 27, 2014 at 6:52 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi Sergio,

On Wed, Aug 27, 2014 at 10:34 AM, Sergio Vignali
<vignalisergio30@gmail.com> wrote:

Hi,
I’ve just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

To better understand, I have created a virtual machine with Ubuntu
12.04 and tried myself. In fact:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70 grass70-gui
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70 : Depends: grass70-core but it is not going to be installed
grass70-gui : Depends: grass70-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pgis@pgis-ubuntu64-vm:~$

So I tried harder:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70 grass70-core grass70-gui
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
Recommends: gdal-bin but it is not going to be installed
Recommends: proj-bin but it is not going to be installed
Breaks: grass70 (< 7.0.0+0ubuntu3~)
E: Unable to correct problems, you have held broken packages.

Not sure what the next step is (I am more experienced with RPM based systems).

Just to complete the tests, also this fails at time:

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70 : Depends: grass70-core but it is not going to be installed
Depends: grass70-gui but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Likely it can be solved :slight_smile:

Markus

Take care

Hi Sergio and Markus

Il 27/08/2014 18:52, Markus Neteler ha scritto:

Hi Sergio,

On Wed, Aug 27, 2014 at 10:34 AM, Sergio Vignali
<vignalisergio30@gmail.com> wrote:

Hi,
I've just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

To better understand, I have created a virtual machine with Ubuntu
12.04 and tried myself. In fact:

AFAIK ubuntugis packages does not include grass70 yet:
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable?field.series_filter=trusty
i can't "apt-cache search grass70" (no results) in my ubuntu 14.04 indeed;
maybe you activated some "backport repository" (?) ...

roy

Nevermind, well i missed you were not using the ubuntugis ppa, sorry for the mess ...
roy
Il 28/08/2014 10:00, roy ha scritto:

Hi Sergio and Markus

Il 27/08/2014 18:52, Markus Neteler ha scritto:

Hi Sergio,

On Wed, Aug 27, 2014 at 10:34 AM, Sergio Vignali
<vignalisergio30@gmail.com> wrote:

Hi,
I've just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

To better understand, I have created a virtual machine with Ubuntu
12.04 and tried myself. In fact:

AFAIK ubuntugis packages does not include grass70 yet:
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable?field.series_filter=trusty

i can't "apt-cache search grass70" (no results) in my ubuntu 14.04 indeed;
maybe you activated some "backport repository" (?) ...

roy

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

Hello Roy,

grass70 and other daily builds are available from grass ppa - https://launchpad.net/~grass

···

On Thu, Aug 28, 2014 at 10:00 AM, roy <royroge@outlook.com> wrote:

Hi Sergio and Markus

Il 27/08/2014 18:52, Markus Neteler ha scritto:

Hi Sergio,

On Wed, Aug 27, 2014 at 10:34 AM, Sergio Vignali
<vignalisergio30@gmail.com> wrote:

Hi,
I’ve just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

To better understand, I have created a virtual machine with Ubuntu
12.04 and tried myself. In fact:

AFAIK ubuntugis packages does not include grass70 yet:
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable?field.series_filter=trusty
i can’t “apt-cache search grass70” (no results) in my ubuntu 14.04 indeed;
maybe you activated some “backport repository” (?) …

roy


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

Regards,
Rashad

On Thu, Aug 28, 2014 at 10:34 AM, Rashad M <mohammedrashadkm@gmail.com> wrote:

Hello Roy,

grass70 and other daily builds are available from grass ppa -
https://launchpad.net/~grass

After all the updates. please let me know how to modify the description here:
http://grass.osgeo.org/download/software/linux/#grass70
--> Ubuntu
?

thanks
Markus

Hi
Thanks for the help to get Grass7 running on my laptop.
I followed the workaround "sudo apt-get install grass70-core
grass70-gui" and now have grass70 running on Ubuntu 14.04 LTS:

I am trying to use the v.krige command in Grass7, and when doing so
receive the following:

Loading dependencies, please wait...
Checking rgeos availability: FALSE
   Note: when rgeos is not available, polygon geometry
   computations in maptools depend on gpclib,
   which has a restricted licence. It is disabled by default;
   to enable gpclib, type gpclibPermit()
ERROR: R package(s) rgeos, gstat, spgrass6 missing. Install it/them and
re-run v.krige.

I've installed python-rpy2.2.3.9-1 via the Ubuntu package manager, and
enabled gpclib.

Following the instructions in
http://grass.osgeo.org/grass65/manuals/v.krige.py.html I've typed in
install.packages("rgeos", dep=T)
  install.packages("gstat", dep=T)
  install.packages("spgrass6", dep=T)
  install.packages("automap", dep=T)

Unfortunately I'm getting errors in the installation of "rgeos",
"gstat", "spgrass6", and "automap", which are detailed below. Does
anyone know where I might be going wrong. The version of R installed on
my laptop is R version 3.0.2 (2013-09-25) -- "Frisbee Sailing", and I
have a version of RKward also installed.

I am neither a Grass nor R expert, needless to say....

install.packages("rgeos", dep=T)
Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘XML’

trying URL
'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgeos_0.3-6.tar.gz
Content type 'application/x-gzip' length 240510 bytes (234 Kb)
opened URL

downloaded 234 Kb

* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove
'a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgeos: 0.3-4
checking for /usr/bin/svnversion... no
configure: svn revision: 450
checking geos-config usability... ./configure: line 2056: geos-config:
command not found
no
configure: error: geos-config not usable
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgeos’

The downloaded source packages are in
  ‘/tmp/RtmpRYggF0/downloaded_packages’
Warning messages:
1: In install.packages("rgeos", dep = T) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages("rgeos", dep = T) :
  installation of package ‘rgeos’ had non-zero exit status

install.packages("gstat", dep=T)

Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘spacetime’, ‘rgdal’, ‘rgeos’

trying URL
'http://www.freestatistics.org/cran/src/contrib/spacetime_1.1-1.tar.gz
Content type 'application/x-gzip' length 2269252 bytes (2.2 Mb)
opened URL

downloaded 2.2 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgeos_0.3-6.tar.gz
Content type 'application/x-gzip' length 240510 bytes (234 Kb)
opened URL

downloaded 234 Kb

trying URL
'http://www.freestatistics.org/cran/src/contrib/gstat_1.0-19.tar.gz
Content type 'application/x-gzip' length 2045717 bytes (2.0 Mb)
opened URL

downloaded 2.0 Mb

* installing *source* package ‘rgdal’ ...
** package ‘rgdal’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 0.8-15
checking for /usr/bin/svnversion... no
configure: svn revision: 498
configure: gdal-config: gdal-config
checking gdal-config usability... ./configure: line 2119: gdal-config:
command not found
no
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not installed the GDAL libraries, you can
download the source from http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.

ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgeos: 0.3-4
checking for /usr/bin/svnversion... no
configure: svn revision: 450
checking geos-config usability... ./configure: line 2056: geos-config:
command not found
no
configure: error: geos-config not usable
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgeos’
ERROR: dependency ‘rgeos’ is not available for package ‘spacetime’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spacetime’
ERROR: dependency ‘spacetime’ is not available for package ‘gstat’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/gstat’

The downloaded source packages are in
  ‘/tmp/RtmpRYggF0/downloaded_packages’
Warning messages:
1: In install.packages("gstat", dep = T) :
  installation of package ‘rgdal’ had non-zero exit status
2: In install.packages("gstat", dep = T) :
  installation of package ‘rgeos’ had non-zero exit status
3: In install.packages("gstat", dep = T) :
  installation of package ‘spacetime’ had non-zero exit status
4: In install.packages("gstat", dep = T) :
  installation of package ‘gstat’ had non-zero exit status

install.packages("spgrass6", dep=T)

Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘XML’, ‘rgdal’

trying URL
'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/spgrass6_0.8-3.tar.gz
Content type 'application/x-gzip' length 274678 bytes (268 Kb)
opened URL

downloaded 268 Kb

* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove
'a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
* installing *source* package ‘rgdal’ ...
** package ‘rgdal’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 0.8-15
checking for /usr/bin/svnversion... no
configure: svn revision: 498
configure: gdal-config: gdal-config
checking gdal-config usability... ./configure: line 2119: gdal-config:
command not found
no
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not installed the GDAL libraries, you can
download the source from http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.

ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
ERROR: dependency ‘XML’ is not available for package ‘spgrass6’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spgrass6’

The downloaded source packages are in
  ‘/tmp/RtmpRYggF0/downloaded_packages’
Warning messages:
1: In install.packages("spgrass6", dep = T) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages("spgrass6", dep = T) :
  installation of package ‘rgdal’ had non-zero exit status
3: In install.packages("spgrass6", dep = T) :
  installation of package ‘spgrass6’ had non-zero exit status

install.packages("spgrass6", dep=T)

Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘XML’, ‘rgdal’

trying URL
'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/spgrass6_0.8-3.tar.gz
Content type 'application/x-gzip' length 274678 bytes (268 Kb)
opened URL

downloaded 268 Kb

* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove
'a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
* installing *source* package ‘rgdal’ ...
** package ‘rgdal’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 0.8-15
checking for /usr/bin/svnversion... no
configure: svn revision: 498
configure: gdal-config: gdal-config
checking gdal-config usability... ./configure: line 2119: gdal-config:
command not found
no
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not installed the GDAL libraries, you can
download the source from http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.

ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
ERROR: dependency ‘XML’ is not available for package ‘spgrass6’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spgrass6’

The downloaded source packages are in
  ‘/tmp/RtmpRYggF0/downloaded_packages’
Warning messages:
1: In install.packages("spgrass6", dep = T) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages("spgrass6", dep = T) :
  installation of package ‘rgdal’ had non-zero exit status
3: In install.packages("spgrass6", dep = T) :
  installation of package ‘spgrass6’ had non-zero exit status

On Wed, Aug 27, 2014, at 10:10 PM, Markus Neteler wrote:

On Wed, Aug 27, 2014 at 9:08 PM, César Augusto Ramírez Franco
<caesarivs@gmail.com> wrote:
> I don't know why, but there appears to be a conflict between grass70 and
> grass70-core packages.
>
> I've been using that PPA on 14.04 but the package grass70 is not installed
> in my system:
...
> And grass is working OK, so I'd say the workaround should be issuing:
>
> sudo apt-get install grass70-core grass70-gui

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70-core grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
                Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
                Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
                Recommends: gdal-bin but it is not going to be installed
                Recommends: proj-bin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

... also failing today (Ubuntu 12.04 here)

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

--
http://www.fastmail.fm - Same, same, but different...

You need to install libgeos-dev, libproj-dev etc and build-essential.
Installation of R packages on Linux often requires compiling so you need
all the source headers and compilers for it to work.

-Alex

On 08/28/2014 02:57 AM, John Nicholls wrote:

Hi
Thanks for the help to get Grass7 running on my laptop.
I followed the workaround "sudo apt-get install grass70-core
grass70-gui" and now have grass70 running on Ubuntu 14.04 LTS:

I am trying to use the v.krige command in Grass7, and when doing so
receive the following:

Loading dependencies, please wait...
Checking rgeos availability: FALSE
   Note: when rgeos is not available, polygon geometry
   computations in maptools depend on gpclib,
   which has a restricted licence. It is disabled by default;
   to enable gpclib, type gpclibPermit()
ERROR: R package(s) rgeos, gstat, spgrass6 missing. Install it/them and
re-run v.krige.

I've installed python-rpy2.2.3.9-1 via the Ubuntu package manager, and
enabled gpclib.

Following the instructions in
http://grass.osgeo.org/grass65/manuals/v.krige.py.html I've typed in
install.packages("rgeos", dep=T)
  install.packages("gstat", dep=T)
  install.packages("spgrass6", dep=T)
  install.packages("automap", dep=T)

Unfortunately I'm getting errors in the installation of "rgeos",
"gstat", "spgrass6", and "automap", which are detailed below. Does
anyone know where I might be going wrong. The version of R installed on
my laptop is R version 3.0.2 (2013-09-25) -- "Frisbee Sailing", and I
have a version of RKward also installed.

I am neither a Grass nor R expert, needless to say....

install.packages("rgeos", dep=T)
Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘XML’

trying URL
'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgeos_0.3-6.tar.gz
Content type 'application/x-gzip' length 240510 bytes (234 Kb)
opened URL

downloaded 234 Kb

* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove
'a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgeos: 0.3-4
checking for /usr/bin/svnversion... no
configure: svn revision: 450
checking geos-config usability... ./configure: line 2056: geos-config:
command not found
no
configure: error: geos-config not usable
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgeos’

The downloaded source packages are in
  ‘/tmp/RtmpRYggF0/downloaded_packages’
Warning messages:
1: In install.packages("rgeos", dep = T) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages("rgeos", dep = T) :
  installation of package ‘rgeos’ had non-zero exit status

install.packages("gstat", dep=T)

Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘spacetime’, ‘rgdal’, ‘rgeos’

trying URL
'http://www.freestatistics.org/cran/src/contrib/spacetime_1.1-1.tar.gz
Content type 'application/x-gzip' length 2269252 bytes (2.2 Mb)
opened URL

downloaded 2.2 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgeos_0.3-6.tar.gz
Content type 'application/x-gzip' length 240510 bytes (234 Kb)
opened URL

downloaded 234 Kb

trying URL
'http://www.freestatistics.org/cran/src/contrib/gstat_1.0-19.tar.gz
Content type 'application/x-gzip' length 2045717 bytes (2.0 Mb)
opened URL

downloaded 2.0 Mb

* installing *source* package ‘rgdal’ ...
** package ‘rgdal’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 0.8-15
checking for /usr/bin/svnversion... no
configure: svn revision: 498
configure: gdal-config: gdal-config
checking gdal-config usability... ./configure: line 2119: gdal-config:
command not found
no
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not installed the GDAL libraries, you can
download the source from http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.

ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgeos: 0.3-4
checking for /usr/bin/svnversion... no
configure: svn revision: 450
checking geos-config usability... ./configure: line 2056: geos-config:
command not found
no
configure: error: geos-config not usable
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgeos’
ERROR: dependency ‘rgeos’ is not available for package ‘spacetime’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spacetime’
ERROR: dependency ‘spacetime’ is not available for package ‘gstat’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/gstat’

The downloaded source packages are in
  ‘/tmp/RtmpRYggF0/downloaded_packages’
Warning messages:
1: In install.packages("gstat", dep = T) :
  installation of package ‘rgdal’ had non-zero exit status
2: In install.packages("gstat", dep = T) :
  installation of package ‘rgeos’ had non-zero exit status
3: In install.packages("gstat", dep = T) :
  installation of package ‘spacetime’ had non-zero exit status
4: In install.packages("gstat", dep = T) :
  installation of package ‘gstat’ had non-zero exit status

install.packages("spgrass6", dep=T)

Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘XML’, ‘rgdal’

trying URL
'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/spgrass6_0.8-3.tar.gz
Content type 'application/x-gzip' length 274678 bytes (268 Kb)
opened URL

downloaded 268 Kb

* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove
'a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
* installing *source* package ‘rgdal’ ...
** package ‘rgdal’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 0.8-15
checking for /usr/bin/svnversion... no
configure: svn revision: 498
configure: gdal-config: gdal-config
checking gdal-config usability... ./configure: line 2119: gdal-config:
command not found
no
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not installed the GDAL libraries, you can
download the source from http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.

ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
ERROR: dependency ‘XML’ is not available for package ‘spgrass6’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spgrass6’

The downloaded source packages are in
  ‘/tmp/RtmpRYggF0/downloaded_packages’
Warning messages:
1: In install.packages("spgrass6", dep = T) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages("spgrass6", dep = T) :
  installation of package ‘rgdal’ had non-zero exit status
3: In install.packages("spgrass6", dep = T) :
  installation of package ‘spgrass6’ had non-zero exit status

install.packages("spgrass6", dep=T)

Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘XML’, ‘rgdal’

trying URL
'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
opened URL

downloaded 1.5 Mb

trying URL
'http://www.freestatistics.org/cran/src/contrib/spgrass6_0.8-3.tar.gz
Content type 'application/x-gzip' length 274678 bytes (268 Kb)
opened URL

downloaded 268 Kb

* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... rm: cannot remove
'a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
* installing *source* package ‘rgdal’ ...
** package ‘rgdal’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 0.8-15
checking for /usr/bin/svnversion... no
configure: svn revision: 498
configure: gdal-config: gdal-config
checking gdal-config usability... ./configure: line 2119: gdal-config:
command not found
no
Error: gdal-config not found
The gdal-config script distributed with GDAL could not be found.
If you have not installed the GDAL libraries, you can
download the source from http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.

ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
ERROR: dependency ‘XML’ is not available for package ‘spgrass6’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spgrass6’

The downloaded source packages are in
  ‘/tmp/RtmpRYggF0/downloaded_packages’
Warning messages:
1: In install.packages("spgrass6", dep = T) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages("spgrass6", dep = T) :
  installation of package ‘rgdal’ had non-zero exit status
3: In install.packages("spgrass6", dep = T) :
  installation of package ‘spgrass6’ had non-zero exit status

On Wed, Aug 27, 2014, at 10:10 PM, Markus Neteler wrote:

On Wed, Aug 27, 2014 at 9:08 PM, César Augusto Ramírez Franco
<caesarivs@gmail.com> wrote:

I don't know why, but there appears to be a conflict between grass70 and
grass70-core packages.

I've been using that PPA on 14.04 but the package grass70 is not installed
in my system:

...

And grass is working OK, so I'd say the workaround should be issuing:

sudo apt-get install grass70-core grass70-gui

pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70-core grass70-gui
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
                Depends: libgeos-c1 (>= 3.4.2) but it is not going to
be installed
                Depends: libproj0 (>= 4.8.0-1) but it is not going to
be installed
                Recommends: gdal-bin but it is not going to be installed
                Recommends: proj-bin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

... also failing today (Ubuntu 12.04 here)

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

Hi Rashad,
I still have the same problem

sergio@Glis:~$ sudo apt-get install grass70 grass70-gui
Lettura elenco dei pacchetti… Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato… Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
grass70 : Dipende: grass70-core ma non sta per essere installato
grass70-gui : Dipende: grass70-core ma non sta per essere installato
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.

What do you think?

Sergio

···

2014-08-28 11:23 GMT+02:00 Markus Neteler <neteler@osgeo.org>:

On Thu, Aug 28, 2014 at 10:34 AM, Rashad M <mohammedrashadkm@gmail.com> wrote:

Hello Roy,

grass70 and other daily builds are available from grass ppa -
https://launchpad.net/~grass

After all the updates. please let me know how to modify the description here:
http://grass.osgeo.org/download/software/linux/#grass70
→ Ubuntu
?

thanks
Markus


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

Sergio Vignali

2014-08-28 18:20 GMT+02:00 Sergio Vignali <vignalisergio30@gmail.com>:

Hi Rashad,
I still have the same problem

sergio@Glis:~$ sudo apt-get install grass70 grass70-gui

Can you try

sudo apt-get install grass70-core grass70-gui grass70-doc

Lettura elenco dei pacchetti... Fatto

Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
grass70 : Dipende: grass70-core ma non sta per essere installato
grass70-gui : Dipende: grass70-core ma non sta per essere installato
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati
bloccati.

What do you think?

Sergio

2014-08-28 11:23 GMT+02:00 Markus Neteler <neteler@osgeo.org>:

On Thu, Aug 28, 2014 at 10:34 AM, Rashad M <mohammedrashadkm@gmail.com>
wrote:
> Hello Roy,
>
> grass70 and other daily builds are available from grass ppa -
> https://launchpad.net/~grass

After all the updates. please let me know how to modify the description
here:
http://grass.osgeo.org/download/software/linux/#grass70
--> Ubuntu
?

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

--
Sergio Vignali

--
Regards,
   Rashad

Dear Group, I had also some trouble installing grass70 on Ubuntu 14.04. For me worked this (surely quick and dirty but working):

···

Am 27.08.2014 10:34, schrieb Sergio Vignali:

Hi,
I've just tried to install grass70 on ubuntu 12.04 by these command

sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70 grass70-gui

the error says that there are damaged or blocked packages

All the best

_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user)
sudo add-apt-repository ppa:grass/grass-stable
sudo apt-get update
sudo apt-get install grass70-core
sudo apt-get install grass70-gui

I don´t know why it is working without "grass70", but
when I start grass form the command line with "grass70"
everything works fine.

Cheers Stefan

Thanks Alex.

I have done the installation of libgeos-dev, libproj-dev and
build-essential, and there also ssemed to be the essential GDAL missing.
v.krige now loads all the dependencies in Grass7 and I'm just trying to
process some data.

Thanks for all your help

John.

On Thu, Aug 28, 2014, at 05:55 PM, Alex Mandel wrote:

You need to install libgeos-dev, libproj-dev etc and build-essential.
Installation of R packages on Linux often requires compiling so you need
all the source headers and compilers for it to work.

-Alex

On 08/28/2014 02:57 AM, John Nicholls wrote:
> Hi
> Thanks for the help to get Grass7 running on my laptop.
> I followed the workaround "sudo apt-get install grass70-core
> grass70-gui" and now have grass70 running on Ubuntu 14.04 LTS:
>
> I am trying to use the v.krige command in Grass7, and when doing so
> receive the following:
>
> Loading dependencies, please wait...
> Checking rgeos availability: FALSE
> Note: when rgeos is not available, polygon geometry
> computations in maptools depend on gpclib,
> which has a restricted licence. It is disabled by default;
> to enable gpclib, type gpclibPermit()
> ERROR: R package(s) rgeos, gstat, spgrass6 missing. Install it/them and
> re-run v.krige.
>
> I've installed python-rpy2.2.3.9-1 via the Ubuntu package manager, and
> enabled gpclib.
>
> Following the instructions in
> http://grass.osgeo.org/grass65/manuals/v.krige.py.html I've typed in
> install.packages("rgeos", dep=T)
> install.packages("gstat", dep=T)
> install.packages("spgrass6", dep=T)
> install.packages("automap", dep=T)
>
> Unfortunately I'm getting errors in the installation of "rgeos",
> "gstat", "spgrass6", and "automap", which are detailed below. Does
> anyone know where I might be going wrong. The version of R installed on
> my laptop is R version 3.0.2 (2013-09-25) -- "Frisbee Sailing", and I
> have a version of RKward also installed.
>
> I am neither a Grass nor R expert, needless to say....
>
> install.packages("rgeos", dep=T)
> Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
> (as ‘lib’ is unspecified)
> also installing the dependency ‘XML’
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
> Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
> opened URL
> ==================================================
> downloaded 1.5 Mb
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/rgeos_0.3-6.tar.gz
> Content type 'application/x-gzip' length 240510 bytes (234 Kb)
> opened URL
> ==================================================
> downloaded 234 Kb
>
> * installing *source* package ‘XML’ ...
> ** package ‘XML’ successfully unpacked and MD5 sums checked
> checking for gcc... gcc
> checking for C compiler default output file name... rm: cannot remove
> 'a.out.dSYM': Is a directory
> a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for sed... /bin/sed
> checking for pkg-config... /usr/bin/pkg-config
> checking for xml2-config... no
> Cannot find xml2-config
> ERROR: configuration failed for package ‘XML’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
> * installing *source* package ‘rgeos’ ...
> ** package ‘rgeos’ successfully unpacked and MD5 sums checked
> configure: CC: gcc -std=gnu99
> configure: CXX: g++
> configure: rgeos: 0.3-4
> checking for /usr/bin/svnversion... no
> configure: svn revision: 450
> checking geos-config usability... ./configure: line 2056: geos-config:
> command not found
> no
> configure: error: geos-config not usable
> ERROR: configuration failed for package ‘rgeos’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgeos’
>
> The downloaded source packages are in
> ‘/tmp/RtmpRYggF0/downloaded_packages’
> Warning messages:
> 1: In install.packages("rgeos", dep = T) :
> installation of package ‘XML’ had non-zero exit status
> 2: In install.packages("rgeos", dep = T) :
> installation of package ‘rgeos’ had non-zero exit status
>
>> install.packages("gstat", dep=T)
> Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
> (as ‘lib’ is unspecified)
> also installing the dependencies ‘spacetime’, ‘rgdal’, ‘rgeos’
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/spacetime_1.1-1.tar.gz
> Content type 'application/x-gzip' length 2269252 bytes (2.2 Mb)
> opened URL
> ==================================================
> downloaded 2.2 Mb
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
> Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
> opened URL
> ==================================================
> downloaded 1.5 Mb
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/rgeos_0.3-6.tar.gz
> Content type 'application/x-gzip' length 240510 bytes (234 Kb)
> opened URL
> ==================================================
> downloaded 234 Kb
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/gstat_1.0-19.tar.gz
> Content type 'application/x-gzip' length 2045717 bytes (2.0 Mb)
> opened URL
> ==================================================
> downloaded 2.0 Mb
>
> * installing *source* package ‘rgdal’ ...
> ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> configure: CC: gcc -std=gnu99
> configure: CXX: g++
> configure: rgdal: 0.8-15
> checking for /usr/bin/svnversion... no
> configure: svn revision: 498
> configure: gdal-config: gdal-config
> checking gdal-config usability... ./configure: line 2119: gdal-config:
> command not found
> no
> Error: gdal-config not found
> The gdal-config script distributed with GDAL could not be found.
> If you have not installed the GDAL libraries, you can
> download the source from http://www.gdal.org/
> If you have installed the GDAL libraries, then make sure that
> gdal-config is in your path. Try typing gdal-config at a
> shell prompt and see if it runs. If not, use:
> --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
> with appropriate values for your installation.
>
> ERROR: configuration failed for package ‘rgdal’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
> * installing *source* package ‘rgeos’ ...
> ** package ‘rgeos’ successfully unpacked and MD5 sums checked
> configure: CC: gcc -std=gnu99
> configure: CXX: g++
> configure: rgeos: 0.3-4
> checking for /usr/bin/svnversion... no
> configure: svn revision: 450
> checking geos-config usability... ./configure: line 2056: geos-config:
> command not found
> no
> configure: error: geos-config not usable
> ERROR: configuration failed for package ‘rgeos’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgeos’
> ERROR: dependency ‘rgeos’ is not available for package ‘spacetime’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spacetime’
> ERROR: dependency ‘spacetime’ is not available for package ‘gstat’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/gstat’
>
> The downloaded source packages are in
> ‘/tmp/RtmpRYggF0/downloaded_packages’
> Warning messages:
> 1: In install.packages("gstat", dep = T) :
> installation of package ‘rgdal’ had non-zero exit status
> 2: In install.packages("gstat", dep = T) :
> installation of package ‘rgeos’ had non-zero exit status
> 3: In install.packages("gstat", dep = T) :
> installation of package ‘spacetime’ had non-zero exit status
> 4: In install.packages("gstat", dep = T) :
> installation of package ‘gstat’ had non-zero exit status
>> install.packages("spgrass6", dep=T)
> Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
> (as ‘lib’ is unspecified)
> also installing the dependencies ‘XML’, ‘rgdal’
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
> Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
> opened URL
> ==================================================
> downloaded 1.5 Mb
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
> Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
> opened URL
> ==================================================
> downloaded 1.5 Mb
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/spgrass6_0.8-3.tar.gz
> Content type 'application/x-gzip' length 274678 bytes (268 Kb)
> opened URL
> ==================================================
> downloaded 268 Kb
>
> * installing *source* package ‘XML’ ...
> ** package ‘XML’ successfully unpacked and MD5 sums checked
> checking for gcc... gcc
> checking for C compiler default output file name... rm: cannot remove
> 'a.out.dSYM': Is a directory
> a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for sed... /bin/sed
> checking for pkg-config... /usr/bin/pkg-config
> checking for xml2-config... no
> Cannot find xml2-config
> ERROR: configuration failed for package ‘XML’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
> * installing *source* package ‘rgdal’ ...
> ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> configure: CC: gcc -std=gnu99
> configure: CXX: g++
> configure: rgdal: 0.8-15
> checking for /usr/bin/svnversion... no
> configure: svn revision: 498
> configure: gdal-config: gdal-config
> checking gdal-config usability... ./configure: line 2119: gdal-config:
> command not found
> no
> Error: gdal-config not found
> The gdal-config script distributed with GDAL could not be found.
> If you have not installed the GDAL libraries, you can
> download the source from http://www.gdal.org/
> If you have installed the GDAL libraries, then make sure that
> gdal-config is in your path. Try typing gdal-config at a
> shell prompt and see if it runs. If not, use:
> --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
> with appropriate values for your installation.
>
> ERROR: configuration failed for package ‘rgdal’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
> ERROR: dependency ‘XML’ is not available for package ‘spgrass6’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spgrass6’
>
> The downloaded source packages are in
> ‘/tmp/RtmpRYggF0/downloaded_packages’
> Warning messages:
> 1: In install.packages("spgrass6", dep = T) :
> installation of package ‘XML’ had non-zero exit status
> 2: In install.packages("spgrass6", dep = T) :
> installation of package ‘rgdal’ had non-zero exit status
> 3: In install.packages("spgrass6", dep = T) :
> installation of package ‘spgrass6’ had non-zero exit status
>
>> install.packages("spgrass6", dep=T)
> Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
> (as ‘lib’ is unspecified)
> also installing the dependencies ‘XML’, ‘rgdal’
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
> Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
> opened URL
> ==================================================
> downloaded 1.5 Mb
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
> Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
> opened URL
> ==================================================
> downloaded 1.5 Mb
>
> trying URL
> 'http://www.freestatistics.org/cran/src/contrib/spgrass6_0.8-3.tar.gz
> Content type 'application/x-gzip' length 274678 bytes (268 Kb)
> opened URL
> ==================================================
> downloaded 268 Kb
>
> * installing *source* package ‘XML’ ...
> ** package ‘XML’ successfully unpacked and MD5 sums checked
> checking for gcc... gcc
> checking for C compiler default output file name... rm: cannot remove
> 'a.out.dSYM': Is a directory
> a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for sed... /bin/sed
> checking for pkg-config... /usr/bin/pkg-config
> checking for xml2-config... no
> Cannot find xml2-config
> ERROR: configuration failed for package ‘XML’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
> * installing *source* package ‘rgdal’ ...
> ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> configure: CC: gcc -std=gnu99
> configure: CXX: g++
> configure: rgdal: 0.8-15
> checking for /usr/bin/svnversion... no
> configure: svn revision: 498
> configure: gdal-config: gdal-config
> checking gdal-config usability... ./configure: line 2119: gdal-config:
> command not found
> no
> Error: gdal-config not found
> The gdal-config script distributed with GDAL could not be found.
> If you have not installed the GDAL libraries, you can
> download the source from http://www.gdal.org/
> If you have installed the GDAL libraries, then make sure that
> gdal-config is in your path. Try typing gdal-config at a
> shell prompt and see if it runs. If not, use:
> --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
> with appropriate values for your installation.
>
> ERROR: configuration failed for package ‘rgdal’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
> ERROR: dependency ‘XML’ is not available for package ‘spgrass6’
> * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spgrass6’
>
> The downloaded source packages are in
> ‘/tmp/RtmpRYggF0/downloaded_packages’
> Warning messages:
> 1: In install.packages("spgrass6", dep = T) :
> installation of package ‘XML’ had non-zero exit status
> 2: In install.packages("spgrass6", dep = T) :
> installation of package ‘rgdal’ had non-zero exit status
> 3: In install.packages("spgrass6", dep = T) :
> installation of package ‘spgrass6’ had non-zero exit status
>
> On Wed, Aug 27, 2014, at 10:10 PM, Markus Neteler wrote:
>> On Wed, Aug 27, 2014 at 9:08 PM, César Augusto Ramírez Franco
>> <caesarivs@gmail.com> wrote:
>>> I don't know why, but there appears to be a conflict between grass70 and
>>> grass70-core packages.
>>>
>>> I've been using that PPA on 14.04 but the package grass70 is not installed
>>> in my system:
>> ...
>>> And grass is working OK, so I'd say the workaround should be issuing:
>>>
>>> sudo apt-get install grass70-core grass70-gui
>>
>> pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70-core grass70-gui
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies:
>> grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
>> Depends: libgeos-c1 (>= 3.4.2) but it is not going to
>> be installed
>> Depends: libproj0 (>= 4.8.0-1) but it is not going to
>> be installed
>> Recommends: gdal-bin but it is not going to be installed
>> Recommends: proj-bin but it is not going to be installed
>> E: Unable to correct problems, you have held broken packages.
>>
>> ... also failing today (Ubuntu 12.04 here)
>>
>> Markus
>> _______________________________________________
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>

--
http://www.fastmail.fm - The professional email service

Hi Alex

I am still trying to use v.krige, and as a test-run on one data set I've
set g.region res=10 to check I have all the dependencies installed.
v.krige seems to be running but, perhaps foolishly, I was expecting to
see some progress on the 'progress bar' for v.krige in the GUI.

Here is the current command output from v.krige I have:
(Fri Aug 29 12:23:29 2014)
v.krige input=tv1236_out_shft@user1 column=z1
output=tv1236_out_shft_kriging_res10 package=gstat --overwrite
output_var=tv1236_out_shft_kriging.var_res10
Loading dependencies, please wait...
rgeos version: 0.3-6, (SVN revision 450)
GEOS runtime version: 3.4.2-CAPI-1.8.2 r3921
Polygon checking: TRUE
Attaching package: ‘XML’
The following object is masked from ‘package:tools’:
    toHTML
GRASS GIS interface loaded with GRASS version: GRASS 7.0.0svn (2014)
and location: 14009
Checking rgeos availability: TRUE
Loading required package: automap
Processing 744 cells. Computing time raises exponentially
with resolution.
Importing data...
Loading required package: rgdal
rgdal: version: 0.8-16, (SVN revision 498)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.10.1, released 2013/08/26
Path to GDAL shared files: /usr/share/gdal/1.10
Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
Path to PROJ.4 shared files: (autodetected)

Nothing further after 2 hours. This is 4ha of data, points every 10cm
spaced along lines 0.5 apart. But the region set to 10 should mean some
progress with v.krige by now, presumably(?).

Just to confirm I have libgeos-dev, libproj-dev, and build essential
successfully installed, and rpy2. Are there any other dependencies or R
packages I require to get v.krige working?

There are various posts on v.krige, the
grasswiki.osgeo.org/wiki/V.krige_GSoC_2009 refers to installation of
maptools (install.packages ("maptools", dep=T), I presume automap
replaces maptools at this stage? I tried to install maptools in R and
got the following output:

install.packages("maptools", dep=T)

Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning: dependency ‘goftest’ is not available
also installing the dependencies ‘deldir’, ‘abind’, ‘tensor’,
‘polyclip’, ‘spatstat’, ‘PBSmapping’

trying URL 'http://cran.rstudio.com/src/contrib/deldir_0.1-6.tar.gz
Content type 'application/x-gzip' length 57030 bytes (55 Kb)
opened URL

downloaded 55 Kb

trying URL 'http://cran.rstudio.com/src/contrib/abind_1.4-0.tar.gz
Content type 'application/x-gzip' length 19642 bytes (19 Kb)
opened URL

downloaded 19 Kb
                                                                                                                                     
trying URL 'http://cran.rstudio.com/src/contrib/tensor_1.5.tar.gz
Content type 'application/x-gzip' length 2518 bytes
opened URL

downloaded 2518 bytes
                                                                                                                                     
trying URL 'http://cran.rstudio.com/src/contrib/polyclip_1.3-0.tar.gz
Content type 'application/x-gzip' length 73184 bytes (71 Kb)
opened URL

downloaded 71 Kb
                                                                                                                                     
trying URL 'http://cran.rstudio.com/src/contrib/spatstat_1.38-1.tar.gz
Content type 'application/x-gzip' length 5186334 bytes (4.9 Mb)
opened URL

downloaded 4.9 Mb
                                                                                                                                     
trying URL
'http://cran.rstudio.com/src/contrib/PBSmapping_2.67.60.tar.gz
Content type 'application/x-gzip' length 4503312 bytes (4.3 Mb)
opened URL

downloaded 4.3 Mb

trying URL 'http://cran.rstudio.com/src/contrib/maptools_0.8-30.tar.gz
Content type 'application/x-gzip' length 1505747 bytes (1.4 Mb)
opened URL

downloaded 1.4 Mb

* installing *source* package ‘deldir’ ...
** package ‘deldir’ successfully unpacked and MD5 sums checked
** libs
gfortran -fpic -O3 -pipe -g -c acchk.f -o acchk.o
gfortran -fpic -O3 -pipe -g -c addpt.f -o addpt.o
gfortran -fpic -O3 -pipe -g -c adjchk.f -o adjchk.o
gfortran -fpic -O3 -pipe -g -c binsrt.f -o binsrt.o
gfortran -fpic -O3 -pipe -g -c circen.f -o circen.o
gfortran -fpic -O3 -pipe -g -c cross.f -o cross.o
gfortran -fpic -O3 -pipe -g -c delet.f -o delet.o
gfortran -fpic -O3 -pipe -g -c delet1.f -o delet1.o
gfortran -fpic -O3 -pipe -g -c delout.f -o delout.o
gfortran -fpic -O3 -pipe -g -c delseg.f -o delseg.o
gfortran -fpic -O3 -pipe -g -c dirout.f -o dirout.o
gfortran -fpic -O3 -pipe -g -c dirseg.f -o dirseg.o
gfortran -fpic -O3 -pipe -g -c dldins.f -o dldins.o
gfortran -fpic -O3 -pipe -g -c initad.f -o initad.o
gfortran -fpic -O3 -pipe -g -c insrt.f -o insrt.o
gfortran -fpic -O3 -pipe -g -c insrt1.f -o insrt1.o
gfortran -fpic -O3 -pipe -g -c intri.f -o intri.o
gfortran -fpic -O3 -pipe -g -c locn.f -o locn.o
gfortran -fpic -O3 -pipe -g -c master.f -o master.o
gfortran -fpic -O3 -pipe -g -c mnnd.f -o mnnd.o
gfortran -fpic -O3 -pipe -g -c pred.f -o pred.o
gfortran -fpic -O3 -pipe -g -c qtest.f -o qtest.o
gfortran -fpic -O3 -pipe -g -c qtest1.f -o qtest1.o
gfortran -fpic -O3 -pipe -g -c stoke.f -o stoke.o
gfortran -fpic -O3 -pipe -g -c succ.f -o succ.o
gfortran -fpic -O3 -pipe -g -c swap.f -o swap.o
gfortran -fpic -O3 -pipe -g -c testeq.f -o testeq.o
gfortran -fpic -O3 -pipe -g -c triar.f -o triar.o
gfortran -fpic -O3 -pipe -g -c trifnd.f -o trifnd.o
gcc -std=gnu99 -shared -o deldir.so acchk.o addpt.o adjchk.o binsrt.o
circen.o cross.o delet.o delet1.o delout.o delseg.o dirout.o dirseg.o
dldins.o initad.o insrt.o insrt1.o intri.o locn.o master.o mnnd.o pred.o
qtest.o qtest1.o stoke.o succ.o swap.o testeq.o triar.o trifnd.o
-lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
installing to /home/john/R/i686-pc-linux-gnu-library/3.0/deldir/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (deldir)
* installing *source* package ‘abind’ ...
** package ‘abind’ successfully unpacked and MD5 sums checked
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (abind)
* installing *source* package ‘tensor’ ...
** package ‘tensor’ successfully unpacked and MD5 sums checked
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (tensor)
* installing *source* package ‘polyclip’ ...
** package ‘polyclip’ successfully unpacked and MD5 sums checked
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for int64_t... yes
     In src/clipper.h, signed 64-bit integers (cInt)
     will be declared as 'int64_t'
checking for uint64_t... yes
     In src/clipper.h, unsigned 64-bit integers (cUInt)
     will be declared as 'uint64_t'
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -I/usr/share/R/include -DNDEBUG -DPOLYCLIP_LONG64="int64_t"
-DPOLYCLIP_ULONG64="uint64_t" -fpic -O3 -pipe -g -c clipper.cpp
-o clipper.o
g++ -I/usr/share/R/include -DNDEBUG -DPOLYCLIP_LONG64="int64_t"
-DPOLYCLIP_ULONG64="uint64_t" -fpic -O3 -pipe -g -c interface.cpp
-o interface.o
g++ -shared -o polyclip.so clipper.o interface.o -L/usr/lib/R/lib -lR
installing to /home/john/R/i686-pc-linux-gnu-library/3.0/polyclip/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (polyclip)
* installing *source* package ‘PBSmapping’ ...
** package ‘PBSmapping’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c PBSmapping.c -o PBSmapping.o
g++ -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c
clipper.cpp -o clipper.o
g++ -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c
clipperWrapper.cpp -o clipperWrapper.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c convGSHHS.c -o convGSHHS.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c conversions.c -o conversions.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c gshhs.c -o gshhs.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c polygons.c -o polygons.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c thin.c -o thin.o
g++ -shared -o PBSmapping.so PBSmapping.o clipper.o clipperWrapper.o
convGSHHS.o conversions.o gshhs.o polygons.o thin.o -L/usr/lib/R/lib -lR
installing to /home/john/R/i686-pc-linux-gnu-library/3.0/PBSmapping/libs
** R
** data
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
   ‘PBSmappingIntro.Rnw’
** testing if installed package can be loaded
* DONE (PBSmapping)
* installing *source* package ‘maptools’ ...
** package ‘maptools’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c Rcentroid.c -o Rcentroid.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c Rgshhs.c -o Rgshhs.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c Rshapeget.c -o Rshapeget.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c Rshapeinfo.c -o Rshapeinfo.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c Rshapewrite.c -o Rshapewrite.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c Rshapewrite1.c -o Rshapewrite1.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c insiders.c -o insiders.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c pip.c -o pip.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c shpopen.c -o shpopen.o
shpopen.c: In function ‘SHPOpen’:
shpopen.c:507:10: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
     fread( pabyBuf, 100, 1, psSHP->fpSHP );
          ^
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g
-c shptree.c -o shptree.o
shptree.c: In function ‘SHPSearchDiskTree’:
shptree.c:829:10: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
     fread( abyBuf, 16, 1, fp );
          ^
shptree.c: In function ‘SHPSearchDiskTreeNode’:
shptree.c:731:10: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
     fread( &offset, 4, 1, fp );
          ^
shptree.c:734:10: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
     fread( adfNodeBoundsMin, sizeof(double), 2, fp );
          ^
shptree.c:735:10: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
     fread( adfNodeBoundsMax, sizeof(double), 2, fp );
          ^
shptree.c:744:10: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
     fread( &numshapes, 4, 1, fp );
          ^
shptree.c:771:14: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
         fread( *ppanResultBuffer + *pnResultCount,
              ^
shptree.c:786:10: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
     fread( &numsubnodes, 4, 1, fp );
          ^
gcc -std=gnu99 -shared -o maptools.so Rcentroid.o Rgshhs.o Rshapeget.o
Rshapeinfo.o Rshapewrite.o Rshapewrite1.o insiders.o pip.o shpopen.o
shptree.o -L/usr/lib/R/lib -lR
installing to /home/john/R/i686-pc-linux-gnu-library/3.0/maptools/libs
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (maptools)
ERROR: dependency ‘goftest’ is not available for package ‘spatstat’
* removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spatstat’

The downloaded source packages are in
        ‘/tmp/Rtmpj9ZjtH/downloaded_packages’
Warning message:
In install.packages("maptools", dep = T) :
  installation of package ‘spatstat’ had non-zero exit status

Can you offer any further advice on missing dependencies of R packages I
require for v.krige?
Thanks,

John.

, to On Fri, Aug 29, 2014, at 01:03 PM, John Nicholls wrote:

Thanks Alex.

I have done the installation of libgeos-dev, libproj-dev and
build-essential, and there also ssemed to be the essential GDAL missing.
v.krige now loads all the dependencies in Grass7 and I'm just trying to
process some data.

Thanks for all your help

John.

On Thu, Aug 28, 2014, at 05:55 PM, Alex Mandel wrote:
> You need to install libgeos-dev, libproj-dev etc and build-essential.
> Installation of R packages on Linux often requires compiling so you need
> all the source headers and compilers for it to work.
>
> -Alex
>
> On 08/28/2014 02:57 AM, John Nicholls wrote:
> > Hi
> > Thanks for the help to get Grass7 running on my laptop.
> > I followed the workaround "sudo apt-get install grass70-core
> > grass70-gui" and now have grass70 running on Ubuntu 14.04 LTS:
> >
> > I am trying to use the v.krige command in Grass7, and when doing so
> > receive the following:
> >
> > Loading dependencies, please wait...
> > Checking rgeos availability: FALSE
> > Note: when rgeos is not available, polygon geometry
> > computations in maptools depend on gpclib,
> > which has a restricted licence. It is disabled by default;
> > to enable gpclib, type gpclibPermit()
> > ERROR: R package(s) rgeos, gstat, spgrass6 missing. Install it/them and
> > re-run v.krige.
> >
> > I've installed python-rpy2.2.3.9-1 via the Ubuntu package manager, and
> > enabled gpclib.
> >
> > Following the instructions in
> > http://grass.osgeo.org/grass65/manuals/v.krige.py.html I've typed in
> > install.packages("rgeos", dep=T)
> > install.packages("gstat", dep=T)
> > install.packages("spgrass6", dep=T)
> > install.packages("automap", dep=T)
> >
> > Unfortunately I'm getting errors in the installation of "rgeos",
> > "gstat", "spgrass6", and "automap", which are detailed below. Does
> > anyone know where I might be going wrong. The version of R installed on
> > my laptop is R version 3.0.2 (2013-09-25) -- "Frisbee Sailing", and I
> > have a version of RKward also installed.
> >
> > I am neither a Grass nor R expert, needless to say....
> >
> > install.packages("rgeos", dep=T)
> > Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
> > (as ‘lib’ is unspecified)
> > also installing the dependency ‘XML’
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
> > Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
> > opened URL
> > ==================================================
> > downloaded 1.5 Mb
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/rgeos_0.3-6.tar.gz
> > Content type 'application/x-gzip' length 240510 bytes (234 Kb)
> > opened URL
> > ==================================================
> > downloaded 234 Kb
> >
> > * installing *source* package ‘XML’ ...
> > ** package ‘XML’ successfully unpacked and MD5 sums checked
> > checking for gcc... gcc
> > checking for C compiler default output file name... rm: cannot remove
> > 'a.out.dSYM': Is a directory
> > a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... no
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether gcc accepts -g... yes
> > checking for gcc option to accept ISO C89... none needed
> > checking how to run the C preprocessor... gcc -E
> > checking for sed... /bin/sed
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for xml2-config... no
> > Cannot find xml2-config
> > ERROR: configuration failed for package ‘XML’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
> > * installing *source* package ‘rgeos’ ...
> > ** package ‘rgeos’ successfully unpacked and MD5 sums checked
> > configure: CC: gcc -std=gnu99
> > configure: CXX: g++
> > configure: rgeos: 0.3-4
> > checking for /usr/bin/svnversion... no
> > configure: svn revision: 450
> > checking geos-config usability... ./configure: line 2056: geos-config:
> > command not found
> > no
> > configure: error: geos-config not usable
> > ERROR: configuration failed for package ‘rgeos’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgeos’
> >
> > The downloaded source packages are in
> > ‘/tmp/RtmpRYggF0/downloaded_packages’
> > Warning messages:
> > 1: In install.packages("rgeos", dep = T) :
> > installation of package ‘XML’ had non-zero exit status
> > 2: In install.packages("rgeos", dep = T) :
> > installation of package ‘rgeos’ had non-zero exit status
> >
> >> install.packages("gstat", dep=T)
> > Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
> > (as ‘lib’ is unspecified)
> > also installing the dependencies ‘spacetime’, ‘rgdal’, ‘rgeos’
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/spacetime_1.1-1.tar.gz
> > Content type 'application/x-gzip' length 2269252 bytes (2.2 Mb)
> > opened URL
> > ==================================================
> > downloaded 2.2 Mb
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
> > Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
> > opened URL
> > ==================================================
> > downloaded 1.5 Mb
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/rgeos_0.3-6.tar.gz
> > Content type 'application/x-gzip' length 240510 bytes (234 Kb)
> > opened URL
> > ==================================================
> > downloaded 234 Kb
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/gstat_1.0-19.tar.gz
> > Content type 'application/x-gzip' length 2045717 bytes (2.0 Mb)
> > opened URL
> > ==================================================
> > downloaded 2.0 Mb
> >
> > * installing *source* package ‘rgdal’ ...
> > ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> > configure: CC: gcc -std=gnu99
> > configure: CXX: g++
> > configure: rgdal: 0.8-15
> > checking for /usr/bin/svnversion... no
> > configure: svn revision: 498
> > configure: gdal-config: gdal-config
> > checking gdal-config usability... ./configure: line 2119: gdal-config:
> > command not found
> > no
> > Error: gdal-config not found
> > The gdal-config script distributed with GDAL could not be found.
> > If you have not installed the GDAL libraries, you can
> > download the source from http://www.gdal.org/
> > If you have installed the GDAL libraries, then make sure that
> > gdal-config is in your path. Try typing gdal-config at a
> > shell prompt and see if it runs. If not, use:
> > --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
> > with appropriate values for your installation.
> >
> > ERROR: configuration failed for package ‘rgdal’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
> > * installing *source* package ‘rgeos’ ...
> > ** package ‘rgeos’ successfully unpacked and MD5 sums checked
> > configure: CC: gcc -std=gnu99
> > configure: CXX: g++
> > configure: rgeos: 0.3-4
> > checking for /usr/bin/svnversion... no
> > configure: svn revision: 450
> > checking geos-config usability... ./configure: line 2056: geos-config:
> > command not found
> > no
> > configure: error: geos-config not usable
> > ERROR: configuration failed for package ‘rgeos’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgeos’
> > ERROR: dependency ‘rgeos’ is not available for package ‘spacetime’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spacetime’
> > ERROR: dependency ‘spacetime’ is not available for package ‘gstat’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/gstat’
> >
> > The downloaded source packages are in
> > ‘/tmp/RtmpRYggF0/downloaded_packages’
> > Warning messages:
> > 1: In install.packages("gstat", dep = T) :
> > installation of package ‘rgdal’ had non-zero exit status
> > 2: In install.packages("gstat", dep = T) :
> > installation of package ‘rgeos’ had non-zero exit status
> > 3: In install.packages("gstat", dep = T) :
> > installation of package ‘spacetime’ had non-zero exit status
> > 4: In install.packages("gstat", dep = T) :
> > installation of package ‘gstat’ had non-zero exit status
> >> install.packages("spgrass6", dep=T)
> > Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
> > (as ‘lib’ is unspecified)
> > also installing the dependencies ‘XML’, ‘rgdal’
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
> > Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
> > opened URL
> > ==================================================
> > downloaded 1.5 Mb
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
> > Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
> > opened URL
> > ==================================================
> > downloaded 1.5 Mb
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/spgrass6_0.8-3.tar.gz
> > Content type 'application/x-gzip' length 274678 bytes (268 Kb)
> > opened URL
> > ==================================================
> > downloaded 268 Kb
> >
> > * installing *source* package ‘XML’ ...
> > ** package ‘XML’ successfully unpacked and MD5 sums checked
> > checking for gcc... gcc
> > checking for C compiler default output file name... rm: cannot remove
> > 'a.out.dSYM': Is a directory
> > a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... no
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether gcc accepts -g... yes
> > checking for gcc option to accept ISO C89... none needed
> > checking how to run the C preprocessor... gcc -E
> > checking for sed... /bin/sed
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for xml2-config... no
> > Cannot find xml2-config
> > ERROR: configuration failed for package ‘XML’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
> > * installing *source* package ‘rgdal’ ...
> > ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> > configure: CC: gcc -std=gnu99
> > configure: CXX: g++
> > configure: rgdal: 0.8-15
> > checking for /usr/bin/svnversion... no
> > configure: svn revision: 498
> > configure: gdal-config: gdal-config
> > checking gdal-config usability... ./configure: line 2119: gdal-config:
> > command not found
> > no
> > Error: gdal-config not found
> > The gdal-config script distributed with GDAL could not be found.
> > If you have not installed the GDAL libraries, you can
> > download the source from http://www.gdal.org/
> > If you have installed the GDAL libraries, then make sure that
> > gdal-config is in your path. Try typing gdal-config at a
> > shell prompt and see if it runs. If not, use:
> > --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
> > with appropriate values for your installation.
> >
> > ERROR: configuration failed for package ‘rgdal’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
> > ERROR: dependency ‘XML’ is not available for package ‘spgrass6’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spgrass6’
> >
> > The downloaded source packages are in
> > ‘/tmp/RtmpRYggF0/downloaded_packages’
> > Warning messages:
> > 1: In install.packages("spgrass6", dep = T) :
> > installation of package ‘XML’ had non-zero exit status
> > 2: In install.packages("spgrass6", dep = T) :
> > installation of package ‘rgdal’ had non-zero exit status
> > 3: In install.packages("spgrass6", dep = T) :
> > installation of package ‘spgrass6’ had non-zero exit status
> >
> >> install.packages("spgrass6", dep=T)
> > Installing package into ‘/home/john/R/i686-pc-linux-gnu-library/3.0’
> > (as ‘lib’ is unspecified)
> > also installing the dependencies ‘XML’, ‘rgdal’
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/XML_3.98-1.1.tar.gz
> > Content type 'application/x-gzip' length 1582216 bytes (1.5 Mb)
> > opened URL
> > ==================================================
> > downloaded 1.5 Mb
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/rgdal_0.8-16.tar.gz
> > Content type 'application/x-gzip' length 1616275 bytes (1.5 Mb)
> > opened URL
> > ==================================================
> > downloaded 1.5 Mb
> >
> > trying URL
> > 'http://www.freestatistics.org/cran/src/contrib/spgrass6_0.8-3.tar.gz
> > Content type 'application/x-gzip' length 274678 bytes (268 Kb)
> > opened URL
> > ==================================================
> > downloaded 268 Kb
> >
> > * installing *source* package ‘XML’ ...
> > ** package ‘XML’ successfully unpacked and MD5 sums checked
> > checking for gcc... gcc
> > checking for C compiler default output file name... rm: cannot remove
> > 'a.out.dSYM': Is a directory
> > a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... no
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether gcc accepts -g... yes
> > checking for gcc option to accept ISO C89... none needed
> > checking how to run the C preprocessor... gcc -E
> > checking for sed... /bin/sed
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for xml2-config... no
> > Cannot find xml2-config
> > ERROR: configuration failed for package ‘XML’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/XML’
> > * installing *source* package ‘rgdal’ ...
> > ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> > configure: CC: gcc -std=gnu99
> > configure: CXX: g++
> > configure: rgdal: 0.8-15
> > checking for /usr/bin/svnversion... no
> > configure: svn revision: 498
> > configure: gdal-config: gdal-config
> > checking gdal-config usability... ./configure: line 2119: gdal-config:
> > command not found
> > no
> > Error: gdal-config not found
> > The gdal-config script distributed with GDAL could not be found.
> > If you have not installed the GDAL libraries, you can
> > download the source from http://www.gdal.org/
> > If you have installed the GDAL libraries, then make sure that
> > gdal-config is in your path. Try typing gdal-config at a
> > shell prompt and see if it runs. If not, use:
> > --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
> > with appropriate values for your installation.
> >
> > ERROR: configuration failed for package ‘rgdal’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/rgdal’
> > ERROR: dependency ‘XML’ is not available for package ‘spgrass6’
> > * removing ‘/home/john/R/i686-pc-linux-gnu-library/3.0/spgrass6’
> >
> > The downloaded source packages are in
> > ‘/tmp/RtmpRYggF0/downloaded_packages’
> > Warning messages:
> > 1: In install.packages("spgrass6", dep = T) :
> > installation of package ‘XML’ had non-zero exit status
> > 2: In install.packages("spgrass6", dep = T) :
> > installation of package ‘rgdal’ had non-zero exit status
> > 3: In install.packages("spgrass6", dep = T) :
> > installation of package ‘spgrass6’ had non-zero exit status
> >
> > On Wed, Aug 27, 2014, at 10:10 PM, Markus Neteler wrote:
> >> On Wed, Aug 27, 2014 at 9:08 PM, César Augusto Ramírez Franco
> >> <caesarivs@gmail.com> wrote:
> >>> I don't know why, but there appears to be a conflict between grass70 and
> >>> grass70-core packages.
> >>>
> >>> I've been using that PPA on 14.04 but the package grass70 is not installed
> >>> in my system:
> >> ...
> >>> And grass is working OK, so I'd say the workaround should be issuing:
> >>>
> >>> sudo apt-get install grass70-core grass70-gui
> >>
> >> pgis@pgis-ubuntu64-vm:~$ sudo apt-get install grass70-core grass70-gui
> >> Reading package lists... Done
> >> Building dependency tree
> >> Reading state information... Done
> >> Some packages could not be installed. This may mean that you have
> >> requested an impossible situation or if you are using the unstable
> >> distribution that some required packages have not yet been created
> >> or been moved out of Incoming.
> >> The following information may help to resolve the situation:
> >>
> >> The following packages have unmet dependencies:
> >> grass70-core : Depends: libgdal1h (>= 1.8.0) but it is not installable
> >> Depends: libgeos-c1 (>= 3.4.2) but it is not going to
> >> be installed
> >> Depends: libproj0 (>= 4.8.0-1) but it is not going to
> >> be installed
> >> Recommends: gdal-bin but it is not going to be installed
> >> Recommends: proj-bin but it is not going to be installed
> >> E: Unable to correct problems, you have held broken packages.
> >>
> >> ... also failing today (Ubuntu 12.04 here)
> >>
> >> Markus
> >> _______________________________________________
> >> grass-user mailing list
> >> grass-user@lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/grass-user
> >
>

--
http://www.fastmail.fm - The professional email service

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

--
http://www.fastmail.fm - The way an email service should be