[Bug 2028879] Re: Lack of default dpkg diverts causes test_get_file_package_diversion to fail

Launchpad Bug Tracker 2028879 at bugs.launchpad.net
Fri Jul 28 23:18:11 UTC 2023


This bug was fixed in the package apport - 2.27.0-0ubuntu2

---------------
apport (2.27.0-0ubuntu2) mantic; urgency=medium

  * Run only pylint --errors-only and mypy from tests/run-linters (LP: #2028881)
  * Depend on dictionaries-common for having a dpkg diversion test package
    (LP: #2028879)

 -- Benjamin Drung <bdrung at ubuntu.com>  Fri, 28 Jul 2023 18:59:34 +0200

** Changed in: apport (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  Lack of default dpkg diverts causes test_get_file_package_diversion to
  fail

Status in Apport:
  Fix Committed
Status in apport package in Ubuntu:
  Fix Released

Bug description:
  tests/integration/test_packaging_apt_dpkg.py::test_get_file_package_diversion
  fails if it doesn't detect any dpkg diversions. Apparently something
  (possibly dash?) stopped diverting something, so now there are no
  diversions in the autopkgtest environment and therefore this test
  fails.

  One option is to add something that does divert something, eg. vim, to
  the test dependencies. This fixes the issue for now, but isn't really
  a permanent solution.

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




More information about the foundations-bugs mailing list