Error with DKMS building packages and line 22 in /usr/share/apport/package-hooks/dkms_packages.py

Bug #1114391 reported by Shahar Or
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Dear friends,

Also see a new report from the system after upgrading to saucy in bug #1177565 .

Selecting previously unselected package dkms.
(Reading database ... 217014 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1.1ubuntu2_all.deb) ...
Selecting previously unselected package ndiswrapper-dkms.
Unpacking ndiswrapper-dkms (from .../ndiswrapper-dkms_1.58~rc1-0ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up dkms (2.2.0.3-1.1ubuntu2) ...
Setting up ndiswrapper-dkms (1.58~rc1-0ubuntu1) ...
Loading new ndiswrapper-1.58~rc1 DKMS files...
First Installation: checking all kernels...
Building only for 3.8.0-2-generic
Building initial module for 3.8.0-2-generic
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module>
    import apport
ImportError: No module named apport
Error! Bad return status for module build on kernel: 3.8.0-2-generic (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.58~rc1/build/make.log for more information.
Press Return to continue.

Thanks,
Shahar

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: apport 2.8-0ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-2.6-generic 3.8.0-rc4
Uname: Linux 3.8.0-2-generic x86_64
ApportLog:

ApportVersion: 2.8-0ubuntu3
Architecture: amd64
Date: Sun Feb 3 17:27:34 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2010-10-12 (845 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to raring on 2012-11-07 (87 days ago)

Revision history for this message
Shahar Or (mightyiam) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apport (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergey And (andsermail) wrote :

Confirm this. Error appears when installing RT3090 driver from https://launchpad.net/~bobby-prani/+archive/rt3090:
.....
Adding Module to DKMS build system
Doing initial module build
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module>
    import apport
ImportError: No module named apport
Error! Bad return status for module build on kernel: 3.8.0-19-generic (i686)
Consult /var/lib/dkms/rt3090/2.4.0.4/build/make.log for more information.
Installing initial module
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module>
    import apport
ImportError: No module named apport
Error! Bad return status for module build on kernel: 3.8.0-19-generic (i686)
Consult /var/lib/dkms/rt3090/2.4.0.4/build/make.log for more information.
Done.

Shahar Or (mightyiam)
description: updated
Revision history for this message
Ivan Toshkov (itoshkov) wrote :

It looks like the workaround is to manually install python-apport.

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.