<div dir="ltr">Hi Luis,<div><br></div><div>With pgRouting 1.05 there were 3 packages: "regular" pgRouting and one for TSP and one for Driving Distance.</div><div>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.</div>

<div><br></div><div>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.</div><div>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:</div>

<div><br></div><div>sudo apt-get remove <span style="font-family:arial,sans-serif;font-size:12.800000190734863px">postgresql-9.1-pgrouting-dd </span><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">postgresql-9.1-pgrouting-tsp</span></div>

<div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Can you try?</span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br>

</span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Daniel</span></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 10:54 PM, Luís de Sousa <span dir="ltr"><<a href="mailto:luis.a.de.sousa@gmail.com" target="_blank">luis.a.de.sousa@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi again Daniel, thanks for the reply. Unfortunately that package is not<br>
installing (see below).<br>
<br>
How can I provide more feedback on this error? Thanks,<br>
<br>
Luís<br>
<br>
$ sudo apt-get upgrade osm2pgrouting<br>
Reading package lists... Done<br>
Building dependency tree<br>
Reading state information... Done<br>
The following packages have been kept back:<br>
  cgi-mapserver gdal-bin grass-core libgeos-c1 libgeos-dev libmapserver<br>
libqgis1.8.0 linux-generic<br>
  linux-headers-generic linux-image-generic mapserver-bin php5-mapscript<br>
postgis python-gdal python-mapscript<br>
  python-qgis python-qgis-common qgis qgis-common qgis-plugin-grass<br>
qgis-plugin-grass-common qgis-providers<br>
  qgis-providers-common texmaker<br>
The following packages will be upgraded:<br>
  apparmor apparmor-utils cmake cmake-curses-gui cmake-data dh-apparmor<br>
gnome-control-center<br>
  gnome-control-center-data libapparmor-perl libapparmor1<br>
libgnome-control-center1 libpci3 osm2pgrouting pciutils<br>
  postgresql-9.1-pgrouting<br>
