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 embedded edge 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/*
In order to add your repo create a new file:
and insert your repository definition:
deb https://my-ip-address buster main
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.