Take a look at this or just run these:
sudo systemctl stop gpsd.service sudo systemctl stop gpsd.socket sudo dpkg --configure -a sudo systemctl restart gpsd.service sudo systemctl restart gpsd.socket