apt-get update hanging twice (work-around included)
#3
Today my apt upgrade is again hung

Code:
Unpacking apt (2.1.8) over (2.1.7) ...
Setting up apt (2.1.8) ...

Progress: [ 19%] [############....................................................]

And there is the suspicious stuck process

Code:
  24528 pts/2    Ss+    0:00 /usr/bin/dpkg --status-fd 20 --no-triggers --configure ap
  24529 pts/2    S+     0:00 /bin/sh /var/lib/dpkg/info/apt.postinst configure 2.1.7
  24565 pts/2    S+     0:00 /bin/systemctl restart apt-daily-upgrade.timer apt-daily.
  24573 pts/2    S+     0:00 /bin/systemd-tty-ask-password-agent --watch

Interesting.  It looks like dpkg and apt-daily-upgrade.timer are locking each other out.

kill 24565

allowed the upgrade process to continue and complete.

>So I tried to update and upgrade this morning and it got stuck and I rebooted the phone. I then had to run dpkg --configure -a because it was >interrupted but running it it gets stuck at 'Setting up apt (2.1.8) and will do nothing else.

>Do you have any ideas that could possibly help me?

Check my reply in this thread, I ran into exactly the same issue as you.

Find this process

/bin/systemctl restart apt-daily-upgrade.timer apt-daily

from the 'ps ax' list
and kill it.


Messages In This Thread
RE: apt-get update hanging twice (work-around included) - by motox6 - 08-06-2020, 05:08 PM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)