Did a PS on one of these systems this morning. Found some shenanigans.
root 3380 1 0 08:25 ? 00:00:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 3384 3380 0 08:25 ? 00:00:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 3415 3384 99 08:25 ? 00:00:09 /usr/bin/python3 /usr/bin/unattended-upgrade
Did a PS on one of these systems this morning. Found some shenanigans. apt/apt. systemd. daily install apt/apt. systemd. daily lock_is_held install unattended- upgrade
root 3380 1 0 08:25 ? 00:00:00 /bin/sh /usr/lib/
root 3384 3380 0 08:25 ? 00:00:00 /bin/sh /usr/lib/
root 3415 3384 99 08:25 ? 00:00:09 /usr/bin/python3 /usr/bin/
Grep for "updates" yielded this: unattended- upgrades/ unattended- upgrade- shutdown --wait-for-signal unattended- upgrade unattended- upgrade
$ ps -ef | grep upgrade
root 1182 1 0 08:22 ? 00:00:00 /usr/bin/python3 /usr/share/
root 3415 3384 14 08:25 ? 00:00:22 /usr/bin/python3 /usr/bin/
root 5356 3415 1 08:27 ? 00:00:00 /usr/bin/python3 /usr/bin/
After I killed 3415 I was able to get the apt lock and proceed with a manual `sudo apt-get upgrade`