I am trying to make a snap out of the realsense_samples_ros repository, which has dependencies that can be installed with apt after adding the correct apt repo to the sources list:
sudo apt-key adv --keyserver keys.gnupg.net --recv-key D6FB2970
sudo sh -c 'echo "deb http://realsense-alm-public.s3.amazonaws.com/apt-repo xenial main" > /etc/apt/sources.list.d/realsense-latest.list'
I executed the above commands on my host, and tried to build a snap with the following part in my snapcraft.yml:
but I got this error:
Error downloading stage packages for part 'samples': The package 'librealsense-object-recognition-dev' was not found.
I thought that snapcraft could find the packages by looking at the repos in my host’s sources list, but I was clearly mistaken.
What sources are used to find the stage-packages? Are we only allowed to list packages from the main Ubuntu repo?
Is it possible to specify new which package repos to use in snapcraft.yml?