Tryton Debian Apt Repository

Why debian.tryton.org?

Due to the different release schemata and policies of Tryton and Debian it is currently impossible to make all Tryton releases available for the different Debian suites in the main repository of Debian.

Out intention is to make available Tryton releases including their bug fix releases via this aptable package mirror on debian.tryton.org.

Using this mirror

  • you can run the Tryton release of your choice on your current stable or testing Debian system (oldstable supported as long as possible).
  • you are able to upgrade to the next Tryton series as soon as you wish to do so.
  • you are independent from the next Tryton major entering in Debian main.
  • you get all bug fix releases for all supported Tryton series.

Scope

The scope provided by Debian Tryton Maintainers is

How To

To use this package mirror with the apt package mangement of your Debian system you must make available the according sources.list to your system. Please read below for further instructions on how to do that.

To tell your system to take Tryton related packages preferrably from this mirror you should pin them. You will also find instructions below on how to do that.

For the installation of GNU Health you find additional instructions at GNU Health Debian Apt Repository.

For the server configuration please refer to /usr/share/doc/tryton-server/README.Debian on your Debian system or look at the latest version of README.Debian in the VCS.

Distributions

Naming convention for distributions is <Debian-Release>-<Tryton-Version>

e.g. wheezy-2.2, jessie-3.4, stretch-3.6

Packages suitable for testing and unstable are available under the distribution <Debian-Future-Release>-<Tryton-Version>

e.g. at the time of writing stretch-4.4

The available distributions can be found at Debian Tryton Distributions.

Sources

Adding the signature key of the mirror to apt

# cd /etc/apt && wget http://debian.tryton.org/debian/debian.tryton.org-archive.asc && apt-key add debian.tryton.org-archive.asc

Adding the sources to apt basically works like

# echo "deb http://debian.tryton.org/debian/ <distribution> main" >> /etc/apt/sources.list

Ready-to-use

The following list are ready-to-use source list files. They can be downloaded and saved directly to /etc/apt/sources.list.d with

Distribution wheezy-2.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-2.2.list

Distribution wheezy-2.6

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-2.6.list

Distribution wheezy-2.8

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-2.8.list

Distribution wheezy-3.0

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-3.0.list

Distribution wheezy-3.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-3.2.list

Distribution wheezy-3.4

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-3.4.list

Distribution wheezy-3.6

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-3.6.list

Distribution wheezy-3.8

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-3.8.list

Distribution wheezy-4.0

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-4.0.list

Distribution wheezy-4.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-wheezy-4.2.list

Distribution jessie-2.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-2.2.list

Distribution jessie-2.6

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-2.6.list

Distribution jessie-2.8

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-2.8.list

Distribution jessie-3.0

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-3.0.list

Distribution jessie-3.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-3.2.list

Distribution jessie-3.4

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-3.4.list

Distribution jessie-3.6

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-3.6.list

Distribution jessie-3.8

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-3.8.list

Distribution jessie-4.0

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-4.0.list

Distribution jessie-4.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-4.2.list

Distribution jessie-4.4

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-jessie-4.4.list

Distribution stretch-2.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-2.2.list

Distribution stretch-2.6

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-2.6.list

Distribution stretch-2.8

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-2.8.list

Distribution stretch-3.0

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-3.0.list

Distribution stretch-3.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-3.2.list

Distribution stretch-3.4

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-3.4.list

Distribution stretch-3.6

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-3.6.list

Distribution stretch-3.8

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-3.8.list

Distribution stretch-4.0

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-4.0.list

Distribution stretch-4.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-4.2.list

Distribution stretch-4.4

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-stretch-4.4.list

Distribution buster-3.4

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-buster-3.4.list

Distribution buster-3.6

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-buster-3.6.list

Distribution buster-3.8

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-buster-3.8.list

Distribution buster-4.0

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-buster-4.0.list

Distribution buster-4.2

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-buster-4.2.list

Distribution buster-4.4

# cd /etc/apt/sources.list.d && wget http://debian.tryton.org/debian/tryton-buster-4.4.list

Installation

Update package lists

# apt-get update

Installing the server

# apt-get install tryton-server [-t <distribution>]

Installing all modules incl. server

# apt-get install tryton-modules-all [-t <distribution>]

Installing the client

# apt-get install tryton-client [-t <distribution>]

Pinning

The versioning of Tryton packages from debian.tryton.org is conservative with respect to upgrades. It follows the ususal backports schema to provide upgradibility to a new Debian release at every moment. Therefore it may be, that apt will want to replace the installed version with a newer version number, that is available from other sources.lists.

To stick with the packages of debian.tryton.org, it is possible to pin the packages. With pin priority >1000 they will be preferred over other packages. A sample looks like

Package: *
Pin: release o=debian.tryton.org
Pin-Priority: 999

Ready-to-use

A suitable file can be downloaded with

# cd /etc/apt/preferences.d && wget http://debian.tryton.org/debian/debian.tryton.org.pref

Using the new preferences

# apt-get update && apt-get dist-upgrade