Hacker News new | ask | show | jobs
by deathanatos 1695 days ago
I don't think the suggestion in the article works, does it?

It checks the dpkg lock, but I believe apt has its own lock, I believe at /var/lib/apt/lists/lock , and that option name strongly implies that it only checks the dpkg lock, still leaving you with a race condition on the apt one.