Today my apt upgrade is again hung
And there is the suspicious stuck process
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.
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.