Public bug reported:

Lock() can succeed when update-manager is ran as root (not recommended
and not done by default) potentially taking the lock blocking other dpkg
frontends.

Update-manager is typically ran as a normal user thus lock operations
fail and are ignored already.

Dropping the locking operations makes the code less confusing and more
predictable.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Stop trying apt_pkg.pkgsystem_(un)lock()
+ [FFe] Stop trying apt_pkg.pkgsystem_(un)lock()

** Description changed:

  Lock() can succeed when update-manager is ran as root (not recommended
  and not done by default) potentially taking the lock blocking other dpkg
  frontends.
  
  Update-manager is typically ran as a normal user thus lock operations
  fail and are ignored already.
+ 
+ Dropping the locking operations makes the code less confusing and more
+ predictable.

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

Title:
  [FFe] Stop trying apt_pkg.pkgsystem_(un)lock()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1795387/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to