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 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,172 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)