I have tried to install rsudp on an RS4D, what I do is:
Clon de Git https://github.com/raspishake/rsudp
CD RSUDP
bash unix-install-rsudp.sh
myshake@raspberryshake:/opt $ cd ..
myshake@raspberryshake:/ $ cd rsudp
myshake@raspberryshake:/rsudp $ bash unix-install.rsudp.sh
bash: unix-install.rsudp.sh: No such file or directory
myshake@raspberryshake:/rsudp $ bash unix-install-rsudp.sh
Looking for existing installation...
Found anaconda at /home/myshake/berryconda3
No rsudp environment found.
Starting install script.
--------------------------------------------
Raspberry Shake UDP client installer v0.2
Ian Nesbitt, Raspberry Shake S.A., 2019
--------------------------------------------
Please follow instructions in prompts.
Press Enter to continue...
This script will need to use or create a directory to store miniSEED data and screenshots.
Common choices might be /home/myshake/rsudp or /home/myshake/opt/rsudp
Where would you like the rsudp output directory to be located? You can use an existing one if you would like.
Press Enter when done (if no input is given, the script will use /home/myshake/rsudp):
/home/myshake/opt/rsudp
No directory was provided, using /home/myshake/rsudp
Using existing directory /home/myshake/rsudp
Looking for conda installation...
Anaconda installation found at /home/myshake/berryconda3
conda executable: /home/myshake/berryconda3/bin/conda
Source line already exists in /home/myshake/.bashrc
Sourcing...
Activating conda...
Found rpi channel in /home/myshake/.condarc
Found conda-forge channel in /home/myshake/.condarc
Creating and installing rsudp conda environment...
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- matplotlib'[version='<3.2']
Current channels:
- https://conda.anaconda.org/rpi/linux-armv7l
- https://conda.anaconda.org/rpi/noarch
- https://conda.anaconda.org/conda-forge/linux-armv7l
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
ERROR: rsudp failed to install.
---------------------------------
Something went wrong.
Check the error output and try again.
I see that there is an error in matplotlib and when I try to install it I do this:
sudo apt update
sudo apt install python3-matplotlib
myshake@raspberryshake:/rsudp $ sudo apt install python3-matplotlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-matplotlib is already the newest version (3.0.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up gpsd (3.17-7+b1) ...
Creating/updating gpsd user account...
Job for gpsd.socket failed.
See "systemctl status gpsd.socket" and "journalctl -xe" for details.
A dependency job for gpsd.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript gpsd, action "start" failed.
â—Ź gpsd.service - GPS (Global Positioning System) Daemon
Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Mar 24 02:33:03 raspberryshake systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
Mar 24 02:33:03 raspberryshake systemd[1]: gpsd.service: Job gpsd.service/start failed with result 'dependency'.
Mar 24 13:41:33 raspberryshake systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
Mar 24 13:41:33 raspberryshake systemd[1]: gpsd.service: Job gpsd.service/start failed with result 'dependency'.
Mar 24 13:44:20 raspberryshake systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
Mar 24 13:44:20 raspberryshake systemd[1]: gpsd.service: Job gpsd.service/start failed with result 'dependency'.
Mar 24 13:45:55 raspberryshake systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
Mar 24 13:45:55 raspberryshake systemd[1]: gpsd.service: Job gpsd.service/start failed with result 'dependency'.
Mar 24 13:57:48 raspberryshake systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
Mar 24 13:57:48 raspberryshake systemd[1]: gpsd.service: Job gpsd.service/start failed with result 'dependency'.
dpkg: error processing package gpsd (--configure):
installed gpsd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
gpsd
E: Sub-process /usr/bin/dpkg returned an error code (1)