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
  Alarm clock doesn’t work Captain1ndustry 13 17,223 12-15-2024, 07:07 PM
Last Post: baptx
  how to update mobian over tor vusra 14 9,485 12-04-2024, 07:01 PM
Last Post: vusra
  wwan0 (SIM interface) doesn't work with OpenVPN nickolas 6 3,259 09-05-2023, 11:16 AM
Last Post: nickolas
  Chatty does not work after suspend mode user641 4 2,852 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Wifi doesn't work after update nickolas 2 1,838 04-14-2023, 10:07 AM
Last Post: nickolas
  PinePhone won't boot after software update jb2000 2 1,991 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
  Most recent Mobian image or installer image known to work? DrPlamsa 13 7,171 02-26-2023, 11:47 PM
Last Post: SukiiPooru
Exclamation Impossible to login since the latest update anonymous 12 6,405 02-26-2023, 01:01 PM
Last Post: anonymous
Exclamation The latest update of eg25-manager seems to cause frequent disconnections anonymous 12 6,413 11-28-2022, 03:30 PM
Last Post: anonymous
Exclamation The webcam doesn't work in Firefox anonymous 0 1,023 11-06-2022, 01:45 PM
Last Post: anonymous

Forum Jump:


Users browsing this thread: 1 Guest(s)