Define package repositories

Most Debian based Linux system come with some kind of repositories defined. Running "apt-get update" will get available package lists from these repositories. If you want to use qbee for package and patch management it is important to understand which repositories are active on the device.

With qbee you can use different package management and patch management strategies. More can be found here.

This short article just shows how to find the existing repositories and potentially adding a user defined one. Then standard packages can be updated from the standard repository while the specific apps can come from the custom repository.

Show existing repositories:

grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*

qbee-repositories

In order to add your repo create a new file:

nano /etc/apt/sources.list.d/qbee.list

and insert your repository definition:

deb https://my-ip-address buster main
The next thing is to enable your keys. Please consult the internet how to do this.

Tip

Packagecloud.io actually provides you with a script that creates the custom repository and takes care of the keys. This leads to a very simple setup.