[Bug 1912718] Re: update-manager: clicks do not toggle checkboxes for "Remove old kernels"

Julian Andres Klode 1912718 at bugs.launchpad.net
Fri Jan 29 16:09:36 UTC 2021


I installed some old kernels on focal live disc, marked them auto,
started update-manager, and I saw a non-selectable Ubuntu base section
below the autoremovable kernel headline.

Updating update-manager to 1:20.04.10.4 from proposed makes it work
again

** Description changed:

- Before introducing bug https://bugs.launchpad.net/ubuntu/+source/update-
- manager/+bug/1910556 that bug didn't exist -- I can toggle these
- checkboxes and they will checked by default.
+ [Impact]
+ This is a regression from bug 1902025, causing kernels to not be autoremove{d,able} anymore
+ 
+ [Test case]
+ 
+ Have system with old kernels around.
+ 
+ Check that kernels are listed as auto removable in update-manager.
+ 
+ [Where problems could occur]
+ Clean revert of 1902025, so will revert us to the state from before that
+ 
+ [Original bug report]
+ Before introducing bug https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1910556 that bug didn't exist -- I can toggle these checkboxes and they will checked by default.
  
  After fix of https://bugs.launchpad.net/ubuntu/+source/update-
  manager/+bug/1910556 checkboxes for "Remove old kernels" are not checked
  anymore by default and I can't check them. If I run update-manager from
  console, nothing logged.
  
  Screenshot and video when I trying to click on checkboxes attached.
  
  System info:
  $ lsb_release -rd
  Description:	Ubuntu 20.04.1 LTS
  Release:	20.04
  $ LANG=C apt-cache policy update-manager update-manager-core
  update-manager:
-   Installed: 1:20.04.10.3
-   Candidate: 1:20.04.10.3
-   Version table:
-  *** 1:20.04.10.3 500
-         500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
-         500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
-         500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
-         500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main i386 Packages
-         100 /var/lib/dpkg/status
-      1:20.04.9 500
-         500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
-         500 http://ru.archive.ubuntu.com/ubuntu focal/main i386 Packages
+   Installed: 1:20.04.10.3
+   Candidate: 1:20.04.10.3
+   Version table:
+  *** 1:20.04.10.3 500
+         500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
+         500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
+         500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
+         500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main i386 Packages
+         100 /var/lib/dpkg/status
+      1:20.04.9 500
+         500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
+         500 http://ru.archive.ubuntu.com/ubuntu focal/main i386 Packages
  update-manager-core:
-   Installed: 1:20.04.10.3
-   Candidate: 1:20.04.10.3
-   Version table:
-  *** 1:20.04.10.3 500
-         500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
-         500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
-         500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
-         500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main i386 Packages
-         100 /var/lib/dpkg/status
-      1:20.04.9 500
-         500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
-         500 http://ru.archive.ubuntu.com/ubuntu focal/main i386 Packages
+   Installed: 1:20.04.10.3
+   Candidate: 1:20.04.10.3
+   Version table:
+  *** 1:20.04.10.3 500
+         500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
+         500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
+         500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
+         500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main i386 Packages
+         100 /var/lib/dpkg/status
+      1:20.04.9 500
+         500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
+         500 http://ru.archive.ubuntu.com/ubuntu focal/main i386 Packages
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: update-manager 1:20.04.10.3
  ProcVersionSignature: Ubuntu 5.4.0-59.65-generic 5.4.78
  Uname: Linux 5.4.0-59-generic x86_64
  NonfreeKernelModules: qnx4 hfsplus hfs minix ntfs jfs intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core i915 mei_hdcp rapl intel_cstate mei_me eeepc_wmi mei asus_wmi sparse_keymap wmi_bmof mac_hid r8169 lpc_ich realtek i2c_i801 wmi
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: GNOME
  Date: Fri Jan 22 09:21:11 2021
  InstallationDate: Installed on 2020-11-24 (58 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=ru_RU.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=ru_RU.UTF-8
+  SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to focal on 2020-11-25 (57 days ago)

** Attachment added: "Screenshot post-upgrade"
   https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1912718/+attachment/5458079/+files/Screenshot%20from%202021-01-29%2017-07-49.png

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
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/1912718

Title:
  update-manager: clicks do not toggle checkboxes for "Remove old
  kernels"

Status in update-manager package in Ubuntu:
  Fix Committed
Status in update-manager source package in Focal:
  Fix Committed
Status in update-manager source package in Groovy:
  Fix Committed
Status in update-manager source package in Hirsute:
  Fix Committed

Bug description:
  [Impact]
  This is a regression from bug 1902025, causing kernels to not be autoremove{d,able} anymore

  [Test case]

  Have system with old kernels around.

  Check that kernels are listed as auto removable in update-manager.

  [Where problems could occur]
  Clean revert of 1902025, so will revert us to the state from before that

  [Original bug report]
  Before introducing bug https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1910556 that bug didn't exist -- I can toggle these checkboxes and they will checked by default.

  After fix of https://bugs.launchpad.net/ubuntu/+source/update-
  manager/+bug/1910556 checkboxes for "Remove old kernels" are not
  checked anymore by default and I can't check them. If I run update-
  manager from console, nothing logged.

  Screenshot and video when I trying to click on checkboxes attached.

  System info:
  $ lsb_release -rd
  Description:	Ubuntu 20.04.1 LTS
  Release:	20.04
  $ LANG=C apt-cache policy update-manager update-manager-core
  update-manager:
    Installed: 1:20.04.10.3
    Candidate: 1:20.04.10.3
    Version table:
   *** 1:20.04.10.3 500
          500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
          500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
          500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
          500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main i386 Packages
          100 /var/lib/dpkg/status
       1:20.04.9 500
          500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
          500 http://ru.archive.ubuntu.com/ubuntu focal/main i386 Packages
  update-manager-core:
    Installed: 1:20.04.10.3
    Candidate: 1:20.04.10.3
    Version table:
   *** 1:20.04.10.3 500
          500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
          500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
          500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
          500 http://ru.archive.ubuntu.com/ubuntu focal-proposed/main i386 Packages
          100 /var/lib/dpkg/status
       1:20.04.9 500
          500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
          500 http://ru.archive.ubuntu.com/ubuntu focal/main i386 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: update-manager 1:20.04.10.3
  ProcVersionSignature: Ubuntu 5.4.0-59.65-generic 5.4.78
  Uname: Linux 5.4.0-59-generic x86_64
  NonfreeKernelModules: qnx4 hfsplus hfs minix ntfs jfs intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core i915 mei_hdcp rapl intel_cstate mei_me eeepc_wmi mei asus_wmi sparse_keymap wmi_bmof mac_hid r8169 lpc_ich realtek i2c_i801 wmi
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: GNOME
  Date: Fri Jan 22 09:21:11 2021
  InstallationDate: Installed on 2020-11-24 (58 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to focal on 2020-11-25 (57 days ago)

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



More information about the foundations-bugs mailing list