I tryed to install SatNOGS Client Ansible on Debian 10.2.0 (4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64) based on this manual: https://wiki.satnogs.org/SatNOGS_Client_Ansible
But I have problem with libgnuradio-satnogs.
TASK [satnogs-radio : Check if libgnuradio-satnogs is installed] ****************************
FAILED - RETRYING: Check if libgnuradio-satnogs is installed (3 retries left).
FAILED - RETRYING: Check if libgnuradio-satnogs is installed (2 retries left).
FAILED - RETRYING: Check if libgnuradio-satnogs is installed (1 retries left). fatal: [satnogs]: FAILED! => {âattemptsâ: 3, âchangedâ: false, âmsgâ: âNo package matching âlibgnuradio-satnogsâ is availableâ}
Possibilities below. Iâll take a look at the ansible setup too
You donât have the repo added to you apt list in /etc/apt/sources.list or /etc/apt/sources.list.d. Ansible should do this.
You need to run sudo apt update, because step 1 is ok, but the package list isnât updated. You can also run Update from the satnogs setup program too.
The wrong repo is in the repo list, in which case you may get an error like this when running sudo apt update:
...
Err:4 http://download.opensuse.org/repositories/home:/librespace:/satnogs_unstable/Raspbian_10 ./ Release
404 Not Found ...
This is because the repo is set for Raspbian ARM architecture, but you are running x86_64 (Intel) architecture.
I just ran the Ansible setup from that wiki doc on a bare Debian Buster machine and it worked. Maybe you just hit a transient network issue. Try running the Ansible command again, and see if it fails in the same spot.
My quick notes on the install:
# On Debian Buster
# This is for doing all the Ansible steps just on one computer.
# It assumes you aren't using a centralized Ansible setup
# (e.g. if this is your only Ansible using computer...).
#
# Run below as regular "sudo" user, or as root:
sudo apt update
# XXX Note, needs python 2 setuptools, NOT python3-setuptools
sudo apt install ansible python-setuptools
sudo apt clean
git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-client-ansible.git
cd satnogs-client-ansible
cp -r production.dist production
vi production/inventory/hosts
# Make that file below
# * Replace ansible_user "debian" with your username that can ssh/sudo, NOT "satnogs".
# * Set a ansibe_host (the computer hostname).
---
all:
hosts:
satnogs:
ansible_host: 'satnogs-client'
ansible_user: 'debian'
ansible_ssh_pipelining: true
satnogs-setups:
hosts:
satnogs:
satnogs-radios:
hosts:
satnogs:
hamlib-utils:
hosts:
satnogs:
satnogs-clients:
hosts:
satnogs:
snmpds:
hosts:
satnogs:
gpsds:
hosts:
satnogs:
# Set up ssh keys:
ssh-keygen -t ed25519
cat ~/.ssh/id_ed25519.pub >> ~/.ssh/authorized_keys
# Make sure you can ssh to yourself (replace 127.0.0.1 with the
# name you set in ansible_host)
ssh 127.0.0.1 true
# Run the playbook:
ansible-playbook -i production/inventory -K site.yml
# Now run the SatNOGS setup:
sudo satnogs-setup