[Bug 1974223] [NEW] FTBFS since changes in apt for automatic kernel removal

Olivier Gayot 1974223 at bugs.launchpad.net
Thu May 19 18:19:02 UTC 2022


Public bug reported:

Since the following changes in apt have landed in focal-updates and
bionic-updates, unattended-upgrades FTBFS on both series:

  * Revert "Protect currently running kernel at run-time"
  * Backport Determine autoremovable kernels at run-time (LP: #1615381) as of
    2.4.5; including the change to only protect two kernels, not last installed
    one (LP: #1968154)


======================================================================
FAIL: test_remove_unused_dependencies_new_unused_only (__main__.TestRemoveUnused)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_remove_unused.py", line 165, in test_remove_unused_dependencies_new_unused_only
    haystack))
AssertionError: False is not true : Can not find 'Removing unused kernel packages: linux-image-4.05.0-1021-kvm

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
     Assignee: Olivier Gayot (ogayot)
         Status: New

** Affects: unattended-upgrades (Debian)
     Importance: Unknown
         Status: Unknown

** Changed in: unattended-upgrades (Ubuntu)
     Assignee: (unassigned) => Olivier Gayot (ogayot)

** Bug watch added: Debian Bug tracker #980638
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980638

** Also affects: unattended-upgrades (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980638
   Importance: Unknown
       Status: Unknown

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

Title:
  FTBFS since changes in apt for automatic kernel removal

Status in unattended-upgrades package in Ubuntu:
  New
Status in unattended-upgrades package in Debian:
  Unknown

Bug description:
  Since the following changes in apt have landed in focal-updates and
  bionic-updates, unattended-upgrades FTBFS on both series:

    * Revert "Protect currently running kernel at run-time"
    * Backport Determine autoremovable kernels at run-time (LP: #1615381) as of
      2.4.5; including the change to only protect two kernels, not last installed
      one (LP: #1968154)

  
  ======================================================================
  FAIL: test_remove_unused_dependencies_new_unused_only (__main__.TestRemoveUnused)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test_remove_unused.py", line 165, in test_remove_unused_dependencies_new_unused_only
      haystack))
  AssertionError: False is not true : Can not find 'Removing unused kernel packages: linux-image-4.05.0-1021-kvm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1974223/+subscriptions




More information about the foundations-bugs mailing list