Got it. Hello global state!

The problem is that dpkg is a prerequisite of xz-utils, but _also_
requires liblzma. As a result, when priming them one after the other, we
cache the lookup result for dpkg, and re-use it when priming xz-utils:

https://github.com/snapcore/snapcraft/blob/master/snapcraft/internal/elf.py#L118

When running them one after the other, the cache is cleared, and the
libs are properly found.

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

Title:
  Regressions in 2.39.2 in xenial-updates in classic snaps (relative to
  2.35)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1752481/+subscriptions

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

Reply via email to