Satnogs-client-ansible (on desktop) script not working any more

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

Required Debian 10 dependency Buster,
you need raspbian buster or Debian buster for desktop PC.

I’ve upgrade stretch to buster :
apt update;
apt upgrade;
reboot;
change stretch by buster in /etc/apt/source.list
apt update;
apt upgrade;
apt full-upgrade;
reboot;

remove /var/lib/satnogs folder because of error with older python virtualenv

satnogs-setup;
update
apply

Good luck !

1 Like

TNX info!! wil try it

Pinging @acinonyx because he is doing a lot of work on safe upgrading to buster

TNX michel, SatNOGS latop is up and running again !

Please check https://gitlab.com/librespacefoundation/satnogs/satnogs-client-ansible/issues/47 . You need to remove stretch-backports repository.

P.S. It’s totally fine to create a thread in this forum, asking for support by the community. But, if you see that you can’t find a solution here or there is probably an underlying bug that needs to be fixed, please report them in GitLab and we will be notified immediately. It can take quite some time for us to check this forum and an issue might as well get lost in the “noise”.

3 Likes

ROGER, but I’m a newby on satnogs and have to find my way.