This sounds like a race condition that leads to live lock, considering
that both gpgv and apt are waiting for the other end to speak at the
same time.

I assume the protocol between these is custom made for this connection.
How the protocol is supposed to prevent this live lock situation from
happening? If the protocol cannot avoid this situation, then the bug is
in the protocol design and the least invasive fix is to add timeout for
the waiting time and consider the execution as failed if timeout is
triggered.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to