Please ignore Chris (well, do upgrade though, 20.10 is oooold, it hasn't
seen security updates in months)

I understand your report, I only implemented lock waiting for the dpkg
lock, not for the list lock that update holds.

Note that apt-get generally doesn't wait for the lock, only apt does
(you can pass/set options to make apt-get behave the same).

I'm not sure update lock waiting is necessary - there's little point in
running update again if you are already updating. It makes sense for
install, because you might just want to schedule two installs.

OTOH, I can see you writing a script that does update and install, and
which breaks because apt-daily.service is running in the background.

** Changed in: apt (Ubuntu)
       Status: Invalid => Triaged

** Changed in: apt (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939665

Title:
  "apt-get update" fails if another instance is running

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1939665/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to