[Ubuntu] How to install the correct proj version?

Luís de Sousa luis.a.de.sousa at gmail.com
Sat Nov 17 00:07:20 PST 2012


Dear all,

A few days ago all the software dependent on proj stopped working on
my Ubuntu 12.04 64bit system. I contacted Alan Boudreault who
identified this as an issue with proj, I have version 4.7 installed
but should have 4.8 (I'm using the ubuntugis-unstable repo). I've
tried to uninstall and reinstall proj several times but I always get
version 4.7; there's a log bellow exemplifying.

Any insights on this issue are welcome. Thank you,

Luís

$ proj
Rel. 4.7.1, 23 September 2009
usage: proj [ -beEfiIlormsStTvVwW [args] ] [ +opts[=arg] ] [ files ]

$ sudo apt-get remove libproj0 proj-bin proj-data projectm-data python-pyproj
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libdap11 libepsilon0 libhdf5-serial-1.8.4 libhdf4-0-alt
libdapclient3 libnetcdf6
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libproj0 proj-bin proj-data projectm-data python-pyproj
0 upgraded, 0 newly installed, 5 to remove and 34 not upgraded.
After this operation, 7,891 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 463054 files and directories currently installed.)
Removing proj-bin ...
Removing libproj0 ...
Removing python-pyproj ...
Removing proj-data ...
Removing projectm-data ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for doc-base ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...

$ proj
bash: /usr/bin/proj: No such file or directory

$ sudo apt-get install libproj0 proj-bin proj-data projectm-data python-pyproj
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libdap11 libepsilon0 libhdf5-serial-1.8.4 libhdf4-0-alt
libdapclient3 libnetcdf6
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  libproj0 proj-bin proj-data projectm-data python-pyproj
0 upgraded, 5 newly installed, 0 to remove and 34 not upgraded.
Need to get 0 B/3,773 kB of archives.
After this operation, 7,891 kB of additional disk space will be used.
Selecting previously unselected package projectm-data.
(Reading database ... 462689 files and directories currently installed.)
Unpacking projectm-data (from .../projectm-data_2.0.1+dfsg-12_all.deb) ...
Selecting previously unselected package proj-data.
Unpacking proj-data (from .../proj-data_4.8.0-2~precise1_amd64.deb) ...
Selecting previously unselected package python-pyproj.
Unpacking python-pyproj (from .../python-pyproj_1.8.9-1build1_amd64.deb) ...
Selecting previously unselected package libproj0.
Unpacking libproj0 (from .../libproj0_4.8.0-2~precise1_amd64.deb) ...
Selecting previously unselected package proj-bin.
Unpacking proj-bin (from .../proj-bin_4.8.0-2~precise1_amd64.deb) ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Setting up projectm-data (2.0.1+dfsg-12) ...
Setting up proj-data (4.8.0-2~precise1) ...
Setting up python-pyproj (1.8.9-1build1) ...
Setting up libproj0 (4.8.0-2~precise1) ...
Setting up proj-bin (4.8.0-2~precise1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

$ proj
Rel. 4.7.1, 23 September 2009
usage: proj [ -beEfiIlormsStTvVwW [args] ] [ +opts[=arg] ] [ files ]


More information about the Ubuntu mailing list