try a new fresh installation but get this error running this script on laptop with PI DESKTOP.
sudo su
nano /etc/apt/sources.list
---- deb http://ftp.debian.org/debian stretch-backports main
---- deb-src http://ftp.debian.org/debian stretch-backports main
usermod -aG sudo user
apt-get update
apt-get install -t stretch-backports ansible
apt-get install sudo
apt-get install git
apt-get install sshpass
cd /home/username/
git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-client-ansible.git
cd satnogs-client-ansible/
cp -r production.dist production
nano production/inventory/hosts
___ Here change the IP address to be 127.0.0.1, the user to your debian username and their password.
ssh pi@127.0.0.1 true
ansible-playbook -i production/inventory -K site.yml
sudo satnogs-setup
AFTER: ansible-playbook -i production/inventory -K site.yml
I got these,
PLAY [satnogs-setups] **********************************************************
TASK [Gathering Facts] *********************************************************
ok: [satnogs]
TASK [common : Check Ansible version] ******************************************
ok: [satnogs] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [common : Check distribution] *********************************************
ok: [satnogs] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [common : Update APT cache] ***********************************************
ok: [satnogs]
TASK [common : Install required package for APT] *******************************
FAILED - RETRYING: Install required package for APT (3 retries left).
FAILED - RETRYING: Install required package for APT (2 retries left).
FAILED - RETRYING: Install required package for APT (1 retries left).
fatal: [satnogs]: FAILED! => {“attempts”: 3, “cache_update_time”: 1569422683, “c ache_updated”: false, “changed”: false, “msg”: “’/usr/bin/apt-get -y -o “Dpkg:: Options::=–force-confdef” -o “Dpkg::Options::=–force-confold” install ’ gpg’’ failed: E: Unable to correct problems, you have held broken packages.\n”, “rc”: 100, “stderr”: “E: Unable to correct problems, you have held broken packag es.\n”, “stderr_lines”: [“E: Unable to correct problems, you have held broken pa ckages.”], “stdout”: “Reading package lists…\nBuilding dependency tree…\nRea ding state information…\nSome packages could not be installed. This may mean t hat you have\nrequested an impossible situation or if you are using the unstable \ndistribution that some required packages have not yet been created\nor been mo ved out of Incoming.\nThe following information may help to resolve the situatio n:\n\nThe following packages have unmet dependencies:\n gpg : Depends: gpgconf ( = 2.2.12-1+deb10u1~bpo9+1)\n Depends: libassuan0 (>= 2.5.0) but 2.4.3-2 is to be installed\n Depends: libgpg-error0 (>= 1.35) but 1.26-2 is to be in stalled\n Recommends: gnupg (= 2.2.12-1+deb10u1~bpo9+1)\n”, “stdout_lines” : [“Reading package lists…”, “Building dependency tree…”, “Reading state inf ormation…”, “Some packages could not be installed. This may mean that you have “, “requested an impossible situation or if you are using the unstable”, “distri bution that some required packages have not yet been created”, “or been moved ou t of Incoming.”, “The following information may help to resolve the situation:”, “”, “The following packages have unmet dependencies:”, " gpg : Depends: gpgconf (= 2.2.12-1+deb10u1~bpo9+1)”, " Depends: libassuan0 (>= 2.5.0) but 2.4.3- 2 is to be installed”, " Depends: libgpg-error0 (>= 1.35) but 1.26-2 is to be installed", " Recommends: gnupg (= 2.2.12-1+deb10u1~bpo9+1)"]}
to retry, use: --limit @/home/pi/satnogs-client-ansible/site.retry
PLAY RECAP *********************************************************************
satnogs : ok=4 changed=0 unreachable=0 failed=1
root@raspberry:/home/pi/satnogs-client-ansible#
73’s Kees