Hi,
I’m trying to package Tizonia (https://github.com/tizonia/tizonia-openmax-il) using the build service and I’m finding the following error
Building tizonia
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3137 100 3137 0 0 148k 0 --:--:-- --:--:-- --:--:-- 153k
OK
deb http://apt.mopidy.com/ stable main contrib non-free
Err:1 http://apt.mopidy.com stable InRelease
Could not resolve 'apt.mopidy.com'
Hit:2 http://ftpmaster.internal/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial InRelease
Hit:4 http://ftpmaster.internal/ubuntu xenial-security InRelease
Hit:5 http://ftpmaster.internal/ubuntu xenial-updates InRelease
Reading package lists...
W: Failed to fetch http://apt.mopidy.com/dists/stable/InRelease Could not resolve 'apt.mopidy.com'
My snapcraft.yaml (https://github.com/tizonia/tizonia-openmax-il/tree/master/snap) contains the following recipe to add an additional apt archive source to the system:
curl 'http://apt.mopidy.com/mopidy.gpg' | sudo apt-key add -
echo "deb http://apt.mopidy.com/ stable main contrib non-free" | sudo tee -a /etc/apt/sources.list
sudo apt-get update && sudo apt-get -y install libspotify-dev
Unfortunately, apt.mopidy.com can’t be resolved inside the build service container.
This works perfectly fine locally, is there a way to work around this?