I'm seeing the same problem on Ubuntu 22.04.4 LTS: $ ps -eHo pid,ppid,etimes,command | grep -w [a]pt 3162391 1 3033258 /bin/sh /usr/lib/apt/apt.systemd.daily update 3162395 3162391 3033258 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held update 3162423 3162395 3033257 apt-get -qq -y update 3162432 3162423 3033257 /usr/lib/apt/methods/http 3163221 3162423 3033222 /usr/lib/apt/methods/gpgv
And since /usr/lib/apt/apt.systemd.daily is from package apt, this is definitely a bug in apt. A pretty simple workaround would be to run /usr/bin/timeout 15m /usr/lib/apt/apt.systemd.daily lock_is_held update instead. Of course, that wouldn't fix the underlying problem but it would automatically release the lock after 15 minute delay. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2003851 Title: occasional hanging 'apt-get update' from daily cronjob since Jammy 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2003851/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs