apt-get update hanging twice (work-around included)
#7
(08-07-2020, 09:01 AM)spaetz Wrote: I guess, we could be seeing:
https://bugs.debian.org/cgi-bin/bugrepor...bug=940840

We are using chrony as time sync daemon instead of the systemd ntp one. And the Debian bug then experiences similar hangs with the sstemd-time-wait-sync service running (which does not work with chronyd):

>  systemd-time-wait-sync.service      start running
Hm, this service is not enabled by default and I'm guessing it prevents
time-sync.target to be reached, blocking all subsequent services.


The man page says:
Code:
>        systemd-time-wait-sync is a system service that delays the start of units that depend on time-sync.target
>        until the system time has been synchronized with an accurate time source by systemd-timesyncd.service.

So, any timer that waits until the time is synchronized is on hold. And the apt-daily-upgrade.timer is one of those, I guess.

UPDATE: I don't experience the hangs myself. Could somebody who does check with

```systemctl status systemd-time-wait-sync.service```

to see if this service is somehow enabled on their mobian device?
I was having this problem as well. Ran the code you suggested and got the following output:

● systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized
    Loaded: loaded (/lib/systemd/system/systemd-time-wait-sync.service; enabled; vendor preset: disabled)
    Active: activating (start) since Fri 2020-08-07 08:12:27 MST; 2h 0min ago
      Docs: manConfusedystemd-time-wait-sync.service(8)
  Main PID: 1488 (systemd-time-wa)
      Tasks: 1 (limit: 1990)
    Memory: 1.0M
    CGroup: /system.slice/systemd-time-wait-sync.service
            └─1488 /lib/systemd/systemd-time-wait-sync

Aug 07 08:12:28 mobian systemd-time-wait-sync[1488]: adjtime state 5 status 40 time Fri 2020-08-07 15:12:27.709948 UTC
Warning: journal has been rotated since unit was started, output may be incomplete.

Looks like it is enabled on my device.


Messages In This Thread
RE: apt-get update hanging twice (work-around included) - by DarkManiels - 08-07-2020, 11:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  wwan0 (SIM interface) doesn't work with OpenVPN nickolas 6 2,114 09-05-2023, 11:16 AM
Last Post: nickolas
  Chatty does not work after suspend mode user641 4 1,922 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  how to update mobian over tor vusra 13 6,888 07-09-2023, 08:57 PM
Last Post: vusra
  Wifi doesn't work after update nickolas 2 1,227 04-14-2023, 10:07 AM
Last Post: nickolas
  PinePhone won't boot after software update jb2000 2 1,333 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
  Most recent Mobian image or installer image known to work? DrPlamsa 13 4,927 02-26-2023, 11:47 PM
Last Post: SukiiPooru
Exclamation Impossible to login since the latest update anonymous 12 4,214 02-26-2023, 01:01 PM
Last Post: anonymous
Exclamation The latest update of eg25-manager seems to cause frequent disconnections anonymous 12 4,298 11-28-2022, 03:30 PM
Last Post: anonymous
Exclamation The webcam doesn't work in Firefox anonymous 0 736 11-06-2022, 01:45 PM
Last Post: anonymous
  Wifi issue since last update and held back updates goku499 11 5,313 09-21-2022, 02:39 PM
Last Post: Katsujinken

Forum Jump:


Users browsing this thread: 1 Guest(s)