So basically, when you first install the gpsdeasy plugin, it will fail to install gpsd and gpsd-clients .
This is due to how fresh installs run outdated APT caches, which results in the plugin simply not being able to download the packages. Another thing to add is it would likely be better to use apt-get rather than apt, due to how it is better used with scripts, compared to normal apt. And apt will tell you this when you run it in a script as it is recommended to use apt-get for this use-case instead.
So basically, when you first install the gpsdeasy plugin, it will fail to install
gpsdandgpsd-clients.This is due to how fresh installs run outdated APT caches, which results in the plugin simply not being able to download the packages. Another thing to add is it would likely be better to use
apt-getrather thanapt, due to how it is better used with scripts, compared to normalapt. Andaptwill tell you this when you run it in a script as it is recommended to useapt-getfor this use-case instead.