[pgrouting-users] OSM2pgRouting failling silently
Daniel Kastl
daniel at georepublic.de
Fri Aug 30 08:38:42 PDT 2013
Hi Luis,
With pgRouting 1.05 there were 3 packages: "regular" pgRouting and one for
TSP and one for Driving Distance.
When you add the new Launchpad repository it tries to also upgrade
pgRouting from old to new version. But the new version is not only one
package and it contains the library files of DD and TSP, which don't get
removed.
I haven't considered this use case when creating the packages and had to
check how it is possible to remove these 2 packages as well with an upgrade.
Right now I have not enough time to look at this issue. I think a
workaround would be to just uninstall these packages manually before with:
sudo apt-get remove postgresql-9.1-pgrouting-dd postgresql-9.1-pgrouting-tsp
Can you try?
Daniel
On Fri, Aug 30, 2013 at 10:54 PM, Luís de Sousa
<luis.a.de.sousa at gmail.com>wrote:
> Hi again Daniel, thanks for the reply. Unfortunately that package is not
> installing (see below).
>
> How can I provide more feedback on this error? Thanks,
>
> Luís
>
> $ sudo apt-get upgrade osm2pgrouting
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages have been kept back:
> cgi-mapserver gdal-bin grass-core libgeos-c1 libgeos-dev libmapserver
> libqgis1.8.0 linux-generic
> linux-headers-generic linux-image-generic mapserver-bin php5-mapscript
> postgis python-gdal python-mapscript
> python-qgis python-qgis-common qgis qgis-common qgis-plugin-grass
> qgis-plugin-grass-common qgis-providers
> qgis-providers-common texmaker
> The following packages will be upgraded:
> apparmor apparmor-utils cmake cmake-curses-gui cmake-data dh-apparmor
> gnome-control-center
> gnome-control-center-data libapparmor-perl libapparmor1
> libgnome-control-center1 libpci3 osm2pgrouting pciutils
> postgresql-9.1-pgrouting
> 15 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
> Need to get 9,879 kB of archives.
> After this operation, 1,852 kB of additional disk space will be used.
> Do you want to continue [Y/n]? Y
> Get:1 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main apparmor
> amd64 2.7.102-0ubuntu3.8 [357 kB]
> Get:2 http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
> precise/main cmake-curses-gui amd64 2.8.9-0ubuntu1~ubuntu12.04.1~ppa1
> [1,375
> kB]
> Get:3 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main pciutils
> amd64 1:3.1.8-2ubuntu6 [259 kB]
> Get:4 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main libpci3
> amd64 1:3.1.8-2ubuntu6 [25.9 kB]
> Get:5 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main
> libapparmor1
> amd64 2.7.102-0ubuntu3.8 [37.7 kB]
> Get:6 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main
> libapparmor-perl amd64 2.7.102-0ubuntu3.8 [30.1 kB]
> Get:7 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main
> apparmor-utils amd64 2.7.102-0ubuntu3.8 [112 kB]
> Get:8 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main
> libgnome-control-center1 amd64 1:3.4.2-0ubuntu0.12 [78.7 kB]
> Get:9 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main
> gnome-control-center-data all 1:3.4.2-0ubuntu0.12 [1,121 kB]
> Get:10 http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
> precise/main cmake amd64 2.8.9-0ubuntu1~ubuntu12.04.1~ppa1 [4,711 kB]
> Get:11 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main
> gnome-control-center amd64 1:3.4.2-0ubuntu0.12 [661 kB]
> Get:12 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main
> dh-apparmor
> all 2.7.102-0ubuntu3.8 [8,966 B]
> Get:13 http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
> precise/main cmake-data all 2.8.9-0ubuntu1~ubuntu12.04.1~ppa1 [806 kB]
> Get:14 http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
> precise/main postgresql-9.1-pgrouting amd64 2.0.0-rc1-ppa20~precise1 [244
> kB]
> Get:15 http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
> precise/main osm2pgrouting amd64 2.0.0-beta-ppa4 [52.5 kB]
> Fetched 9,879 kB in 1s (5,245 kB/s)
> Preconfiguring packages ...
> (Reading database ... 486462 files and directories currently installed.)
> Preparing to replace apparmor 2.7.102-0ubuntu3.7 (using
> .../apparmor_2.7.102-0ubuntu3.8_amd64.deb) ...
> Unpacking replacement apparmor ...
> Preparing to replace pciutils 1:3.1.8-2ubuntu5 (using
> .../pciutils_1%3a3.1.8-2ubuntu6_amd64.deb) ...
> Unpacking replacement pciutils ...
> Preparing to replace libpci3 1:3.1.8-2ubuntu5 (using
> .../libpci3_1%3a3.1.8-2ubuntu6_amd64.deb) ...
> Unpacking replacement libpci3 ...
> Preparing to replace libapparmor1 2.7.102-0ubuntu3.7 (using
> .../libapparmor1_2.7.102-0ubuntu3.8_amd64.deb) ...
> Unpacking replacement libapparmor1 ...
> Preparing to replace libapparmor-perl 2.7.102-0ubuntu3.7 (using
> .../libapparmor-perl_2.7.102-0ubuntu3.8_amd64.deb) ...
> Unpacking replacement libapparmor-perl ...
> Preparing to replace apparmor-utils 2.7.102-0ubuntu3.7 (using
> .../apparmor-utils_2.7.102-0ubuntu3.8_amd64.deb) ...
> Unpacking replacement apparmor-utils ...
> Preparing to replace cmake-curses-gui 2.8.7-0ubuntu5 (using
> .../cmake-curses-gui_2.8.9-0ubuntu1~ubuntu12.04.1~ppa1_amd64.deb) ...
> Unpacking replacement cmake-curses-gui ...
> Preparing to replace cmake 2.8.7-0ubuntu5 (using
> .../cmake_2.8.9-0ubuntu1~ubuntu12.04.1~ppa1_amd64.deb) ...
> Unpacking replacement cmake ...
> Preparing to replace cmake-data 2.8.7-0ubuntu5 (using
> .../cmake-data_2.8.9-0ubuntu1~ubuntu12.04.1~ppa1_all.deb) ...
> Unpacking replacement cmake-data ...
> Preparing to replace libgnome-control-center1 1:3.4.2-0ubuntu0.11 (using
> .../libgnome-control-center1_1%3a3.4.2-0ubuntu0.12_amd64.deb) ...
> Unpacking replacement libgnome-control-center1 ...
> Preparing to replace gnome-control-center-data 1:3.4.2-0ubuntu0.11 (using
> .../gnome-control-center-data_1%3a3.4.2-0ubuntu0.12_all.deb) ...
> Unpacking replacement gnome-control-center-data ...
> Preparing to replace gnome-control-center 1:3.4.2-0ubuntu0.11 (using
> .../gnome-control-center_1%3a3.4.2-0ubuntu0.12_amd64.deb) ...
> Unpacking replacement gnome-control-center ...
> Preparing to replace postgresql-9.1-pgrouting 1.05-1~precise2 (using
> .../postgresql-9.1-pgrouting_2.0.0-rc1-ppa20~precise1_amd64.deb) ...
> Unpacking replacement postgresql-9.1-pgrouting ...
> dpkg: error processing
>
> /var/cache/apt/archives/postgresql-9.1-pgrouting_2.0.0-rc1-ppa20~precise1_amd64.deb
> (--unpack):
> trying to overwrite '/usr/lib/postgresql/9.1/lib/librouting_dd.so', which
> is also in package postgresql-9.1-pgrouting-dd 1.05-1~precise2
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Preparing to replace dh-apparmor 2.7.102-0ubuntu3.7 (using
> .../dh-apparmor_2.7.102-0ubuntu3.8_all.deb) ...
> Unpacking replacement dh-apparmor ...
> Preparing to replace osm2pgrouting 0.1-6 (using
> .../osm2pgrouting_2.0.0-beta-ppa4_amd64.deb) ...
> Unpacking replacement osm2pgrouting ...
> Processing triggers for man-db ...
> Processing triggers for ureadahead ...
> ureadahead will be reprofiled on next reboot
> 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 ...
> Errors were encountered while processing:
>
>
> /var/cache/apt/archives/postgresql-9.1-pgrouting_2.0.0-rc1-ppa20~precise1_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
>
> --
> View this message in context:
> http://pgrouting-users.974093.n3.nabble.com/pgrouting-users-OSM2pgRouting-failling-silently-tp4025288p4025293.html
> Sent from the pgRouting-users mailing list archive at Nabble.com.
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20130831/4fdb17c0/attachment-0001.html>
More information about the Pgrouting-users
mailing list