[pgrouting-users] OSM2pgRouting failling silently

Luís de Sousa luis.a.de.sousa at gmail.com
Mon Sep 2 08:24:07 PDT 2013


Hi again Daniel,

I think this only replaced one problem for another. I tried to recreate a
routing database to import again the data but the /usr/share/postlbs folder
no longer exists. Thinking that it might be missing due to packages lacking
I tried to reinstalled them, but I get errors with both (see below). So now
I have osm2pgrouting working but no pgrounting...

Luís



$ sudo apt-get install postgresql-9.1-pgrouting-tsp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  postgresql-9.1-pgrouting-tsp
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/12.0 kB of archives.
After this operation, 76.8 kB of additional disk space will be used.
(Reading database ... 486495 files and directories currently installed.)
Unpacking postgresql-9.1-pgrouting-tsp (from
.../postgresql-9.1-pgrouting-tsp_1.05-1~precise2_amd64.deb) ...
dpkg: error processing
/var/cache/apt/archives/postgresql-9.1-pgrouting-tsp_1.05-1~precise2_amd64.deb
(--unpack):
 trying to overwrite '/usr/lib/postgresql/9.1/lib/librouting_tsp.so', which
is also in package postgresql-9.1-pgrouting 2.0.0-rc1-ppa20~precise1
Errors were encountered while processing:

/var/cache/apt/archives/postgresql-9.1-pgrouting-tsp_1.05-1~precise2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo apt-get install postgresql-9.1-pgrouting-dd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed
  postgresql-9.1-pgrouting-dd
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/69.6 kB of archives.
After this operation, 253 kB of additional disk space will be used.
(Reading database ... 486495 files and directories currently installed.)
Unpacking postgresql-9.1-pgrouting-dd (from
.../postgresql-9.1-pgrouting-dd_1.05-1~precise2_amd64.deb) ...
dpkg: error processing
/var/cache/apt/archives/postgresql-9.1-pgrouting-dd_1.05-1~precise2_amd64.deb
(--unpack):
 trying to overwrite '/usr/lib/postgresql/9.1/lib/librouting_dd.so', which
is also in package postgresql-9.1-pgrouting 2.0.0-rc1-ppa20~precise1
Errors were encountered while processing:

/var/cache/apt/archives/postgresql-9.1-pgrouting-dd_1.05-1~precise2_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-tp4025288p4025299.html
Sent from the pgRouting-users mailing list archive at Nabble.com.


More information about the Pgrouting-users mailing list