[Bug 1795387] Re: [FFe] Stop trying apt_pkg.pkgsystem_(un)lock()

Launchpad Bug Tracker 1795387 at bugs.launchpad.net
Wed Oct 3 09:44:59 UTC 2018


This bug was fixed in the package update-manager - 1:18.10.9

---------------
update-manager (1:18.10.9) cosmic; urgency=medium

  * Allow unselecting updates and performing only removals (LP: #1792320)
  * Stop trying apt_pkg.pkgsystem_(un)lock(), as a normal user it always fails
    (LP: #1795387)
  * Keep or delete packages after looping over all of them.
    This prevents the resolver from changing the packages in the loop resulting
    in not keeping some phased packages back from being upgraded. (LP: #1072136)
  * Fix PEP 8 warnings (LP: #1795384)
    Also ignore "W503 line break before binary operator" because it will
    become the best practice

 -- Balint Reczey <rbalint at ubuntu.com>  Mon, 01 Oct 2018 18:00:40 +0200

** Changed in: update-manager (Ubuntu)
       Status: New => Fix Released

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

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

Status in update-manager package in Ubuntu:
  Fix Released

Bug description:
  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.

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



More information about the foundations-bugs mailing list