Source:Debian Repository
Copyright © SEP AG 1999-2024. All rights reserved.
Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.
Overview
As with sesam version >= 4.4.2-83 SEP offers signed Debian repositories for easier package installation, verification and update of the SEP sesam software. This manual describes on how to use these repositories.
Signed Repository Manual
Supported Systems
- Debian Lenny
- Debian Wheezy
- Debian Jessie
- Debian Stretch
Configuration
Attention: |
All commands have to be executed as root user or as an administrative user with the sudo command prefixed. |
Key installation
In the first step the SEP GPG Public key has to be downloaded to the system which should be able to install Debian packages. This step is needed for the system to be able to verify SEP Debian packages. The key is placed at the following URL:
http://download.sep.de/linux/repositories/debian/key.asc
In order to install the key use the Debian tool apt-key to add the key to the systems keyring. This example will download the key via the command-line tool curl and automatically passes it to the apt-key tool for import:
curl http://download.sep.de/linux/repositories/debian/key.asc | apt-key add -
Use the following command sequence to check if the key has been installed accordingly:
apt-key list | grep SEP
uid SEP AG (SEP Sesam Repository key) <support@sep.de>
Edit sources list file
In the second step the system configuration file /etc/apt/sources.list
has to be modified by adding a line like this:
deb http://download.sep.de/linux/repositories/debian/ <DISTRIBUTION> main
Please replace <DISTRIBUTION> with your according Debian distribution. If one wants to use the Debian repository on Debian jessie the line has to look like this:
deb http://download.sep.de/linux/repositories/debian/ jessie main
Run APT
After adding the needed contents to /etc/apt/sources.list
run the command:
apt-get update
to update the package lists.
Searching and installing sesam components
After successful configuration the system should be able to search/install and remove packages via the standard Debian package tools.
Searching for sesam components
If the update process finishes successfully one should find the SEP sesam components as install sources:
user@system:~$ apt-cache search sesam sesam-cli - SEP sesam Client for Linux sesam-gui - SEPsesam GUI for Linux sesam-rts - SEP sesam remote device server for Linux sesam-srv - SEP sesam server for Linux
Installing sesam components
This example shows how to install the sesam client, the command can be adjusted to install the server/rts or gui packages too:
apt-get install sesam-cli
all needed dependencies will be automatically installed.
Updating sesam components
During update of the system the most recent sesam packages will be pulled and automatically updated to the latest version.
Troubleshooting
How to find out system version
If you are not sure which Debian repository you have to use, the following commands can help to identify your Debian distribution:
If the package lsb-release is installed, the following executable will show your systems codename:
user@system:~$ lsb_release -c
Codename: jessie
This regular command shows the Debian revision:
user@system:~$ cat /etc/debian_version
8.3
Revisions are listed as follows:
8.x: Debian jessie 7.x: Debian wheezy 6.x: Debian squeeze 5.x: Debian lenny
GPG error
After running apt-get update the following error is shown:
W: GPG error: http://download.sep.de jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 68111EBBD273917B
Cause of this error is the missing SEP GPG Key in the systems keyring, please install the key as shown in step Debian_Repository#Key_installation
Verification error
During package installation the following warning occurs:
WARNING: The following packages cannot be authenticated! sesam-<package> Install these packages without verification? [y/N]
Cause of this error is the missing SEP GPG Key in the systems keyring, please install the key as shown in step Debian_Repository#Key_installation