[Bug 1968154] Re: Only keep 2 kernels

2022-05-20 Thread David Röthlisberger
Raised #1974456. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968154 Title: Only keep 2 kernels To manage notifications about this bug go to:

[Bug 1968154] Re: Only keep 2 kernels

2022-05-20 Thread Julian Andres Klode
Please create a new bug for that regression, thanks for noticing! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968154 Title: Only keep 2 kernels To manage notifications about this bug go to:

[Bug 1968154] Re: Only keep 2 kernels

2022-05-20 Thread David Röthlisberger
This is causing me trouble building a focal (20.04) userspace from scratch: $ dpkg --configure -a [...] Setting up apt (2.0.8) ... /var/lib/dpkg/info/apt.postinst: 65: /etc/kernel/postinst.d/apt-auto-removal: not found dpkg: error processing package apt (--configure):

[Bug 1968154] Re: Only keep 2 kernels

2022-05-17 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 2.0.8 --- apt (2.0.8) focal; urgency=medium * Adjust conffile removal version in postinst and maintscript; followup fix for (LP: #1968154) apt (2.0.7) focal; urgency=medium * Revert "Protect currently running kernel at run-time" *

[Bug 1968154] Re: Only keep 2 kernels

2022-05-17 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 2.3.9ubuntu0.1 --- apt (2.3.9ubuntu0.1) impish; urgency=medium * Only protect two kernels, not last installed one (LP: #1968154) * Point to impish in gitlab-ci and gbp.conf -- Julian Andres Klode Mon, 25 Apr 2022 16:14:41 +0200 **

[Bug 1968154] Re: Only keep 2 kernels

2022-05-14 Thread Jarno Suni
Test passed for apt 2.0.8 ** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968154 Title: Only keep 2 kernels To

[Bug 1968154] Re: Only keep 2 kernels

2022-05-11 Thread Julian Andres Klode
Verified impish 2.3.9ubuntu0.1 Log: 1. (in 1016) started with 5.13.0-1016-kvm; installed 5.13.0-1022-kvm 2. (in 1016) no kernels to autoremove 3. (in 1016) installed linux-image-5.13.0-1011-kvm linux-modules-5.13.0-1011-kvm, and marked auto 4. (in 1016) SUCCESS: autoremove would remove 1011 5.

[Bug 1968154] Re: Only keep 2 kernels

2022-05-11 Thread Julian Andres Klode
** No longer affects: unattended-upgrades (Ubuntu Impish) ** No longer affects: unattended-upgrades (Ubuntu Focal) ** No longer affects: unattended-upgrades (Ubuntu Bionic) ** No longer affects: unattended-upgrades (Ubuntu) ** Description changed: [Impact] APT currently keeps 3 kernels or

[Bug 1968154] Re: Only keep 2 kernels

2022-05-06 Thread Timo Aaltonen
Hello Julian, or anyone else affected, Accepted apt into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apt/2.3.9ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1968154] Re: Only keep 2 kernels

2022-04-25 Thread Julian Andres Klode
@sil2100 Added that to regression potential. It was used to keep the third kernel. There was some misunderstanding how that affects the set calculated. I noticed that 2.0.7 and 2.3.9ubuntu0.1 had the wrong version in maintainer scripts, so I will have to upload a fixed 2.0.8 for the former (it

[Bug 1968154] Re: Only keep 2 kernels

2022-04-25 Thread Łukasz Zemczak
Can you mention a bit more about the APT::LastInstalledKernel logic usage removal in this SRU? What was it used before? Since right now this SRU seems to be dropping its use + only keeping track of 2 kernels, can you help me understand the implications of that (as I didn't know about this logic

[Bug 1968154] Re: Only keep 2 kernels

2022-04-22 Thread Julian Andres Klode
** Also affects: apt (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: unattended-upgrades (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: apt (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: unattended-upgrades

[Bug 1968154] Re: Only keep 2 kernels

2022-04-19 Thread Julian Andres Klode
unattended-upgrades in jammy did not need a change, we'll see if SRUs will need changes, hence keeping the task so we can add them later on without having to reset to launchpad API shenanigans. ** Description changed: [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our

[Bug 1968154] Re: Only keep 2 kernels

2022-04-11 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 2.4.5 --- apt (2.4.5) unstable; urgency=medium * Only protect two kernels, not last installed one (LP: #1968154) * Fix segfault in CacheSetHelperAPTGet::tryVirtualPackage() -- Julian Andres Klode Fri, 08 Apr 2022 12:22:23 +0200 **