apt-get update hanging twice (work-around included)
#6
I experienced this hang and did some digging, found pretty much what you are saying. The time-sync target is not being reached, any timer depending on this cannot be started. My active jobs list shows this (since boot):


Code:
root@mobian:/home/mobian# systemctl list-jobs JOB UNIT                           TYPE  STATE  65  timers.target                  start waiting 70  apt-daily-upgrade.timer        start waiting 68  apt-daily.timer                start waiting 72  e2scrub_all.timer              start waiting 67  man-db.timer                   start waiting 69  fwupd-refresh.timer            start waiting 71  fstrim.timer                   start waiting 25  time-sync.target               start waiting 24  systemd-time-wait-sync.service start running





Curious enough, timedatectl shows everything is ok:



Code:
root@mobian:/home/mobian# timedatectl status               Local time: Fri 2020-08-07 12:47:27 EDT            Universal time: Fri 2020-08-07 16:47:27 UTC                  RTC time: Fri 2020-08-07 16:47:28                      Time zone: America/New_York (EDT, -0400) System clock synchronized: yes                                        NTP service: active                                RTC in local TZ: no



systemd-time-wait-sync start the command '/lib/systemd/systemd-time-wait-sync' and waits for it to exit. If i start that manually it, correctly, exits immediately. But for some reason the process started earlier isn't getting updated. By restart the systemd-time-wait-sync service everything works without a reboot: 'systemctl restart systemd-time-wait-sync'



I think this bug is the culprit: https://github.com/systemd/systemd/issues/15947



I am running Mobian which has switched to chrony, not sure if that is related.


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Alarm clock doesn’t work Captain1ndustry 14 31,258 12-23-2025, 12:12 AM
Last Post: biketool
  No touch KB after update(forky) biketool 4 3,085 12-05-2025, 01:15 AM
Last Post: biketool
  trixie update poll questions suggestions j_s 5 3,688 10-22-2025, 07:14 AM
Last Post: anonymous
  how to update mobian over tor vusra 14 21,368 12-04-2024, 07:01 PM
Last Post: vusra
  wwan0 (SIM interface) doesn't work with OpenVPN nickolas 6 8,051 09-05-2023, 11:16 AM
Last Post: nickolas
  Chatty does not work after suspend mode user641 4 7,473 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Wifi doesn't work after update nickolas 2 5,099 04-14-2023, 10:07 AM
Last Post: nickolas
  PinePhone won't boot after software update jb2000 2 5,269 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
  Most recent Mobian image or installer image known to work? DrPlamsa 13 17,330 02-26-2023, 11:47 PM
Last Post: SukiiPooru
Exclamation Impossible to login since the latest update anonymous 12 17,803 02-26-2023, 01:01 PM
Last Post: anonymous

Forum Jump:


Users browsing this thread: 1 Guest(s)