Public bug reported: dkms 2.2.0.2-1ubuntu2 introduced a regression which causes apport to report bugs about unsupported kernel versions. For example bug #939928 is about kernel 3.3.0-rc4-ux31.
- if not apport.packaging.is_distro_package(kernel_package): - print >> sys.stderr, 'ERROR (dkms apport): kernel package %s is not supported' % (kernel_package,) - sys.exit(1) + try: + apport.packaging.is_distro_package(kernel_package) + except ValueError, e: + if e == 'package does not exist': + print >> sys.stderr, 'ERROR (dkms apport): kernel package %s is not supported' % (kernel_package) + sys.exit(1) The result of is_distro_package() isn't checked at all. ** Affects: dkms (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/940285 Title: dkms_apport.py reports bugs for unsupported kernel versions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/940285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs