Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] gpsd post installation failure

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

[SOLVED] gpsd post installation failure

#1 Post by arzgi »

Debian 9.5, XFCE

After installing gpsd, I get this error message every time I install some package:

Code: Select all

Setting up gpsd (3.16-4) ...
Creating/updating gpsd user account...
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; indirect; vendor preset: enabled)
   Active: inactive (dead)

loka 04 16:20:31 samsung systemd[1]: Dependency failed for GPS (Global Posi…mon.
loka 04 16:20:31 samsung systemd[1]: gpsd.service: Job gpsd.service/start f…cy'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package gpsd (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up fprintd (0.7.0-1) ...
Setting up libpam-fprintd:i386 (0.7.0-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
Errors were encountered while processing:
 gpsd
E: Sub-process /usr/bin/dpkg returned an error code (1)

gpsd is working anyway. How to get rid of that error?
Last edited by arzgi on 2018-10-07 13:20, edited 1 time in total.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: gpsd post installation failure

#2 Post by None1975 »

Did you check journalctl -xe for details?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: gpsd post installation failure

#3 Post by arzgi »

Yes, I did.

Code: Select all

- The result is failed.
loka 04 18:08:08 samsung systemd[1]: Dependency failed for GPS (Global Positioni
-- Subject: Unit gpsd.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit gpsd.service has failed.
-- 
-- The result is dependency.
)

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: gpsd post installation failure

#4 Post by arzgi »

Found it! gpsd requires loopback to be IPV6 enabled.

Wonders of systemd, dependency broken...

Post Reply