The GAVO APT repository

The preferred way to run DaCHS or other software provided by the GAVO data center is on Debian stable or compatible systems (this should usually cover Ubuntu; in particular, you are welcome to report installation failures on not-too-ancient Ubuntu systems).

To run DaCHS, you'll need to install the gavodachs2-server package after adding one or more lines to your APT sources. By using aptitude/apt-get, all the package dependencies will then be handled in an automatic way.

Of course, you will need to update your package cache after that, e.g., by running sudo aptitude update.

As a first step to adding our repository, you will need to install our archive key to avoid nasty questions from aptitude/apt-get. Our archive key's id is D8C139FC, and it is on the key servers. Its fingerprint is B199 D643 9DBB 98D7 9F4E AD09 8B6C 75C0 D8C1 39FC.

Note: As of late 2020, Debian unstable already carries gavodachs2-server, and you could install from there, too.

The quick and dirty way to install the key on your machine is saying

  cd /etc/apt/trusted.gpg.d
  curl \
    | sudo tee gavo-archive.key.asc

The release distribution

Our repository is essentially a rolling one, meaning the lines below will not change over time. This might, of course, mean that if you do not upgrade your base system, you may run into dependency problems over time. However, we try to ensure that the basic DaCHS package still supports at least Debian stable and oldstable at any time (except perhaps for very short after a release). We make no promises about Ubuntu, but Ubuntus neither brand-new nor shockingly old should in general work.

To use the repository, add the line

  deb release main

to your /etc/apt/sources.list (of course, equivalent actions using graphical tools will do as well). If you want, another deb-src line will let you pull our source packages, too). Yes, that's "release" rather than "stable", which is intended to signify it's rolling and (conceptually) unrelated to Debian stable.

We will not clobber packages from stable except when we are very confident they are backwards compatible. Thus, while we cannot actually promise anything, including this repository should not impact your systems's stability in any way, even though we may occasionally include an updated package or two (typically, python3-psycopg2).

If installing DaCHS1 on Debian buster (you shouldn't), an extra line is necessary because buster is missing some dependencies of DaCHS. So, as long as you are on buster (or buster-derived distributions), you will have to add

deb buster-foreports main

to your sources.list in addition to the release line above. If you don't you will see error messages like

gavodachs-server : Depends: python-gavodachs (= 1.3.1-1) but it is not
going to be installed

The message is a bit confusing, but the underlying reason is that python-gavodachs depends on python-astropy, which has been dropped in buster.

The beta distribution

If you are more daring, you can instead try our bleeding-edge packages by adding

  deb beta main

to your sources.list. Note that you will still need the release line for dependencies.

While we try to ensure that installations from our beta repository work at all times (and indeed, they are usually not more experimental that what we are running on our own servers), you should be a bit more wary for glitches there.