When running "sudo python3 launch.py --setup" if bluealsa isn't available in apt then the setup fails.
Commenting lines 157 to 163 allows the setup to succeed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apt/cache.py", line 289, in getitem
return self._weakref[key]
File "/usr/lib/python3.6/weakref.py", line 137, in getitem
o = self.datakey
KeyError: 'bluealsa'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apt/cache.py", line 292, in getitem
rawpkg = self._cache[key]
KeyError: 'bluealsa'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "launch.py", line 157, in
if cache['bluealsa'].is_installed:
File "/usr/lib/python3/dist-packages/apt/cache.py", line 294, in getitem
raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'bluealsa'"