Done for xenial: [ 9:26AM 17170 ] [ bdmurray@impulse:~ ] $ sudo apt-get install dkms Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic linux-image-4.4.0-34-generic linux-image-extra-4.4.0-34-generic linux-tools-4.4.0-34 linux-tools-4.4.0-34-generic python3-requests-oauthlib Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: dkms 1 upgraded, 0 newly installed, 0 to remove and 190 not upgraded. Need to get 66.1 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 dkms all 2.2.0.3-2ubuntu11.3 [66.1 kB] Fetched 66.1 kB in 0s (104 kB/s) Sorry, your system lacks support for the snapshot feature Reading changelogs... Done (Reading database ... 918737 files and directories currently installed.) Preparing to unpack .../dkms_2.2.0.3-2ubuntu11.3_all.deb ... Unpacking dkms (2.2.0.3-2ubuntu11.3) over (2.2.0.3-2ubuntu11.2) ... Processing triggers for man-db (2.7.5-1) ... Setting up dkms (2.2.0.3-2ubuntu11.3) ... [ 9:26AM 17171 ] [ bdmurray@impulse:~ ] $ python3 /usr/share/apport/package-hooks/dkms_packages.py -m bbswitch -v 0.8 -k 4.6.1-01234-lowlatency ERROR (dkms apport): kernel package linux-headers-4.6.1-01234-lowlatency is not supported
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu. https://bugs.launchpad.net/bugs/1588479 Title: dkms_packages.py supported kernel check is not working Status in dkms package in Ubuntu: Fix Released Status in dkms source package in Trusty: Fix Committed Status in dkms source package in Xenial: Fix Committed Status in dkms source package in Yakkety: Fix Released Bug description: Test Case --------- 1) Look for some dkms package in /usr/src e.g. bbswitch-0.8 2) Run python3 /usr/share/apport/package-hooks/dkms_packages.py -m bbswitch -v 0.8 -k 4.6.1-01234-lowlatency 3) Observe a crash report dialog from apport for bbswitch With the version of apport from -proposed you will instead receive: ERROR (dkms apport): kernel package linux- headers-4.6.1-01234-lowlatency is not supported The apport package hook for dkms packages seems to have an error in its supported kernel check. If the kernel is an unsupported one, the hook should exit with a return code of 1. However, in the Ubuntu Error Tracker we can see some crashes with unsupported kernel versions e.g.: https://errors.ubuntu.com/oops/2733d742-284e-11e6-a745-fa163e839e11 DKMSKernelVersion: 4.6.1-040601-lowlatency https://errors.ubuntu.com/oops/0a1afefc-253c-11e6-9082-fa163e192766 DKMSKernelVersion: 4.6.0-040600-lowlatency If the intent really is to block creation of these reports, then let's do that. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1588479/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp