opsi-server package update for new apt keys

opsi-server package update for new apt keys

Our opsi server packages are built on the OpenBuildService, OBS for short. This OBS signs the packages with a key which expires in regular intervals of two years and has to be renewed. Now the time has come to renew the key again. The current key expires on November 9th. On the OBS we already renewed the key about a month ago. Unfortunately this does not happen automatically on Debian-based Linux systems.

There are two ways to get the new key now:

  • update the opsi-server package
  • get the key manually

The first option is done with a simple apt update && apt upgrade. The version of opsi-server is 4.2.0.73-1 and can be found in opsi 4.2 stable.

The key can be fetched manually with one of the following commands and placed in the apt store, depending on the operating system:

  • Ubuntu 20-04
curl -fsSL https://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.2:/stable/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /usr/local/share/keyrings/opsi-obs.gpg > /dev/null
  • Ubuntu 22-04
curl -fsSL https://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.2:/stable/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /usr/local/share/keyrings/opsi-obs.gpg > /dev/null
  • Debian 10
curl -fsSL https://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.2:/stable/Debian_10//Release.key | gpg --dearmor | sudo tee /usr/local/share/keyrings/opsi-obs.gpg > /dev/null
  • Debian 11
curl -fsSL https://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.2:/stable/Debian_11/Release.key | gpg --dearmor | sudo tee /usr/local/share/keyrings/opsi-obs.gpg > /dev/null
  • UCS 4.4
curl -fsSL https://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.2:/stable/Univention_4.4/Release.key | gpg --dearmor | sudo tee /usr/local/share/keyrings/opsi-obs.gpg > /dev/null
  • UCS 5.0
curl -fsSL https://download.opensuse.org/repositories/home:/uibmz:/opsi:/4.2:/stable/Univention_5.0/Release.key | gpg --dearmor | sudo tee /usr/local/share/keyrings/opsi-obs.gpg > /dev/null

After that, the current key should now be installed and can be traced using apt-key list.

Tags :

Related Posts

opsi at T-DOSE 2023: A personal Report

opsi at T-DOSE 2023: A personal Report

Get a behind-the-scenes look at T-DOSE 2023, an Open Source technology conference that brought together experts and enthusiasts from all over the world. As an attendee of the conference, I was excited to be a part of this event and meet members of other Open Source projects.

Read More
Remote Client Administration: An Introduction to Client Actions with _opsi-cli_

Remote Client Administration: An Introduction to Client Actions with opsi-cli

Perform simple admin actions using the `opsi-cli` command `client-action`. You can use it to explicitely set action requests and it will help you to automate recurring tasks of administration in your opsi environment.

Read More
Managing opsi packages with opsi-cli

Managing opsi packages with opsi-cli

Learn how to manage opsi packages effortlessly with the opsi-cli package plugin. Create, extract, list, install, and uninstall packages using this unified solution, eliminating the need for multiple tools.

Read More