Howto

These packages are for Debian stable (etch at the time of writing).

To add in your /etc/apt/sources.list:

deb http://dev.camptocamp.com/packages/debian/@VERSION@/ etch main
deb-src http://dev.camptocamp.com/packages/debian/@VERSION@/ etch main

Replace @VERSION@ with the version of the packages you want to use. See http://dev.camptocamp.com/packages/debian/ for a list.

You will need to import the Camptocamp PGP key for the packages to be authenticated:

gpg --keyserver subkeys.pgp.net --recv-keys A37E4CF5
gpg --export -a A37E4CF5|apt-key add -

You can check that the key fingerprint is E57A E302 386A 4E92 8842 4D41 B6A4 0450 A37E 4CF5

/etc/apt/preferences

Package: *
Pin: release o=c2c
Pin-Priority: 1100

/etc/apt/apt.conf

-> Do not set APT::Default-Release "stable"; or it will override the c2c Pin

To have your changes taken into account, type in a command line prompt:

apt-get update

Update notes

20070910

Mapserver 4.10.3 (backported from unstable)

20070605 DEPRECATED, DO NOT USE

New packages with mapserver 4.10.1 (backported from unstable)

20070525 (using 20070419 repository) DEPRECATED, DO NOT USE

Removed PHP from our repository, use the upstream version which contains security fixes. Don't forget to add the security repository to your sources.list and upgrade:

deb http://security.debian.org/ etch/updates main contrib non-free

If you encounter the error while installing a PHP packages:

  php5-curl: Depends: php5-common (= 5.2.0-8+etch1) but 5.2.0-8+etch1c2c1 is to be installed

You will need to remove and reinstall the php5-common packages, and all of its dependecies.

apt-get remove --purge php5-common
# Write down the packages that will be remvoed
apt-get install php5-common ... # add there the previously removed packages.

20070419 DEPRECATED, DO NOT USE

New packages for Debian etch

Packages version:

20061108 DEPRECATED, DO NOT USE

New dependency on Debian testing packages. This simplifies the dependencies management for backports. This won't be needed any more once the new Debian release is out.

IMPORTANT:

Packages version:

20060714 DEPRECATED, DO NOT USE

Package php5-mapscript may add extension=php_mapscript.so to your /etc/php5/apache{1,2}/php.ini file.

You need to remove it after or you'll get the CartoWeb message: "WARNING: You are not using PHP as a cgi and PHP Mapscript extension is loaded in your php.ini. This will cause stability problems. You need to remove the php_mapscript extension loading of your php.ini file."

This step is done automatically for all php packages, and handling an exception for php5-mapscript is not trivial. Moreover, this won't be needed once the famous Mapserver bug 1322 (http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1322) is fixed.

What you need to install

PHP Mapscript and Apache stuff

apt-get install libapache2-mod-php5 php5-mapscript libecw

Postgresql and extensions

apt-get install postgresql-8.1-postgis postgresql-8.1 postgresql-common pgdijkstra 

Utils

apt-get install gdal-bin mapserver-bin cgi-mapserver

Wiki_cwiki: DebianPackages (last edited 2009-01-27 08:34:03 by FredericJunod)