dkms apport script fails

Bug #798498 reported by Michal Suchanek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dkms

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.ERROR, both -m and -v are required
ERROR: hook /usr/share/apport/package-hooks//dkms.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 630, in add_hooks_info
    execfile(hook, symb)
  File "/usr/share/apport/package-hooks//dkms.py", line 36, in <module>
    sys.exit(2)
SystemExit: 2

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: dkms 2.1.1.2-5ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Fri Jun 17 03:32:39 2011
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dkms
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Michal Suchanek (hramrach) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote :

The problem with this bug is that DKMS's apport hook is being used for the package as well as DKMS packages.

This fixes it.

commit 9e49f559c24e8eafff7a5fe63db0a28deae2cd63
Author: Mario Limonciello <email address hidden>
Date: Tue Jul 12 19:35:55 2011 -0500

    For apport hook, don't let the hook also trigger on the DKMS package itself

Changed in dkms (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.2.0.1-0ubuntu1

---------------
dkms (2.2.0.1-0ubuntu1) oneiric; urgency=low

  * New upstream version. Bugs fixed in Ubuntu:
  * Apport hook:
    - Only generate reports about supported kernel version (LP: #766150)
    - Include fglrx make file (LP: #792444)
    - Crashes in get_source() (LP: #532496)
    - Apport script fails (LP: #798498)
  * Openafs modules leaving empty make.log (LP: #593509)
  * '_' in module name causes mkdeb to fail (LP: #511619)
  * PRE_BUILD command invoked from wrong directory. (LP: #702638)
  * Speed up for large amounts of modules (LP: #786672)
  * Leaves temp files in /tmp (LP: #810134)
  * Generate .changes file for LP: upload (LP: #582668)
  * Don't change access rights of upstream source (LP: #582670)
  * common.postinst fails on failed build (LP: #595968)
  * Using a hyphen as part of PACKAGE_VERSION causes failures (LP: #599983)
  * dkms shouldn't source all the variables in dkms.conf (LP: #599985)
 -- Mario Limonciello <email address hidden> Thu, 14 Jul 2011 13:18:56 -0500

Changed in dkms (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.