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
  wwan0 (SIM interface) doesn't work with OpenVPN nickolas 6 2,117 09-05-2023, 11:16 AM
Last Post: nickolas
  Chatty does not work after suspend mode user641 4 1,926 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  how to update mobian over tor vusra 13 6,899 07-09-2023, 08:57 PM
Last Post: vusra
  Wifi doesn't work after update nickolas 2 1,228 04-14-2023, 10:07 AM
Last Post: nickolas
  PinePhone won't boot after software update jb2000 2 1,336 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
  Most recent Mobian image or installer image known to work? DrPlamsa 13 4,930 02-26-2023, 11:47 PM
Last Post: SukiiPooru
Exclamation Impossible to login since the latest update anonymous 12 4,217 02-26-2023, 01:01 PM
Last Post: anonymous
Exclamation The latest update of eg25-manager seems to cause frequent disconnections anonymous 12 4,300 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,315 09-21-2022, 02:39 PM
Last Post: Katsujinken

Forum Jump:


Users browsing this thread: 1 Guest(s)