Tarsnap - Online backups for the truly paranoid

Navigation menu

Deb packages

This package format is suitable for:

To use this package format:

  1. Initial setup: tell apt-get to trust signed packages from Tarsnap Backup Inc.
  2. Choose one:
    • Binary package: download and install a pre-compiled binary package.
    • Source package: download and compile the source package, then install it.

Initial setup

  1. Get the latest Tarsnap deb packaging key:
    wget https://pkg.tarsnap.com/tarsnap-deb-packaging-key.asc
    Problem? The certificate of ‘pkg.tarsnap.com’ is not trusted
    If you receive the message:
    ERROR: The certificate of ‘pkg.tarsnap.com’ is not trusted.
    ERROR: The certificate of ‘pkg.tarsnap.com’ hasn't got a known issuer.
    Then you likely need to install the ca-certificates package.
  2. Once you are satisfied that the key is correct, add it to your system:
    sudo apt-key add tarsnap-deb-packaging-key.asc
  3. Add the Tarsnap binary package repository to your system:
    echo "deb http://pkg.tarsnap.com/deb/$(lsb_release -s -c) ./" | sudo tee -a /etc/apt/sources.list.d/tarsnap.list
    Problem? lsb_release: command not found
    If you receive the message
    lsb_release: command not found
    then you may either:
    1. Install the lsb-release package, delete the incomplete line from /etc/apt/sources.d/tarsnap.list and re-run the command.
    2. Manually enter a directory name for your distribution.
    Problem? The repository doesn't seem to exist

    Assuming that this is not a temporary network problem, you may be running a distribution release that is not included in our list. Our directory structure supplies the following releases:

    Distribution Directory Package compiled on
    Debian 7 wheezy wheezy
    Debian 8 jessie wheezy
    Debian 9 stretch stretch
    Debian 10 buster stretch
    Debian unstable sid stretch
    Ubuntu 12.04 precise precise
    Ubuntu 14.04 trusty wheezy
    Ubuntu 16.04 xenial wheezy
    Ubuntu 16.10 yakkety wheezy
    Ubuntu 17.04 zesty wheezy
    Ubuntu 17.10 artful wheezy
    Ubuntu 18.04 bionic stretch
    Ubuntu 18.10 cosmic stretch
    Ubuntu 19.04 disco stretch
    Ubuntu 19.10 eoan stretch
    Ubuntu 20.04 focal stretch
    Ubuntu 20.10 groovy stretch
    Ubuntu 21.04 hirsute stretch
    Mint 13 maya wheezy
    Mint 17 qiana wheezy
    Mint 17.1 rebecca wheezy
    Mint 17.2 rafaela wheezy
    Mint 17.3 rosa wheezy
    Mint 18 sarah wheezy
    Mint 18.1 serena wheezy
    Mint 18.2 sonya wheezy
    Mint 18.3 sylvia wheezy
    Mint 19.0 tara stretch
    Mint 19.1 tessa stretch
    Mint 19.2 tina stretch
    Mint 19.3 tricia stretch
    Mint 20 ulyana stretch
    Mint 20.1 ulyssa stretch
    ElementaryOS 0.3 freya wheezy
    ElementaryOS 0.4 loki wheezy
    ElementaryOS 5.0 juno stretch
    ElementaryOS 5.1 hera stretch
    If you are running a different Debian-based distribution, try using:
    deb http://pkg.tarsnap.com/deb/stretch ./
    and if that fails, try:
    deb http://pkg.tarsnap.com/deb/wheezy ./
    If neither option works, please contact us at pkg-deb@tarsnap.com.
  4. Update your package database:
    sudo apt-get update

Tarsnap binary package

We currently provide binaries for i386 and amd64. If you are using another architecture (such as ARM or MIPS), then please follow the Tarsnap source package instructions.
  1. If you have not done so already, complete the Initial setup.
  2. Install the binary package:
    sudo apt-get install tarsnap
  3. (optional) The tarsnap binary package looks for a config file called /etc/tarsnap.conf, whereas the client built from the source tarball looks in /usr/local/etc/tarsnap.conf. If you have an existing Tarsnap config file, you may wish to:
    sudo mv /usr/local/etc/tarsnap.conf /etc/

Tarsnap source package

Most users will not need to use the source package; it is provided for:
  • Systems with a CPU architecture other than i386 or amd64.
  • "Truly paranoid" users who want to check exactly what is being compiled.

Tarsnap source package setup

  1. If you have not done so already, complete the Initial setup.
  2. Make sure that the package signing key is installed:
    sudo apt-get install tarsnap-archive-keyring
  3. Add the source repository:
    echo "deb-src http://pkg.tarsnap.com/deb-src ./" | sudo tee -a /etc/apt/sources.list.d/tarsnap.list
  4. Update your package database:
    sudo apt-get update
  5. Import the public key to the appropriate keyring so that the source package will be accepted by your non-root user:
    gpg --no-default-keyring --keyring trustedkeys.gpg \
        --import /usr/share/keyrings/tarsnap-archive-keyring.gpg

Tarsnap source package building

  1. Download the source, build it, and install:
    sudo apt-get build-dep tarsnap
    apt-get source -b tarsnap
    sudo dpkg -i tarsnap_*.deb
  2. (optional) If you would like to verify the signatures manually, you probably want to install the signature to your regular gpg keyring (in addition to the gpgv keyring that was configured in step 4).
    gpg --import /usr/share/keyrings/tarsnap-archive-keyring.gpg
    gpg --import /usr/share/keyrings/tarsnap-code-signing-keyring.gpg

Experimental packages

We have a repository for experimental packages. Most of the time, these packages are the same version as the official ones (although signed with our experimental key).

Currently testing

Not testing any packages.

Initial setup of the experimental repository

  1. If you have already installed the tarsnap-archive-keyring package, this key is already on your system, and you can enable it with:
    sudo apt-key add /usr/share/keyrings/tarsnap-experimental-keyring.gpg

    If you haven't installed tarsnap-archive-keyring, please get and install the key:
    wget https://pkg.tarsnap.com/experimental/tarsnap-EXPERIMENTAL-deb-packaging-key.asc
    sudo apt-key add tarsnap-EXPERIMENTAL-deb-packaging-key.asc
  2. Add the repository to your system:
    echo "deb http://pkg.tarsnap.com/experimental/deb/$(lsb_release -s -c) ./" | sudo tee -a /etc/apt/sources.list.d/tarsnap.list
  3. Update:
    sudo apt-get update

Installing the experimental packages

  1. Once you have completed the initial setup, run:
    sudo apt-get install tarsnap
    (If you already have tarsnap installed, it will be upgraded to the latest experimental version.)

Known issues and contact

There are no known problems with these packages.

Other problems? Please email pkg-deb@tarsnap.com.