15 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.<br>
Need to get 9,879 kB of archives.<br>
After this operation, 1,852 kB of additional disk space will be used.<br>
Do you want to continue [Y/n]? Y<br>
Get:1 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main apparmor<br>
amd64 2.7.102-0ubuntu3.8 [357 kB]<br>
Get:2 <a href="http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
precise/main" target="_blank">http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/<br>
precise/main</a> cmake-curses-gui amd64 2.8.9-0ubuntu1~ubuntu12.04.1~ppa1 [1,375<br>
kB]<br>
Get:3 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main pciutils<br>
amd64 1:3.1.8-2ubuntu6 [259 kB]<br>
Get:4 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main libpci3<br>
amd64 1:3.1.8-2ubuntu6 [25.9 kB]<br>
Get:5 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main libapparmor1<br>
amd64 2.7.102-0ubuntu3.8 [37.7 kB]<br>
Get:6 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main<br>
libapparmor-perl amd64 2.7.102-0ubuntu3.8 [30.1 kB]<br>
Get:7 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main<br>
apparmor-utils amd64 2.7.102-0ubuntu3.8 [112 kB]<br>
Get:8 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main<br>
libgnome-control-center1 amd64 1:3.4.2-0ubuntu0.12 [78.7 kB]<br>
Get:9 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main<br>
gnome-control-center-data all 1:3.4.2-0ubuntu0.12 [1,121 kB]<br>
Get:10 <a href="http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
precise/main" target="_blank">http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/<br>
precise/main</a> cmake amd64 2.8.9-0ubuntu1~ubuntu12.04.1~ppa1 [4,711 kB]<br>
Get:11 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main<br>
gnome-control-center amd64 1:3.4.2-0ubuntu0.12 [661 kB]<br>
Get:12 <a href="http://de.archive.ubuntu.com/ubuntu/" target="_blank">http://de.archive.ubuntu.com/ubuntu/</a> precise-updates/main dh-apparmor<br>
all 2.7.102-0ubuntu3.8 [8,966 B]<br>
Get:13 <a href="http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
precise/main" target="_blank">http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/<br>
precise/main</a> cmake-data all 2.8.9-0ubuntu1~ubuntu12.04.1~ppa1 [806 kB]<br>
Get:14 <a href="http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
precise/main" target="_blank">http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/<br>
precise/main</a> postgresql-9.1-pgrouting amd64 2.0.0-rc1-ppa20~precise1 [244<br>
kB]<br>
Get:15 <a href="http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/
precise/main" target="_blank">http://ppa.launchpad.net/georepublic/pgrouting-unstable/ubuntu/<br>
precise/main</a> osm2pgrouting amd64 2.0.0-beta-ppa4 [52.5 kB]<br>
Fetched 9,879 kB in 1s (5,245 kB/s)<br>
Preconfiguring packages ...<br>
(Reading database ... 486462 files and directories currently installed.)<br>
Preparing to replace apparmor 2.7.102-0ubuntu3.7 (using<br>
.../apparmor_2.7.102-0ubuntu3.8_amd64.deb) ...<br>
Unpacking replacement apparmor ...<br>
Preparing to replace pciutils 1:3.1.8-2ubuntu5 (using<br>
.../pciutils_1%3a3.1.8-2ubuntu6_amd64.deb) ...<br>
Unpacking replacement pciutils ...<br>
Preparing to replace libpci3 1:3.1.8-2ubuntu5 (using<br>
.../libpci3_1%3a3.1.8-2ubuntu6_amd64.deb) ...<br>
Unpacking replacement libpci3 ...<br>
Preparing to replace libapparmor1 2.7.102-0ubuntu3.7 (using<br>
.../libapparmor1_2.7.102-0ubuntu3.8_amd64.deb) ...<br>
Unpacking replacement libapparmor1 ...<br>
Preparing to replace libapparmor-perl 2.7.102-0ubuntu3.7 (using<br>
.../libapparmor-perl_2.7.102-0ubuntu3.8_amd64.deb) ...<br>
Unpacking replacement libapparmor-perl ...<br>
Preparing to replace apparmor-utils 2.7.102-0ubuntu3.7 (using<br>
.../apparmor-utils_2.7.102-0ubuntu3.8_amd64.deb) ...<br>
Unpacking replacement apparmor-utils ...<br>
Preparing to replace cmake-curses-gui 2.8.7-0ubuntu5 (using<br>
.../cmake-curses-gui_2.8.9-0ubuntu1~ubuntu12.04.1~ppa1_amd64.deb) ...<br>
Unpacking replacement cmake-curses-gui ...<br>
Preparing to replace cmake 2.8.7-0ubuntu5 (using<br>
.../cmake_2.8.9-0ubuntu1~ubuntu12.04.1~ppa1_amd64.deb) ...<br>
Unpacking replacement cmake ...<br>
Preparing to replace cmake-data 2.8.7-0ubuntu5 (using<br>
.../cmake-data_2.8.9-0ubuntu1~ubuntu12.04.1~ppa1_all.deb) ...<br>
Unpacking replacement cmake-data ...<br>
Preparing to replace libgnome-control-center1 1:3.4.2-0ubuntu0.11 (using<br>
.../libgnome-control-center1_1%3a3.4.2-0ubuntu0.12_amd64.deb) ...<br>
Unpacking replacement libgnome-control-center1 ...<br>
Preparing to replace gnome-control-center-data 1:3.4.2-0ubuntu0.11 (using<br>
.../gnome-control-center-data_1%3a3.4.2-0ubuntu0.12_all.deb) ...<br>
Unpacking replacement gnome-control-center-data ...<br>
Preparing to replace gnome-control-center 1:3.4.2-0ubuntu0.11 (using<br>
.../gnome-control-center_1%3a3.4.2-0ubuntu0.12_amd64.deb) ...<br>
Unpacking replacement gnome-control-center ...<br>
Preparing to replace postgresql-9.1-pgrouting 1.05-1~precise2 (using<br>
.../postgresql-9.1-pgrouting_2.0.0-rc1-ppa20~precise1_amd64.deb) ...<br>
Unpacking replacement postgresql-9.1-pgrouting ...<br>
dpkg: error processing<br>
/var/cache/apt/archives/postgresql-9.1-pgrouting_2.0.0-rc1-ppa20~precise1_amd64.deb<br>
(--unpack):<br>
 trying to overwrite '/usr/lib/postgresql/9.1/lib/librouting_dd.so', which<br>
is also in package postgresql-9.1-pgrouting-dd 1.05-1~precise2<br>
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)<br>
Preparing to replace dh-apparmor 2.7.102-0ubuntu3.7 (using<br>
.../dh-apparmor_2.7.102-0ubuntu3.8_all.deb) ...<br>
Unpacking replacement dh-apparmor ...<br>
Preparing to replace osm2pgrouting 0.1-6 (using<br>
.../osm2pgrouting_2.0.0-beta-ppa4_amd64.deb) ...<br>
Unpacking replacement osm2pgrouting ...<br>
Processing triggers for man-db ...<br>
Processing triggers for ureadahead ...<br>
ureadahead will be reprofiled on next reboot<br>
Processing triggers for hicolor-icon-theme ...<br>
Processing triggers for bamfdaemon ...<br>
Rebuilding /usr/share/applications/bamf.index...<br>
Processing triggers for desktop-file-utils ...<br>
Processing triggers for gnome-menus ...<br>
Errors were encountered while processing:<br>
<br>
/var/cache/apt/archives/postgresql-9.1-pgrouting_2.0.0-rc1-ppa20~precise1_amd64.deb<br>
E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://pgrouting-users.974093.n3.nabble.com/pgrouting-users-OSM2pgRouting-failling-silently-tp4025288p4025293.html" target="_blank">http://pgrouting-users.974093.n3.nabble.com/pgrouting-users-OSM2pgRouting-failling-silently-tp4025288p4025293.html</a><br>


<div class="HOEnZb"><div class="h5">Sent from the pgRouting-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>

eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>Web: <a href="http://georepublic.de/" style="color:rgb(66,99,171)" target="_blank">http://georepublic.de</a></span>
</div>