Official CPS Debian packages

We provide apt repositories for the GNU/Linux Debian distribution and some of its derivatives (currently Ubuntu only). The instructions for APT setup are at the end of the page, but please, please, read the warning. See also  http://cps-cms/sections/download


The goals can be stated this way : easily install CPS and its dependencies, either for production servers, development setups, testing instances. In that respect, we have three main axes:

  • CPS dependencies : apt-cache search zope-cps | grep dependencies
  • CPS for quick instance setup: opt-zope-cps-3.5
  • Development setup: opt-zope-cps-3.5-devsetup

Critical warning

  • the opt-zope-cps-3.5 package is meant to quickly set up a testing instance on fresh servers. We personally install it mostly on short-lived virtual machines, preferring opt-zope-cps-3.5-devsetup for custom projects managed with hgbundler.
  • DO NOT use that testing instance for production servers, or even servers that will be accessible from the internet. Notably, most passwords are obvious, and it's subject to automated upgrades that are too dangerous for real life instances. It's quite possible to install the package, shut down the instance and use the mkcpsinstance script to make a generic CPS instance for production, though.
  • these packages in general are in no way meant to become part of the standard debian distribution. This is true in terms of size, naming convention standards, location of the installed files, general python practice, not even to speak of the great uncertainty about Debian and Zope2.
  • in some cases, you might get version conflicts with parts of the standard distribution.
  • We won't accept any liability, nor do we warranty that you may use them to any profit.

Repository setup

Include the following two lines in /etc/apt/sources.list, or better in a file named cps-cms.list in /etc/apt/sources.list.d:

deb squeeze main contrib non-free
deb squeeze main contrib non-free

Use the same exact setup for all Ubuntu versions starting from Lucid 10.04 LTS inclusive. If you are running Debian 5.0 "Lenny", replace "squeeze" by "lenny" in the above.

We still have some packages for older Debian or Ubuntu versions, which are not actively maintained.

Install the CPS Packagers GPG key in your apt setup, from the public key servers.

sudo apt-key adv --keyserver hkp:// --recv-keys 07556D74


Now just do

sudo aptitude update
aptitude search opt-zope-cps

NB: we may not have packages for all <distribution>|<component> pairs. For instance, there used to be nothing in squeeze|main, which caused aptitude to issue warnings. In that example, one could simply remove main from the sources.list file to get rid of the warnings. People who did that will probably have to add it again.