=== THIS IS A WORK IN PROGRESS!! DO NOT FOLLOW THIS YET === === Steps for creating a "proper" Postgis 2.0 package on Debian Squeeze === I prefer to build in a chroot. Install debootstrap if you don't already have it. Change amd64 to i386 or whatever is necessary to suit your environment. {{{ mkdir chroot sudo debootstrap --arch=amd64 squeeze chroot http://ftp.debian.org/debian/ sudo mount --bind /proc chroot/proc sudo mount --bind /sys chroot/sys sudo mount --bind /dev chroot/dev sudo mount --bind /dev/pts chroot/dev/pts sudo chroot chroot /bin/bash }}} Add the backports repo for postgresql 9.1 (Optional). I for one want to use modern software, so I chose to go with Postgresql 9.1 instead of 8.4 which is what squeeze defaults to. {{{ cat >> /etc/apt/sources.list.d/backports.list <> /etc/apt/preferences.d/postgresql.pref <