Обсуждение: grass-qgis-postgis next to each other on ubuntu 14.04
Dear all, I am not sure whether this is the right channel to ask for, but I can not install grass7, qgis and postgis-2.2 next to each other on my Kubuntu 14.04 machine. I posted this question already to the grass mailing list, but I think it links this list as well. I use ubuntu-gis unstable and this (deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main) repo. I can either install postgis or grass and qgis, so I think the issues must be somehow between conflicting files between both repositories. 12:48 $ sudo apt-get install grass-core 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. grass-core : Depends: libgdal20 (>= 2.0.1) but it is not going to be installed Depends: libgeos-c1v5 (>= 3.4.2) but it is not going to be installed Depends: liblas-c3 (>= 1.8.0) but it is not going to be installed Recommends: gdal-bin but it is not going to be installed E: Unable to correct problems, you have held broken packages. When I go an start to install the dependencies, my machine either complains about other missing dependencies or for the case of 'libgeos_clv5' wants to remove postgis. 14:14 $ sudo apt-get install libgeos-c1v5 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libgeos-3.5.0 libspatialite5 The following packages will be REMOVED libgdal1h libgeos-c1 liblwgeom-2.2-5 postgis postgis-gui postgresql-9.5-postgis-2.2 The following NEW packages will be installed libgeos-3.5.0 libgeos-c1v5 The following packages will be upgraded: libspatialite5 1 to upgrade, 2 to newly install, 6 to remove and 0 not to upgrade. Need to get 1,376 kB of archives. Any help is appreciated. Cheers, Stefan -- Stefan Lüdtke Section 5.4- Hydrology Phone: +49(0)331-288-2821 Fax: +49(0)331-288-1570 Email: sluedtke@gfz-potsdam.de ___________________________________________ Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences Foundation under public law of the federal state of Brandenburg Telegrafenberg, D-14473 Potsdam
Hello Stefan, On 07/20/2016 07:04 PM, Stefan Lüdtke wrote: > I use ubuntu-gis unstable and this (deb > http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main) repo. > > I can either install postgis or grass and qgis, so I think the issues > must be somehow between conflicting files between both repositories. Yeah, I fear these two add-on-repositories are not fully compatible. I'd suspect different versions for libgdal and/or libgeos (you might want to check with apt-cache policy). I don't think either repo wants to pull in all (or even just parts) of the other, so you're currently stuck with choosing either of the two. Kind Regards Markus Wanner
Hi Markus, thanks for answer. I expected something like this, however, I am wondering about: 1.) It worked until I did an update this week. My colleague uses the same repos and has all three running next to each other. 2.) I am just using postgis and postgresql but nave no glue about the internals. The ubuntugis repo ships postgis-2.2 but only for postgresql-9.3. We just did the upgrade to 9.5 and I do not want to go back of course. So maybe I will upgrade to Ubuntu 16.04 (what I have to do anyway) and see what happening. Cheers, Stefan On 21/07/16 11:55, Markus Wanner wrote: > Hello Stefan, > > On 07/20/2016 07:04 PM, Stefan Lüdtke wrote: >> I use ubuntu-gis unstable and this (deb >> http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main) repo. >> >> I can either install postgis or grass and qgis, so I think the issues >> must be somehow between conflicting files between both repositories. > > Yeah, I fear these two add-on-repositories are not fully compatible. I'd > suspect different versions for libgdal and/or libgeos (you might want to > check with apt-cache policy). > > I don't think either repo wants to pull in all (or even just parts) of > the other, so you're currently stuck with choosing either of the two. > > Kind Regards > > Markus Wanner > -- Stefan Lüdtke Section 5.4- Hydrology Phone: +49(0)331-288-2821 Fax: +49(0)331-288-1570 Email: sluedtke@gfz-potsdam.de ___________________________________________ Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences Foundation under public law of the federal state of Brandenburg Telegrafenberg, D-14473 Potsdam
Вложения
On 07/21/2016 02:09 PM, Stefan Lüdtke wrote: > 1.) It worked ..a lucky coincidence, I'd say. > until I did an update this week. > > My colleague uses the > same repos and has all three running next to each other. Maybe tell your colleague to hold back his update until you've resolved the issue, then? > 2.) I am just using postgis and postgresql but nave no glue about the > internals. The ubuntugis repo ships postgis-2.2 but only for > postgresql-9.3. We just did the upgrade to 9.5 and I do not want to go > back of course. Understandable, but not supported by the two add-on repos, sorry. > So maybe I will upgrade to Ubuntu 16.04 (what I have to do anyway) and > see what happening. That ships with postgresql-9.5, so you might be able to get rid of pgapt and just use the ubuntugis repo, yes. Kind Regards Markus Wanner